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

Constructor & Destructor Documentation

ComputeVolumetricDeformGrad::ComputeVolumetricDeformGrad ( const InputParameters &  parameters)

Definition at line 25 of file ComputeVolumetricDeformGrad.C.

26  : DerivativeMaterialInterface<Material>(parameters),
27  _pre_deform_grad(getMaterialProperty<RankTwoTensor>("pre_deform_grad_name")),
28  _volumetric_deform_grad(declareProperty<RankTwoTensor>(
29  getParam<MaterialPropertyName>("volumetric_deform_grad_name"))),
31  declareProperty<RankTwoTensor>(getParam<MaterialPropertyName>("post_deform_grad_name")))
32 {
33 }
const MaterialProperty< RankTwoTensor > & _pre_deform_grad
MaterialProperty< RankTwoTensor > & _volumetric_deform_grad
MaterialProperty< RankTwoTensor > & _post_deform_grad

Member Function Documentation

void ComputeVolumetricDeformGrad::computeQpProperties ( )
protectedvirtual

Definition at line 46 of file ComputeVolumetricDeformGrad.C.

47 {
49  _post_deform_grad[_qp] = _volumetric_deform_grad[_qp].inverse() * _pre_deform_grad[_qp];
50 }
const MaterialProperty< RankTwoTensor > & _pre_deform_grad
MaterialProperty< RankTwoTensor > & _volumetric_deform_grad
MaterialProperty< RankTwoTensor > & _post_deform_grad
void ComputeVolumetricDeformGrad::createVolumetricDeformGrad ( )
protectedvirtual

Definition at line 53 of file ComputeVolumetricDeformGrad.C.

Referenced by computeQpProperties().

54 {
55  _volumetric_deform_grad[_qp].zero();
56  _volumetric_deform_grad[_qp].addIa(1.0);
57 }
MaterialProperty< RankTwoTensor > & _volumetric_deform_grad
void ComputeVolumetricDeformGrad::initQpStatefulProperties ( )
protectedvirtual

Definition at line 36 of file ComputeVolumetricDeformGrad.C.

37 {
38  _volumetric_deform_grad[_qp].zero();
39  _volumetric_deform_grad[_qp].addIa(1.0);
40 
41  _post_deform_grad[_qp].zero();
42  _post_deform_grad[_qp].addIa(1.0);
43 }
MaterialProperty< RankTwoTensor > & _volumetric_deform_grad
MaterialProperty< RankTwoTensor > & _post_deform_grad

Member Data Documentation

MaterialProperty<RankTwoTensor>& ComputeVolumetricDeformGrad::_post_deform_grad
protected

Definition at line 31 of file ComputeVolumetricDeformGrad.h.

Referenced by computeQpProperties(), and initQpStatefulProperties().

const MaterialProperty<RankTwoTensor>& ComputeVolumetricDeformGrad::_pre_deform_grad
protected

Definition at line 29 of file ComputeVolumetricDeformGrad.h.

Referenced by computeQpProperties().

MaterialProperty<RankTwoTensor>& ComputeVolumetricDeformGrad::_volumetric_deform_grad
protected

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