https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ComputeLagrangianCauchyCustomStress.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.addClassDescription("Custom stress update providing the Cauchy stress");
20
21 params.addRequiredParam<MaterialPropertyName>("custom_cauchy_stress",
22 "The name of the Cauchy stress.");
23 params.addRequiredParam<MaterialPropertyName>("custom_cauchy_jacobian",
24 "The name of the Cauchy stress Jacobian.");
25
26 return params;
27}
28
30 const InputParameters & parameters)
32 _custom_stress(getMaterialProperty<RankTwoTensor>("custom_cauchy_stress")),
33 _custom_jacobian(getMaterialProperty<RankFourTensor>("custom_cauchy_jacobian"))
34{
35}
36
37void
registerMooseObject("SolidMechanicsApp", ComputeLagrangianCauchyCustomStress)
Provide the Cauchy stress and jacobian directly.
ComputeLagrangianCauchyCustomStress(const InputParameters &parameters)
const MaterialProperty< RankFourTensor > & _custom_jacobian
virtual void computeQpCauchyStress() override
Implement the copy.
const MaterialProperty< RankTwoTensor > & _custom_stress
MaterialProperty< RankFourTensor > & _cauchy_jacobian
The derivative of the Cauchy stress wrt the increment in the spatial velocity gradient.
MaterialProperty< RankTwoTensor > & _cauchy_stress
The Cauchy stress.
Native interface for providing the Cauchy stress.
void addRequiredParam(const std::string &name, const std::string &doc_string)
void addClassDescription(const std::string &doc_string)
unsigned int _qp