18 params.
addClassDescription(
"Plane stress kernel to provide out-of-plane strain contribution.");
19 params.
addParam<std::string>(
"base_name",
"Material property base name");
23 "The direction of the out-of-plane strain variable");
24 params.
set<
bool>(
"use_displaced_mesh") =
false;
31 _base_name(isParamValid(
"base_name") ? getParam<
std::string>(
"base_name") +
"_" :
""),
32 _stress(getADMaterialProperty<
RankTwoTensor>(_base_name +
"stress")),
33 _direction(getParam<
MooseEnum>(
"out_of_plane_strain_direction"))
ADWeakPlaneStress(const InputParameters ¶meters)
const ADMaterialProperty< RankTwoTensor > & _stress
The stress tensor that provides the out-of-plane stress.
static InputParameters validParams()
const unsigned int _direction
The direction of the out-of-plane strain variable.
registerMooseObject("SolidMechanicsApp", ADWeakPlaneStress)
DualNumber< Real, DNDerivativeType, true > ADReal
ADReal precomputeQpResidual() override
ADWeakPlaneStress is the automatic differentiation version of WeakPlaneStress.
static InputParameters validParams()