insert#

CombinedFailureCriterion.insert(fc)#

Add a failure criterion to a list of selected criteria.

Parameters:

fc (FailureCriterionBase) – Failure criterion to add. If a failure criterion of the same type already exists, it is overwritten.

Examples

>>> combined_failure = CombinedFailureCriterion("max_stress 3D")
>>> max_stress = MaxStressCriterion(s1=True, s2=True, s3=True,
                                    s12=True, s13=True, s23=True)
>>> combined_failure.insert(max_stress)
Return type:

None