www.mooseframework.org
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)
 

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 28 of file VolumeDeformGradCorrectedStress.h.

Constructor & Destructor Documentation

◆ VolumeDeformGradCorrectedStress()

VolumeDeformGradCorrectedStress::VolumeDeformGradCorrectedStress ( const InputParameters &  parameters)

Definition at line 32 of file VolumeDeformGradCorrectedStress.C.

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

Member Function Documentation

◆ computeQpProperties()

void VolumeDeformGradCorrectedStress::computeQpProperties ( )
protectedvirtual

Definition at line 53 of file VolumeDeformGradCorrectedStress.C.

◆ computeQpStress()

void VolumeDeformGradCorrectedStress::computeQpStress ( )
protectedvirtual

Definition at line 59 of file VolumeDeformGradCorrectedStress.C.

Referenced by computeQpProperties().

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

◆ initQpStatefulProperties()

void VolumeDeformGradCorrectedStress::initQpStatefulProperties ( )
protectedvirtual

Definition at line 47 of file VolumeDeformGradCorrectedStress.C.

48 {
49  _stress[_qp] = _pre_stress[_qp];
50 }
const MaterialProperty< RankTwoTensor > & _pre_stress
MaterialProperty< RankTwoTensor > & _stress

Member Data Documentation

◆ _deformation_gradient

const MaterialProperty<RankTwoTensor>& VolumeDeformGradCorrectedStress::_deformation_gradient
protected

Definition at line 39 of file VolumeDeformGradCorrectedStress.h.

Referenced by computeQpStress().

◆ _Jacobian_mult

MaterialProperty<RankFourTensor>* VolumeDeformGradCorrectedStress::_Jacobian_mult
protected

Definition at line 43 of file VolumeDeformGradCorrectedStress.h.

Referenced by VolumeDeformGradCorrectedStress().

◆ _pre_Jacobian_mult

const MaterialProperty<RankFourTensor>* VolumeDeformGradCorrectedStress::_pre_Jacobian_mult
protected

Definition at line 40 of file VolumeDeformGradCorrectedStress.h.

Referenced by VolumeDeformGradCorrectedStress().

◆ _pre_stress

const MaterialProperty<RankTwoTensor>& VolumeDeformGradCorrectedStress::_pre_stress
protected

Definition at line 38 of file VolumeDeformGradCorrectedStress.h.

Referenced by computeQpStress(), and initQpStatefulProperties().

◆ _stress

MaterialProperty<RankTwoTensor>& VolumeDeformGradCorrectedStress::_stress
protected

Definition at line 42 of file VolumeDeformGradCorrectedStress.h.

Referenced by computeQpStress(), and initQpStatefulProperties().


The documentation for this class was generated from the following files: