''' ----------------------------------------------------------------------------- Two dimensional model of a single edged notch specimen with crack along interface between two dissimilar elastic materials modeled using plane stress elements (CPS8). Submit the job: 2DDissimilarMaterialsCPE8 ----------------------------------------------------------------------------- ''' from abaqus import * from abaqusConstants import * import part, material, section, assembly, step, interaction import regionToolset, displayGroupMdbToolset as dgm, mesh, load, job #---------------------------------------------------------------------------- # Open the CAE model and create a viewport for viewing it. Mdb() modelName = '2DDissimilarMaterialsCPE8' openMdb(modelName) myModel = mdb.models[modelName] myAssembly = myModel.rootAssembly myViewport = session.Viewport(name=modelName) myViewport.makeCurrent() myViewport.maximize() myViewport.setValues(displayedObject=myAssembly) #--------------------------------------------------------------------------- # Submit the job for analysis mdb.jobs[modelName].submit() mdb.jobs[modelName].waitForCompletion() #---------------------------------------------------------------------------