ADComputeEigenstrainBase is the base class for eigenstrain tensors.
More...
#include <ADComputeEigenstrainBase.h>
template<ComputeStage compute_stage>
class ADComputeEigenstrainBase< compute_stage >
ADComputeEigenstrainBase is the base class for eigenstrain tensors.
Definition at line 21 of file ADComputeEigenstrainBase.h.
◆ ADComputeEigenstrainBase()
template<ComputeStage compute_stage>
Definition at line 38 of file ADComputeEigenstrainBase.C.
40 : ADMaterial<compute_stage>(parameters),
41 _base_name(isParamValid(
"base_name") ? getParam<std::string>(
"base_name") +
"_" :
""),
44 _step_zero(declareRestartableData<bool>(
"step_zero",
true))
◆ ADMaterialProperty()
template<ComputeStage compute_stage>
Stores the current total eigenstrain.
◆ computeQpEigenstrain()
template<ComputeStage compute_stage>
◆ computeQpProperties()
template<ComputeStage compute_stage>
◆ computeVolumetricStrainComponent()
template<ComputeStage compute_stage>
ADReal ADComputeEigenstrainBase< compute_stage >::computeVolumetricStrainComponent |
( |
const ADReal |
volumetric_strain | ) |
const |
|
protected |
Helper function for models that compute the eigenstrain based on a volumetric strain.
This function computes the diagonal components of the eigenstrain tensor as logarithmic strains.
- Parameters
-
volumetric_strain | The current volumetric strain to be applied |
- Returns
- Current strain in one direction due to volumetric strain, expressed as a logarithmic strain
Definition at line 73 of file ADComputeEigenstrainBase.C.
88 return std::log(volumetric_strain + 1.0) / 3.0;
◆ initQpStatefulProperties()
template<ComputeStage compute_stage>
◆ validParams()
template<ComputeStage compute_stage>
Definition at line 18 of file ADComputeEigenstrainBase.C.
21 params.addParam<std::string>(
"base_name",
22 "Optional parameter that allows the user to define "
23 "multiple mechanics material systems on the same "
24 "block, i.e. for multiple phases");
25 params.addRequiredParam<std::string>(
"eigenstrain_name",
26 "Material property name for the eigenstrain tensor computed "
27 "by this model. IMPORTANT: The name of this property must "
28 "also be provided to the strain calculator.");
29 params.addDeprecatedParam<
bool>(
32 "Should the eigenstrain be in incremental form (for incremental models)?",
33 "This parameter no longer has any effect. Simply remove it.");
Referenced by ADComputeEigenstrain< compute_stage >::validParams(), and ADComputeThermalExpansionEigenstrainBase< compute_stage >::validParams().
◆ _base_name
template<ComputeStage compute_stage>
◆ _eigenstrain_name
template<ComputeStage compute_stage>
◆ _step_zero
template<ComputeStage compute_stage>
Restartable data to check for the zeroth and first time steps for thermal calculations.
Definition at line 69 of file ADComputeEigenstrainBase.h.
◆ usingMaterialMembers
template<ComputeStage compute_stage>
The documentation for this class was generated from the following files: