www.mooseframework.org
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
VolumeDeformGradCorrectedStress Class Reference

VolumeDeformGradCorrectedStress transforms the Cauchy stress calculated in the previous configuration to its configuration. More...

#include <VolumeDeformGradCorrectedStress.h>

Inheritance diagram for VolumeDeformGradCorrectedStress:
[legend]

Public Member Functions

 VolumeDeformGradCorrectedStress (const InputParameters &parameters)
 

Static Public Member Functions

static InputParameters validParams ()
 

Protected Member Functions

virtual void initQpStatefulProperties ()
 
virtual void computeQpProperties ()
 
virtual void computeQpStress ()
 

Protected Attributes

const MaterialProperty< RankTwoTensor > & _pre_stress
 
const MaterialProperty< RankTwoTensor > & _deformation_gradient
 
const MaterialProperty< RankFourTensor > * _pre_Jacobian_mult
 
MaterialProperty< RankTwoTensor > & _stress
 
MaterialProperty< RankFourTensor > * _Jacobian_mult
 

Detailed Description

VolumeDeformGradCorrectedStress transforms the Cauchy stress calculated in the previous configuration to its configuration.

Definition at line 27 of file VolumeDeformGradCorrectedStress.h.

Constructor & Destructor Documentation

◆ VolumeDeformGradCorrectedStress()

VolumeDeformGradCorrectedStress::VolumeDeformGradCorrectedStress ( const InputParameters &  parameters)

Definition at line 33 of file VolumeDeformGradCorrectedStress.C.

34  : DerivativeMaterialInterface<Material>(parameters),
35  _pre_stress(getMaterialProperty<RankTwoTensor>("pre_stress_name")),
36  _deformation_gradient(getMaterialProperty<RankTwoTensor>("deform_grad_name")),
37  _stress(declareProperty<RankTwoTensor>(getParam<MaterialPropertyName>("stress_name")))
38 {
39  if (isParamValid("pre_jacobian_name"))
40  _pre_Jacobian_mult = &getMaterialProperty<RankFourTensor>("pre_jacobian_name");
41 
42  if (isParamValid("jacobian_name"))
44  &declareProperty<RankFourTensor>(getParam<MaterialPropertyName>("jacobian_name"));
45 }

Member Function Documentation

◆ computeQpProperties()

void VolumeDeformGradCorrectedStress::computeQpProperties ( )
protectedvirtual

Definition at line 54 of file VolumeDeformGradCorrectedStress.C.

55 {
57 }

◆ computeQpStress()

void VolumeDeformGradCorrectedStress::computeQpStress ( )
protectedvirtual

Definition at line 60 of file VolumeDeformGradCorrectedStress.C.

61 {
62  _stress[_qp] = _deformation_gradient[_qp] * _pre_stress[_qp] *
63  _deformation_gradient[_qp].transpose() / _deformation_gradient[_qp].det();
64 
65  if (isParamValid("pre_jacobian_name") && isParamValid("jacobian_name"))
66  (*_Jacobian_mult)[_qp] = (*_pre_Jacobian_mult)[_qp];
67 }

Referenced by computeQpProperties().

◆ initQpStatefulProperties()

void VolumeDeformGradCorrectedStress::initQpStatefulProperties ( )
protectedvirtual

Definition at line 48 of file VolumeDeformGradCorrectedStress.C.

49 {
50  _stress[_qp] = _pre_stress[_qp];
51 }

◆ validParams()

InputParameters VolumeDeformGradCorrectedStress::validParams ( )
static

Definition at line 17 of file VolumeDeformGradCorrectedStress.C.

18 {
19  InputParameters params = Material::validParams();
20  params.addClassDescription(
21  "Transforms stress with volumetric term from previous configuration to this configuration");
22  params.addRequiredParam<MaterialPropertyName>("pre_stress_name",
23  "Name of stress variable from previous config.");
24  params.addRequiredParam<MaterialPropertyName>("deform_grad_name",
25  "Name of deformation gradient variable");
26  params.addParam<MaterialPropertyName>("pre_jacobian_name",
27  "Name of Jacobian variable from previous config.");
28  params.addRequiredParam<MaterialPropertyName>("stress_name", "Name of stress variable");
29  params.addParam<MaterialPropertyName>("jacobian_name", "Name of Jacobian variable");
30  return params;
31 }

Member Data Documentation

◆ _deformation_gradient

const MaterialProperty<RankTwoTensor>& VolumeDeformGradCorrectedStress::_deformation_gradient
protected

Definition at line 40 of file VolumeDeformGradCorrectedStress.h.

Referenced by computeQpStress().

◆ _Jacobian_mult

MaterialProperty<RankFourTensor>* VolumeDeformGradCorrectedStress::_Jacobian_mult
protected

Definition at line 44 of file VolumeDeformGradCorrectedStress.h.

Referenced by VolumeDeformGradCorrectedStress().

◆ _pre_Jacobian_mult

const MaterialProperty<RankFourTensor>* VolumeDeformGradCorrectedStress::_pre_Jacobian_mult
protected

Definition at line 41 of file VolumeDeformGradCorrectedStress.h.

Referenced by VolumeDeformGradCorrectedStress().

◆ _pre_stress

const MaterialProperty<RankTwoTensor>& VolumeDeformGradCorrectedStress::_pre_stress
protected

Definition at line 39 of file VolumeDeformGradCorrectedStress.h.

Referenced by computeQpStress(), and initQpStatefulProperties().

◆ _stress

MaterialProperty<RankTwoTensor>& VolumeDeformGradCorrectedStress::_stress
protected

Definition at line 43 of file VolumeDeformGradCorrectedStress.h.

Referenced by computeQpStress(), and initQpStatefulProperties().


The documentation for this class was generated from the following files:
VolumeDeformGradCorrectedStress::_deformation_gradient
const MaterialProperty< RankTwoTensor > & _deformation_gradient
Definition: VolumeDeformGradCorrectedStress.h:40
VolumeDeformGradCorrectedStress::computeQpStress
virtual void computeQpStress()
Definition: VolumeDeformGradCorrectedStress.C:60
VolumeDeformGradCorrectedStress::_Jacobian_mult
MaterialProperty< RankFourTensor > * _Jacobian_mult
Definition: VolumeDeformGradCorrectedStress.h:44
VolumeDeformGradCorrectedStress::_stress
MaterialProperty< RankTwoTensor > & _stress
Definition: VolumeDeformGradCorrectedStress.h:43
validParams
InputParameters validParams()
VolumeDeformGradCorrectedStress::_pre_stress
const MaterialProperty< RankTwoTensor > & _pre_stress
Definition: VolumeDeformGradCorrectedStress.h:39
VolumeDeformGradCorrectedStress::_pre_Jacobian_mult
const MaterialProperty< RankFourTensor > * _pre_Jacobian_mult
Definition: VolumeDeformGradCorrectedStress.h:41