https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ComputeLagrangianStressCauchy.C
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
3//*
4//* All rights reserved, see COPYRIGHT for full restrictions
5//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6//*
7//* Licensed under LGPL 2.1, please see LICENSE for details
8//* https://www.gnu.org/licenses/lgpl-2.1.html
9
11
14{
16
17 params.addClassDescription("Stress update based on the Cauchy stress");
18
19 return params;
20}
21
23 : ComputeLagrangianStressBase(parameters),
24 _inv_df(getMaterialPropertyByName<RankTwoTensor>(_base_name +
25 "inverse_incremental_deformation_gradient")),
26 _inv_def_grad(
27 getMaterialPropertyByName<RankTwoTensor>(_base_name + "inverse_deformation_gradient")),
28 _stabilized_deformation_gradient(
29 getMaterialPropertyByName<RankTwoTensor>(_base_name + "deformation_gradient"))
30{
31}
32
33void
39
40void
42{
43 // Wrap sigma -> PK1 using the *unstabilized* F (= F_actual at alpha = 1). F-bar enters
44 // only through sigma via the strain calc's F-bar'd `_f_inv`, NOT through this kinematic
45 // wrap -- this matches OLD's `StressDivergenceTensors`-on-displaced-mesh residual,
46 // which integrates `gradTest_spatial * sigma dV` on the actual deformed mesh (so the
47 // implicit "wrap F" is F_actual, NOT the F-bar'd F).
49
50 // The R4 algebra for `_pk1_jacobian` and `_pk1_jacobian_bypass_fbar` is Jacobian-only;
51 // the wrap to `_pk1_stress` is not. Gate accordingly.
55}
Provide stresses in the form required for the Lagrangian kernels.
const MaterialProperty< RankFourTensor > & _d_deformation_gradient_increment_d_F
d(spatial velocity gradient increment)/d(F_stab).
void pullBackCauchyStress()
Pull the Cauchy stress back to the 1st PK stress with the unstabilized deformation gradient,...
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.
virtual void computeQpPK1Stress()
Wrap the Cauchy stress to get the PK stress.
virtual void computeQpStressUpdate() override
Calculate the stress update to provide both measures (cauchy and pk)
virtual void computeQpCauchyStress()=0
Provide for the actual Cauchy stress update (just cauchy)
ComputeLagrangianStressCauchy(const InputParameters &parameters)
void addClassDescription(const std::string &doc_string)
unsigned int _qp
FEProblemBase & _fe_problem
const bool & currentlyComputingJacobian() const
const bool & currentlyComputingResidualAndJacobian() const