#include "b2failure_criterion.H"
|
enum | |
| Whether the criterion is based on stress or strain.
|
|
Base class for evaluating failure criteria for elastic materials. Classes implementing a failure criterion need to overload the init() and get_type() functions, and either the process_stress() or the process_strain() function.
◆ process_strain()
virtual double b2000::b2dbv3::FailureCriterion::process_strain |
( |
const double |
strain_mat[6], |
|
|
const bool |
engineering, |
|
|
b2000::GradientContainer * |
gradient_container |
|
) |
| const |
|
inlinevirtual |
Evaluate the (strain) criterion and store the results in the GradientContainer.
- Parameters
-
strain_mat | Strain tensor in the material reference frame, with the components in the order [11, 22, 33, 12, 23, 13]. |
engineering | Indicates whether the shear components are engineering strains (as on the database) or energy-equivalent strains (as used within the element formulations). In the latter case, the shear components will be divided by two when calculating the criterion. |
- Returns
- The failure index. A value >= 1 means failure.
◆ process_stress()
virtual double b2000::b2dbv3::FailureCriterion::process_stress |
( |
const double |
stress_mat[6], |
|
|
b2000::GradientContainer * |
gradient_container |
|
) |
| const |
|
inlinevirtual |
Evaluate the (stress) criterion and store the results in the GradientContainer.
- Parameters
-
stress_mat | Stress tensor in the material reference frame, with the components in the order [11, 22, 33, 12, 23, 13]. |
- Returns
- The failure index. A value >= 1 means failure.
◆ fi_descr
Initial value:= {
"FAILURE_INDEX",
"fi",
"The failure index as calculated by the failure criteria",
3,
1,
-1,
-1,
false,
typeid(double)}
For storage in the FAILURE_INDEX field (should be used by implementations of FailureCriterion in addition to any specific gradient fields).
The documentation for this class was generated from the following files: