The following is the access description for the Material object: import material mdb.models[name].materials[name] The first line of the access description indicates the module that Abaqus/CAE imported to make this object, and its methods and members, available to your script. The access description also specifies where instances of the
object are located in the data model. In the previous example the second line
indicates how your script can access Material objects from a
particular model. You must qualify a material object, command, or member with
the variable mdb.models[crash].Material[steel] mdb.models[crash].materials[steel].Elastic( table=((30000000.0, 0.3), )) elasticityType = mdb.models[crash].materials[steel].elastic.type Similarly, if you are reading from an output database, the following is the access description for the HistoryRegion object: import odbAccess session.odbs[name].steps[name].historyRegions[name] The first line indicates that
Abaqus/CAE
imported the The session.odbs[name].steps[name].frames[i].fieldOutputs[name] The following statements show how you use the object described by this
sideLoadStep = session.odbs['Forming loads'].steps['Side load'] lastFrame = sideLoadStep.frames[-1] stressData = lastFrame.fieldOutputs['S'] integrationPointData = stressData.getSubset( position=INTEGRATION_POINT) invariantsData = stressData.validInvariants
|