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

ComputeDeformGradBasedStress computes stress based on lagrangian strain definition. More...

#include <ComputeDeformGradBasedStress.h>

Inheritance diagram for ComputeDeformGradBasedStress:
[legend]

Public Member Functions

 ComputeDeformGradBasedStress (const InputParameters &parameters)
 

Protected Member Functions

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

Protected Attributes

const MaterialProperty< RankTwoTensor > & _deformation_gradient
 
const MaterialProperty< RankFourTensor > & _elasticity_tensor
 
MaterialProperty< RankTwoTensor > & _stress
 
MaterialProperty< RankFourTensor > & _Jacobian_mult
 

Detailed Description

ComputeDeformGradBasedStress computes stress based on lagrangian strain definition.

Definition at line 27 of file ComputeDeformGradBasedStress.h.

Constructor & Destructor Documentation

◆ ComputeDeformGradBasedStress()

ComputeDeformGradBasedStress::ComputeDeformGradBasedStress ( const InputParameters &  parameters)

Definition at line 29 of file ComputeDeformGradBasedStress.C.

30  : DerivativeMaterialInterface<Material>(parameters),
31  _deformation_gradient(getMaterialProperty<RankTwoTensor>("deform_grad_name")),
32  _elasticity_tensor(getMaterialProperty<RankFourTensor>("elasticity_tensor_name")),
33  _stress(declareProperty<RankTwoTensor>(getParam<MaterialPropertyName>("stress_name"))),
34  _Jacobian_mult(declareProperty<RankFourTensor>(getParam<MaterialPropertyName>("jacobian_name")))
35 {
36 }
MaterialProperty< RankTwoTensor > & _stress
const MaterialProperty< RankTwoTensor > & _deformation_gradient
MaterialProperty< RankFourTensor > & _Jacobian_mult
const MaterialProperty< RankFourTensor > & _elasticity_tensor

Member Function Documentation

◆ computeQpProperties()

void ComputeDeformGradBasedStress::computeQpProperties ( )
protectedvirtual

Definition at line 45 of file ComputeDeformGradBasedStress.C.

46 {
48 }

◆ computeQpStress()

void ComputeDeformGradBasedStress::computeQpStress ( )
protectedvirtual

Definition at line 51 of file ComputeDeformGradBasedStress.C.

Referenced by computeQpProperties().

52 {
53  const RankTwoTensor iden(RankTwoTensor::initIdentity);
54  RankTwoTensor ee =
55  0.5 * (_deformation_gradient[_qp].transpose() * _deformation_gradient[_qp] - iden);
56  RankTwoTensor pk2 = _elasticity_tensor[_qp] * ee;
57 
58  _stress[_qp] = _deformation_gradient[_qp] * pk2 * _deformation_gradient[_qp].transpose() /
59  _deformation_gradient[_qp].det();
61 }
MaterialProperty< RankTwoTensor > & _stress
const MaterialProperty< RankTwoTensor > & _deformation_gradient
MaterialProperty< RankFourTensor > & _Jacobian_mult
const MaterialProperty< RankFourTensor > & _elasticity_tensor

◆ initQpStatefulProperties()

void ComputeDeformGradBasedStress::initQpStatefulProperties ( )
protectedvirtual

Definition at line 39 of file ComputeDeformGradBasedStress.C.

40 {
41  _stress[_qp].zero();
42 }
MaterialProperty< RankTwoTensor > & _stress

Member Data Documentation

◆ _deformation_gradient

const MaterialProperty<RankTwoTensor>& ComputeDeformGradBasedStress::_deformation_gradient
protected

Definition at line 37 of file ComputeDeformGradBasedStress.h.

Referenced by computeQpStress().

◆ _elasticity_tensor

const MaterialProperty<RankFourTensor>& ComputeDeformGradBasedStress::_elasticity_tensor
protected

Definition at line 38 of file ComputeDeformGradBasedStress.h.

Referenced by computeQpStress().

◆ _Jacobian_mult

MaterialProperty<RankFourTensor>& ComputeDeformGradBasedStress::_Jacobian_mult
protected

Definition at line 41 of file ComputeDeformGradBasedStress.h.

Referenced by computeQpStress().

◆ _stress

MaterialProperty<RankTwoTensor>& ComputeDeformGradBasedStress::_stress
protected

Definition at line 40 of file ComputeDeformGradBasedStress.h.

Referenced by computeQpStress(), and initQpStatefulProperties().


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