19 params.
addClassDescription(
"Computes an eigenstrain that is defined by a set of scalar material " 20 "properties that summed together define the volumetric change.");
22 "volumetric_materials",
"List of scalar material properties defining the volumetric change");
28 _volumetric_materials(
29 getParam<
std::vector<MaterialPropertyName>>(
"volumetric_materials").size())
31 const auto volumetric_material_names =
32 getParam<std::vector<MaterialPropertyName>>(
"volumetric_materials");
33 for (
unsigned int i = 0; i < volumetric_material_names.size(); ++i)
40 ADReal volumetric_strain = 0.0;
static InputParameters validParams()
std::vector< const ADMaterialProperty< Real > * > _volumetric_materials
The material properties that define volumetric change.
virtual void computeQpEigenstrain()
Compute the eigenstrain and store in _eigenstrain.
static InputParameters validParams()
GenericReal< is_ad > computeVolumetricStrainComponent(const GenericReal< is_ad > &volumetric_strain) const
Helper function for models that compute the eigenstrain based on a volumetric strain.
ComputeEigenstrainBase is the base class for eigenstrain tensors.
ADComputeVolumetricEigenstrain computes an eigenstrain that is defined by a set of scalar material pr...
GenericMaterialProperty< RankTwoTensor, is_ad > & _eigenstrain
Stores the current total eigenstrain.
ADComputeVolumetricEigenstrain(const InputParameters ¶meters)
registerMooseObject("SolidMechanicsApp", ADComputeVolumetricEigenstrain)