https://mooseframework.inl.gov
ComputeLagrangianWrappedStress.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 
13 
16 {
18 
19  params.addParam<MaterialPropertyName>("input_stress",
20  "stress",
21  "The name of the engineering stress from the "
22  "wrapped material");
23  params.addParam<MaterialPropertyName>("input_jacobian",
24  "Jacobian_mult",
25  "The name of the engineering "
26  "stress/strain Jacobian from the wrapped material");
27 
28  return params;
29 }
30 
33  _input_stress(getMaterialPropertyByName<RankTwoTensor>(
34  _base_name + getParam<MaterialPropertyName>("input_stress"))),
35  _input_jacobian(getMaterialPropertyByName<RankFourTensor>(
36  _base_name + getParam<MaterialPropertyName>("input_jacobian")))
37 {
38 }
39 
40 void
42 {
43  // Well this ends up being trivial...
46 }
const MaterialProperty< RankFourTensor > & _input_jacobian
The input Jacobian.
const MaterialProperty< RankTwoTensor > & _input_stress
The input small stress.
void addParam(const std::string &name, const std::initializer_list< typename T::value_type > &value, const std::string &doc_string)
virtual void computeQpSmallStress() override
Wraps the stress update.
unsigned int _qp
Provide the Cauchy stress via an objective integration of a small stress.
Use MOOSE materials deriving from ComputeStressBase with Lagrangian kernels.
ComputeLagrangianWrappedStress(const InputParameters &parameters)
registerMooseObject("SolidMechanicsApp", ComputeLagrangianWrappedStress)
MaterialProperty< RankFourTensor > & _small_jacobian
The updated small algorithmic tangent.
MaterialProperty< RankTwoTensor > & _small_stress
The updated small stress.