20 "Use a large displacement stress update.",
21 "large_kinematics is no longer set on the stress calculator; it is derived from the "
22 "ComputeLagrangianStrain calculator (the single source of truth) via the LARGE_KINEMATICS "
23 "guarantee. Remove it here and set it only on the strain calculator.");
25 params.
addParam<std::string>(
"base_name",
"Material property base name");
35 _large_kinematics(false),
36 _base_name(isParamValid(
"base_name") ? getParam<
std::string>(
"base_name") +
"_" :
""),
37 _cauchy_stress(declareProperty<
RankTwoTensor>(_base_name +
"cauchy_stress")),
38 _cauchy_jacobian(declareProperty<
RankFourTensor>(_base_name +
"cauchy_jacobian")),
39 _pk1_stress(declareProperty<
RankTwoTensor>(_base_name +
"pk1_stress")),
40 _pk1_jacobian(declareProperty<
RankFourTensor>(_base_name +
"pk1_jacobian")),
41 _pk1_jacobian_bypass_fbar(
42 declareProperty<
RankFourTensor>(_base_name +
"pk1_jacobian_bypass_fbar")),
43 _dpk1_d_grad_u(declareProperty<
RankFourTensor>(_base_name +
"dpk1_d_grad_u")),
45 _base_name +
"d_deformation_gradient_d_grad_displacement")),
46 _inverse_unstabilized_deformation_gradient(getMaterialPropertyByName<
RankTwoTensor>(
47 _base_name +
"inverse_unstabilized_deformation_gradient")),
48 _det_unstabilized_deformation_gradient(
49 getMaterialPropertyByName<Real>(_base_name +
"det_unstabilized_deformation_gradient")),
50 _d_deformation_gradient_increment_d_F(getMaterialPropertyByName<
RankFourTensor>(
51 _base_name +
"d_spatial_deformation_gradient_increment_d_deformation_gradient")),
53 getMaterialPropertyByName<
RankFourTensor>(_base_name +
"d_F_stab_d_F_unstabilized")),
55 getMaterialPropertyByName<
RankFourTensor>(_base_name +
"d_F_stab_d_F_average")),
56 _d_nl_fbar(declareProperty<
RankFourTensor>(_base_name +
"d_nl_fbar_operator"))
75 "large_kinematics disagrees with the ComputeLagrangianStrain calculator (which "
78 " kinematics). large_kinematics is deprecated here; set it only on the strain "
108 usingTensorIndices(i_, j_, k_, l_);
MaterialProperty< RankFourTensor > & _pk1_jacobian_bypass_fbar
Variant of _pk1_jacobian computed WITHOUT the F-bar chain factor _d_F_stab_d_F_ust in the sigma-via-d...
MaterialProperty< RankFourTensor > & _pk1_jacobian
The derivative of the 1st PK stress wrt the deformation gradient (F that the stress material consumes...
virtual void computeQpStressUpdate()=0
Provide for the actual stress updates.
const MaterialProperty< RankFourTensor > & _d_deformation_gradient_increment_d_F
d(spatial velocity gradient increment)/d(F_stab).
const MaterialProperty< RankTwoTensor > & _inverse_unstabilized_deformation_gradient
Inverse and determinant of the unstabilized deformation gradient (= F_actual at alpha = 1),...
MaterialProperty< RankFourTensor > & _dpk1_d_grad_u
The derivative of the 1st PK stress wrt the displacement gradient (grad u_{n+1}).
const MaterialProperty< Real > & _det_unstabilized_deformation_gradient
static InputParameters validParams()
MaterialProperty< RankFourTensor > & _d_nl_fbar
Non-local F-bar operator D_nl = cauchy_jacobian : d(dL)/dF : d(F_stab)/d(F_avg), published so the Lag...
void pullBackCauchyStress()
Pull the Cauchy stress back to the 1st PK stress with the unstabilized deformation gradient,...
MaterialProperty< RankTwoTensor > & _pk1_stress
The 1st Piola-Kirchhoff stress.
virtual void initialSetup() override
Derive _large_kinematics from the strain calculator's LARGE_KINEMATICS guarantee.
const std::string _base_name
Prepend to the material properties.
virtual void initQpStatefulProperties() override
Initialize everything with zeros.
void pullBackCauchyJacobian(const RankFourTensor dsigma_dF_stab)
Set pk1_jacobian and pk1_jacobian_bypass_fbar of P = det(F_ust) sigma F_ust^{-T} from dsigma/d(F_stab...
MaterialProperty< RankFourTensor > & _cauchy_jacobian
The derivative of the Cauchy stress wrt the increment in the spatial velocity gradient.
const MaterialProperty< RankFourTensor > & _d_F_stab_d_F_avg
d(F_stab)/d(F_avg), the non-local F-bar partial. Read to compose _d_nl_fbar.
MaterialProperty< RankTwoTensor > & _cauchy_stress
The Cauchy stress.
virtual void computeQpProperties() override
Update all properties (here just the stress/derivatives)
ComputeLagrangianStressBase(const InputParameters ¶meters)
bool _large_kinematics
If true use large deformations.
const MaterialProperty< RankFourTensor > & _d_F_d_grad_u
d(F)/d(grad u_{n+1}) (= alpha * IdentityFour for the generalized midpoint rule)
const MaterialProperty< RankFourTensor > & _d_F_stab_d_F_ust
d(F_stab)/d(F_ust).
Add-on class that provides the functionality to check if guarantees for material properties are provi...
bool hasGuaranteedMaterialProperty(const MaterialPropertyName &prop, Guarantee guarantee)
bool isPropertyActive(const unsigned int prop_id) const
FEProblemBase & _fe_problem
static InputParameters validParams()
void paramError(const std::string ¶m, Args... args) const
bool isParamSetByUser(const std::string &name) const
RankFourTensorTempl< T > singleProductJ(const RankTwoTensorTempl< T > &) const
RankTwoTensorTempl< T > transpose() const
virtual void initialSetup()
const bool & currentlyComputingJacobian() const
const bool & currentlyComputingResidualAndJacobian() const