18 params.
addClassDescription(
"Test-only Saint-Venant-Kirchhoff PK2 stress with analytic dPK2/dF, " 19 "used to exercise ComputeLagrangianStressCustomPK2 with the Jacobian " 23 params.
addParam<MaterialPropertyName>(
24 "pk2_name",
"test_pk2",
"Name to publish the PK2 stress as.");
25 params.
addParam<MaterialPropertyName>(
26 "dpk2_dF_name",
"test_dpk2_dF",
"Name to publish dPK2/dF as.");
27 params.
addParam<MaterialPropertyName>(
28 "deformation_gradient",
29 "deformation_gradient",
30 "Strain-calc's deformation gradient (F-bar-stabilized when F-bar is on).");
36 _lambda(getParam<
Real>(
"lambda")),
37 _mu(getParam<
Real>(
"mu")),
38 _F(getMaterialProperty<
RankTwoTensor>(
"deformation_gradient")),
39 _pk2(declareProperty<
RankTwoTensor>(getParam<MaterialPropertyName>(
"pk2_name"))),
40 _dpk2_dF(declareProperty<
RankFourTensor>(getParam<MaterialPropertyName>(
"dpk2_dF_name")))
58 for (
unsigned int i = 0; i < 3; ++i)
59 for (
unsigned int j = 0;
j < 3; ++
j)
60 for (
unsigned int p = 0;
p < 3; ++
p)
61 for (
unsigned int q = 0; q < 3; ++q)
void computeQpProperties() override
static RankTwoTensorTempl Identity()
static const std::string F
const MaterialProperty< RankTwoTensor > & _F
Strain-calc-published F (= F-bar-stabilized when F-bar is on; equal to F_ust otherwise).
MaterialProperty< RankFourTensor > & _dpk2_dF
static InputParameters validParams()
MaterialProperty< RankTwoTensor > & _pk2
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static const std::complex< double > j(0, 1)
Complex number "j" (also known as "i")
StVenantKirchhoffPK2Test(const InputParameters ¶meters)
Publishes an isotropic Saint-Venant-Kirchhoff PK2 stress and dPK2/dF analytically.
registerMooseObject("SolidMechanicsTestApp", StVenantKirchhoffPK2Test)
static InputParameters validParams()