Go to the documentation of this file.
20 params.addClassDescription(
21 "Scalar damage model for which the damage is prescribed by another material");
22 params.addRequiredParam<MaterialPropertyName>(
"damage_index",
23 "Name of the material property containing the "
24 "damage index, which goes from 0 (undamaged) to 1 "
32 getMaterialPropertyByName<Real>(getParam<MaterialPropertyName>(
"damage_index")))
41 if (MooseUtils::absoluteFuzzyLessThan(
_damage_index[_qp], 0.0) ||
42 MooseUtils::absoluteFuzzyGreaterThan(
_damage_index[_qp], 1.0))
44 "must be between 0 and 1. Current value is: ",
static InputParameters validParams()
Base class for scalar damage models.
const MaterialProperty< Real > & _damage_property
Material property that provides the damage index.
const std::string _base_name
Base name optionally used as prefix to material tensor names.
defineLegacyParams(ScalarMaterialDamage)
ScalarMaterialDamage(const InputParameters ¶meters)
static InputParameters validParams()
virtual void updateQpDamageIndex() override
Update the damage index at the current qpoint.
MaterialProperty< Real > & _damage_index
Material property that provides the damage index.
registerMooseObject("TensorMechanicsApp", ScalarMaterialDamage)
Scalar damage model for which the damage is prescribed by another material.