StaticStep
- class compas_fea2.problem.StaticStep[source]
Bases:
GeneralStepStaticStep for use in a static analysis.
- Parameters:
- max_incrementsint
Max number of increments to perform during the case step. (Typically 100 but you might have to increase it in highly non-linear problems. This might increase the analysis time.).
- initial_inc_sizefloat
Sets the the size of the increment for the first iteration. (By default is equal to the total time, meaning that the software decrease the size automatically.)
- min_inc_sizefloat
Minimum increment size before stopping the analysis. (By default is 1e-5, but you can set a smaller size for highly non-linear problems. This might increase the analysis time.)
- timefloat
Total time of the case step. Note that this not actual ‘time’, but rather a proportionality factor. (By default is 1, meaning that the analysis is complete when all the increments sum up to 1)
- nlgeombool
if
Truenonlinear geometry effects are considered.- modifybool
if
Truethe loads applied in a previous step are substituted by the ones defined in the present step, otherwise the loads are added.
- Attributes:
- namestr
Automatically generated id. You can change the name if you want a more human readable input file.
max_incrementsintReturn the maximum number of increments for the step.
initial_inc_sizefloatReturn the initial increment size for the step.
min_inc_sizefloatReturn the minimum increment size for the step.
timefloatReturn the total time for the step.
nlgeomboolReturn whether nonlinear geometry effects are considered in the step.
modifyboolReturn whether the loads are modified in the step.
loadsdictReturn the loads associated with the step.
displacementsdictReturn the displacements associated with the step.
Inherited Methods
Converts the instance to a string.
Add a combination to the Step.
Add a general
compas_fea2.problem.patterns.Patternto the Step.Add a field output to the step. Parameters ---------- field_output :
compas_fea2.problem.fields.FieldTypeThe field output to add. Returns -------compas_fea2.problem.fields.FieldType.Add multiple field outputs to the step. Parameters ---------- field_outputs : list(
compas_fea2.problem.fields.FieldType) The field outputs to add to the step. Returns ------- list(compas_fea2.problem.fields.FieldType).Add a
compas_fea2.problem.GravityLoadload to theStepAdd multiple
compas_fea2.problem.patterns.Patternto the Problem.Add a
compas_fea2.problem.PointLoadsubclass object to theStepalong a prescribed path.Add a temperature field to the Step object.
Add a uniform displacement field to the Step object.
Add a
compas_fea2.problem.fields.NodeLoadFieldwhere all the nodes have the same load.Add a
compas_fea2.problem.field.NodeLoadFieldsubclass object to theStepalong a prescribed path.Make an independent copy of the data object.
Construct an object of this type from a JSON file.
Construct an object of this type from a JSON string.
Compute a hash of the data for comparison during version control using the sha256 algorithm.
Convert an object to its native data representation and save it to a JSON file.
Convert an object to its native data representation and save it to a JSON string.
Validate the data against the object's data schema.