AbaqusScripting package¶
This subpackage allows the user to use inPy directly in abaqus, to use the scripting mode, you need to copy the inPy folder in
$SIMULIA\Abaqus614\6.14-1\tools\SMApy\python2.7\Lib
it should also work with
$SIMULIA\Abaqus614\6.14-1\tools\SMApy\python2.6\Lib)
AbaqusScripting.inPy_Abq_Classes module¶
-
class
AbaqusScripting.inPy_Abq_Classes.ASBeamMesh(Namestr, ElemType, Radius, TypeStr, PosStr, NodeList=[], ElemList=[], Node0=1, Elem0=1)[source]¶ Bases:
inPy.Classes.FEM.BeamMeshThis class is the inPy.AbaqusScripting equivalent of the BeamMesh class in inPy. All the attributes are similar and the methods are herited from the inPy.node class
A new method is introduced to generate a beam directly in abaqus
-
class
AbaqusScripting.inPy_Abq_Classes.ASnode(X, Y, Z, ID)[source]¶ Bases:
inPy.Classes.FEM.nodeThis class is the inPy.AbaqusScripting equivalent of the node class in inPy. All the attributes are similar and the methods are herited from the inPy.node class
A new method is introduced to generate a node directly in abaqus
-
AbaqusScripting.inPy_Abq_Classes.random() → x in the interval [0, 1).¶
AbaqusScripting.inPy_Abq_Functions module¶
-
AbaqusScripting.inPy_Abq_Functions.FrameGen(step, odb)[source]¶ RAM, RAM never changes, The end of the program occurred pretty much as we had predicted. Too many steps, too many nodes, not enough space or resources to go around. The details are trivial and pointless, the reasons, as always, purely computational ones.
Joke’s aside, I needed to implement this to avoid overloading the ram on systems with a low amount of ram or very large projects
-
AbaqusScripting.inPy_Abq_Functions.random() → x in the interval [0, 1).¶
-
AbaqusScripting.inPy_Abq_Functions.toFile(odb, stepName, FieldName, Filename, Ext='txt', Separator=None, Verbose=True)[source]¶ Write the chosen field output in a text file as a tableself. The header will specify the fieldOutput reference (for example “S” for the stress)
[Parameters]
odb–> odb object as defined by the abaqus APIstepName–> String that will be used to call the step in AbaqusFieldName–> String that will be used to ask in the abaqus API for the fieldoutput needed TODO: make that if a list is given, multiple output files will be createdFileName–> string to specify the filename[Optional parameters]
Extdefault to “txt”, used to specify the extension of the created fileVerbosedefault to True, if set to False, Remove the printed lines[Not yet implemented parameters]
Separatordefault to None. will be used in the future to make csv files for example