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

ComputeVolumetricDeformGrad is the class to compute volumetric deformation gradient Modification based on pre-multiplication to a deformation gradient Can be used to form a chain of volumetric corections on deformation. More...

#include <ComputeVolumetricDeformGrad.h>

Inheritance diagram for ComputeVolumetricDeformGrad:
[legend]

Public Member Functions

 ComputeVolumetricDeformGrad (const InputParameters &parameters)
 

Protected Member Functions

virtual void initQpStatefulProperties ()
 
virtual void computeQpProperties ()
 
virtual void createVolumetricDeformGrad ()
 

Protected Attributes

const MaterialProperty< RankTwoTensor > & _pre_deform_grad
 
MaterialProperty< RankTwoTensor > & _volumetric_deform_grad
 
MaterialProperty< RankTwoTensor > & _post_deform_grad
 

Detailed Description

ComputeVolumetricDeformGrad is the class to compute volumetric deformation gradient Modification based on pre-multiplication to a deformation gradient Can be used to form a chain of volumetric corections on deformation.

Definition at line 27 of file ComputeVolumetricDeformGrad.h.

Constructor & Destructor Documentation

◆ ComputeVolumetricDeformGrad()

ComputeVolumetricDeformGrad::ComputeVolumetricDeformGrad ( const InputParameters &  parameters)

Definition at line 30 of file ComputeVolumetricDeformGrad.C.

31  : DerivativeMaterialInterface<Material>(parameters),
32  _pre_deform_grad(getMaterialProperty<RankTwoTensor>("pre_deform_grad_name")),
33  _volumetric_deform_grad(declareProperty<RankTwoTensor>(
34  getParam<MaterialPropertyName>("volumetric_deform_grad_name"))),
36  declareProperty<RankTwoTensor>(getParam<MaterialPropertyName>("post_deform_grad_name")))
37 {
38 }
const MaterialProperty< RankTwoTensor > & _pre_deform_grad
MaterialProperty< RankTwoTensor > & _volumetric_deform_grad
MaterialProperty< RankTwoTensor > & _post_deform_grad

Member Function Documentation

◆ computeQpProperties()

void ComputeVolumetricDeformGrad::computeQpProperties ( )
protectedvirtual

Definition at line 51 of file ComputeVolumetricDeformGrad.C.

52 {
54  _post_deform_grad[_qp] = _volumetric_deform_grad[_qp].inverse() * _pre_deform_grad[_qp];
55 }
const MaterialProperty< RankTwoTensor > & _pre_deform_grad
MaterialProperty< RankTwoTensor > & _volumetric_deform_grad
MaterialProperty< RankTwoTensor > & _post_deform_grad

◆ createVolumetricDeformGrad()

void ComputeVolumetricDeformGrad::createVolumetricDeformGrad ( )
protectedvirtual

Definition at line 58 of file ComputeVolumetricDeformGrad.C.

Referenced by computeQpProperties().

59 {
60  _volumetric_deform_grad[_qp].zero();
61  _volumetric_deform_grad[_qp].addIa(1.0);
62 }
MaterialProperty< RankTwoTensor > & _volumetric_deform_grad

◆ initQpStatefulProperties()

void ComputeVolumetricDeformGrad::initQpStatefulProperties ( )
protectedvirtual

Definition at line 41 of file ComputeVolumetricDeformGrad.C.

42 {
43  _volumetric_deform_grad[_qp].zero();
44  _volumetric_deform_grad[_qp].addIa(1.0);
45 
46  _post_deform_grad[_qp].zero();
47  _post_deform_grad[_qp].addIa(1.0);
48 }
MaterialProperty< RankTwoTensor > & _volumetric_deform_grad
MaterialProperty< RankTwoTensor > & _post_deform_grad

Member Data Documentation

◆ _post_deform_grad

MaterialProperty<RankTwoTensor>& ComputeVolumetricDeformGrad::_post_deform_grad
protected

Definition at line 39 of file ComputeVolumetricDeformGrad.h.

Referenced by computeQpProperties(), and initQpStatefulProperties().

◆ _pre_deform_grad

const MaterialProperty<RankTwoTensor>& ComputeVolumetricDeformGrad::_pre_deform_grad
protected

Definition at line 37 of file ComputeVolumetricDeformGrad.h.

Referenced by computeQpProperties().

◆ _volumetric_deform_grad

MaterialProperty<RankTwoTensor>& ComputeVolumetricDeformGrad::_volumetric_deform_grad
protected

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