grains.abaqus.Procedure¶
-
class
grains.abaqus.
Procedure
(from_Abaqus=False)[source]¶ Handling analysis steps during the simulation.
TODO: only document public attributes!
-
steps
¶ analysis steps, each step collecting the necessary information. Intended for internal representation. To view them, use the
show()
method, to write them to an input file, use thewrite()
method.- Type
-
__init__
(from_Abaqus=False)[source]¶ - Parameters
from_Abaqus (bool, optional) – True if the input file was generated by Abaqus. The default is False. Abaqus generates input files with a consistent format. This allows certain optimizations: the input file may not need to be completely traversed to extract the materials. Third-party programs sometimes generate .inp files, which are valid but do not follow the Abaqus pattern. In this case, it cannot be predicted where the material definition ends in the file – the whole file needs to be traversed.
- Returns
None.
Methods
__init__
([from_Abaqus])- Parameters
from_Abaqus (bool, optional) – True if the input file was generated by Abaqus. The default is False.
add_analysis
(step[, time_period, …])Adds an analysis type to a given step.
add_boundary_condition
(name, step, nodes, …)Adds boundary condition to a given step.
create_step
(name[, nlgeom, max_increments])Defines a new step.
read
(inp_file)Reads procedure data from an Abaqus .inp file.
show
()Shows the text for the step module, as it appears in the Abaqus .inp file.
write
([output_file])Writes step definition data to an Abaqus .inp file.
-