CombinedFailureCriterion#

class ansys.dpf.composites.failure_criteria.CombinedFailureCriterion(name='CombinedFailureCriterion', failure_criteria=())#

Defines the combined failure criterion.

This class can be used in combination with the failure evaluator operator in DPF Composites.

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)

Methods

CombinedFailureCriterion.insert(fc)

Add a failure criterion to a list of selected criteria.

CombinedFailureCriterion.remove(key)

Remove a failure criterion.

CombinedFailureCriterion.to_dict()

Return the combined failure criterion as a dictionary.

CombinedFailureCriterion.to_json()

Return the combined failure criterion as a JSON dictionary.

Attributes