https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ComputeDeformGradBasedStress.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 params.addClassDescription("Computes stress based on Lagrangian strain");
19 params.addRequiredParam<MaterialPropertyName>("deform_grad_name",
20 "Name of deformation gradient variable");
21 params.addRequiredParam<MaterialPropertyName>("elasticity_tensor_name",
22 "Name of elasticity tensor variable");
23 params.addRequiredParam<MaterialPropertyName>("stress_name", "Name of stress variable");
24 params.addRequiredParam<MaterialPropertyName>("jacobian_name", "Name of Jacobian variable");
25 return params;
26}
27
30 _deformation_gradient(getMaterialProperty<RankTwoTensor>("deform_grad_name")),
31 _elasticity_tensor(getMaterialProperty<RankFourTensor>("elasticity_tensor_name")),
32 _stress(declareProperty<RankTwoTensor>(getParam<MaterialPropertyName>("stress_name"))),
33 _Jacobian_mult(declareProperty<RankFourTensor>(getParam<MaterialPropertyName>("jacobian_name")))
34{
35}
36
37void
42
43void
48
49void
registerMooseObject("SolidMechanicsApp", ComputeDeformGradBasedStress)
ComputeDeformGradBasedStress computes stress based on lagrangian strain definition.
MaterialProperty< RankTwoTensor > & _stress
The stress tensor to be calculated.
MaterialProperty< RankFourTensor > & _Jacobian_mult
const MaterialProperty< RankFourTensor > & _elasticity_tensor
const MaterialProperty< RankTwoTensor > & _deformation_gradient
ComputeDeformGradBasedStress(const InputParameters &parameters)
void addRequiredParam(const std::string &name, const std::string &doc_string)
void addClassDescription(const std::string &doc_string)
static InputParameters validParams()
RankTwoTensorTempl< T > transpose() const