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 19 of file ComputeDeformGradBasedStress.h.

Constructor & Destructor Documentation

ComputeDeformGradBasedStress::ComputeDeformGradBasedStress ( const InputParameters &  parameters)

Definition at line 24 of file ComputeDeformGradBasedStress.C.

25  : DerivativeMaterialInterface<Material>(parameters),
26  _deformation_gradient(getMaterialProperty<RankTwoTensor>("deform_grad_name")),
27  _elasticity_tensor(getMaterialProperty<RankFourTensor>("elasticity_tensor_name")),
28  _stress(declareProperty<RankTwoTensor>(getParam<MaterialPropertyName>("stress_name"))),
29  _Jacobian_mult(declareProperty<RankFourTensor>(getParam<MaterialPropertyName>("jacobian_name")))
30 {
31 }
MaterialProperty< RankTwoTensor > & _stress
const MaterialProperty< RankTwoTensor > & _deformation_gradient
MaterialProperty< RankFourTensor > & _Jacobian_mult
const MaterialProperty< RankFourTensor > & _elasticity_tensor

Member Function Documentation

void ComputeDeformGradBasedStress::computeQpProperties ( )
protectedvirtual

Definition at line 40 of file ComputeDeformGradBasedStress.C.

41 {
43 }
void ComputeDeformGradBasedStress::computeQpStress ( )
protectedvirtual

Definition at line 46 of file ComputeDeformGradBasedStress.C.

Referenced by computeQpProperties().

47 {
48  const RankTwoTensor iden(RankTwoTensor::initIdentity);
49  RankTwoTensor ee =
50  0.5 * (_deformation_gradient[_qp].transpose() * _deformation_gradient[_qp] - iden);
51  RankTwoTensor pk2 = _elasticity_tensor[_qp] * ee;
52 
53  _stress[_qp] = _deformation_gradient[_qp] * pk2 * _deformation_gradient[_qp].transpose() /
54  _deformation_gradient[_qp].det();
56 }
MaterialProperty< RankTwoTensor > & _stress
const MaterialProperty< RankTwoTensor > & _deformation_gradient
MaterialProperty< RankFourTensor > & _Jacobian_mult
const MaterialProperty< RankFourTensor > & _elasticity_tensor
void ComputeDeformGradBasedStress::initQpStatefulProperties ( )
protectedvirtual

Definition at line 34 of file ComputeDeformGradBasedStress.C.

35 {
36  _stress[_qp].zero();
37 }
MaterialProperty< RankTwoTensor > & _stress

Member Data Documentation

const MaterialProperty<RankTwoTensor>& ComputeDeformGradBasedStress::_deformation_gradient
protected

Definition at line 29 of file ComputeDeformGradBasedStress.h.

Referenced by computeQpStress().

const MaterialProperty<RankFourTensor>& ComputeDeformGradBasedStress::_elasticity_tensor
protected

Definition at line 30 of file ComputeDeformGradBasedStress.h.

Referenced by computeQpStress().

MaterialProperty<RankFourTensor>& ComputeDeformGradBasedStress::_Jacobian_mult
protected

Definition at line 33 of file ComputeDeformGradBasedStress.h.

Referenced by computeQpStress().

MaterialProperty<RankTwoTensor>& ComputeDeformGradBasedStress::_stress
protected

Definition at line 32 of file ComputeDeformGradBasedStress.h.

Referenced by computeQpStress(), and initQpStatefulProperties().


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