https://mooseframework.inl.gov
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private 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 Types

typedef DerivativeMaterialPropertyNameInterface::SymbolName SymbolName
 

Public Member Functions

 VolumeDeformGradCorrectedStress (const InputParameters &parameters)
 
const GenericMaterialProperty< U, is_ad > & getDefaultMaterialProperty (const std::string &name)
 
const GenericMaterialProperty< U, is_ad > & getDefaultMaterialPropertyByName (const std::string &name)
 
void validateDerivativeMaterialPropertyBase (const std::string &base)
 
const MaterialPropertyName derivativePropertyName (const MaterialPropertyName &base, const std::vector< SymbolName > &c) const
 
const MaterialPropertyName derivativePropertyNameFirst (const MaterialPropertyName &base, const SymbolName &c1) const
 
const MaterialPropertyName derivativePropertyNameSecond (const MaterialPropertyName &base, const SymbolName &c1, const SymbolName &c2) const
 
const MaterialPropertyName derivativePropertyNameThird (const MaterialPropertyName &base, const SymbolName &c1, const SymbolName &c2, const SymbolName &c3) const
 
GenericMaterialProperty< U, is_ad > & declarePropertyDerivative (const std::string &base, const std::vector< VariableName > &c)
 
GenericMaterialProperty< U, is_ad > & declarePropertyDerivative (const std::string &base, const std::vector< SymbolName > &c)
 
GenericMaterialProperty< U, is_ad > & declarePropertyDerivative (const std::string &base, const SymbolName &c1, const SymbolName &c2="", const SymbolName &c3="")
 
GenericMaterialProperty< U, is_ad > & declarePropertyDerivative (const std::string &base, const std::vector< VariableName > &c)
 
GenericMaterialProperty< U, is_ad > & declarePropertyDerivative (const std::string &base, const std::vector< SymbolName > &c)
 
GenericMaterialProperty< U, is_ad > & declarePropertyDerivative (const std::string &base, const SymbolName &c1, const SymbolName &c2="", const SymbolName &c3="")
 
const GenericMaterialProperty< U, is_ad > & getMaterialPropertyDerivative (const std::string &base, const std::vector< VariableName > &c)
 
const GenericMaterialProperty< U, is_ad > & getMaterialPropertyDerivative (const std::string &base, const std::vector< SymbolName > &c)
 
const GenericMaterialProperty< U, is_ad > & getMaterialPropertyDerivative (const std::string &base, const SymbolName &c1, const SymbolName &c2="", const SymbolName &c3="")
 
const GenericMaterialProperty< U, is_ad > & getMaterialPropertyDerivative (const std::string &base, const SymbolName &c1, unsigned int v2, unsigned int v3=libMesh::invalid_uint)
 
const GenericMaterialProperty< U, is_ad > & getMaterialPropertyDerivative (const std::string &base, unsigned int v1, unsigned int v2=libMesh::invalid_uint, unsigned int v3=libMesh::invalid_uint)
 
const GenericMaterialProperty< U, is_ad > & getMaterialPropertyDerivative (const std::string &base, const std::vector< VariableName > &c)
 
const GenericMaterialProperty< U, is_ad > & getMaterialPropertyDerivative (const std::string &base, const std::vector< SymbolName > &c)
 
const GenericMaterialProperty< U, is_ad > & getMaterialPropertyDerivative (const std::string &base, const SymbolName &c1, const SymbolName &c2="", const SymbolName &c3="")
 
const GenericMaterialProperty< U, is_ad > & getMaterialPropertyDerivative (const std::string &base, const SymbolName &c1, unsigned int v2, unsigned int v3=libMesh::invalid_uint)
 
const GenericMaterialProperty< U, is_ad > & getMaterialPropertyDerivative (const std::string &base, unsigned int v1, unsigned int v2=libMesh::invalid_uint, unsigned int v3=libMesh::invalid_uint)
 
const GenericMaterialProperty< U, is_ad > & getMaterialPropertyDerivativeByName (const MaterialPropertyName &base, const std::vector< VariableName > &c)
 
const GenericMaterialProperty< U, is_ad > & getMaterialPropertyDerivativeByName (const MaterialPropertyName &base, const std::vector< SymbolName > &c)
 
const GenericMaterialProperty< U, is_ad > & getMaterialPropertyDerivativeByName (const MaterialPropertyName &base, const SymbolName &c1, const SymbolName &c2="", const SymbolName &c3="")
 
const GenericMaterialProperty< U, is_ad > & getMaterialPropertyDerivativeByName (const MaterialPropertyName &base, const std::vector< VariableName > &c)
 
const GenericMaterialProperty< U, is_ad > & getMaterialPropertyDerivativeByName (const MaterialPropertyName &base, const std::vector< SymbolName > &c)
 
const GenericMaterialProperty< U, is_ad > & getMaterialPropertyDerivativeByName (const MaterialPropertyName &base, const SymbolName &c1, const SymbolName &c2="", const SymbolName &c3="")
 
void validateCoupling (const MaterialPropertyName &base, const std::vector< VariableName > &c, bool validate_aux=true)
 
void validateCoupling (const MaterialPropertyName &base, const VariableName &c1="", const VariableName &c2="", const VariableName &c3="")
 
void validateCoupling (const MaterialPropertyName &base, const std::vector< VariableName > &c, bool validate_aux=true)
 
void validateCoupling (const MaterialPropertyName &base, const VariableName &c1="", const VariableName &c2="", const VariableName &c3="")
 
void validateNonlinearCoupling (const MaterialPropertyName &base, const VariableName &c1="", const VariableName &c2="", const VariableName &c3="")
 
void validateNonlinearCoupling (const MaterialPropertyName &base, const VariableName &c1="", const VariableName &c2="", const VariableName &c3="")
 
const MaterialPropertyName propertyName (const MaterialPropertyName &base, const std::vector< SymbolName > &c) const
 
const MaterialPropertyName propertyName (const MaterialPropertyName &base, const std::vector< SymbolName > &c) const
 
const MaterialPropertyName propertyNameFirst (const MaterialPropertyName &base, const SymbolName &c1) const
 
const MaterialPropertyName propertyNameFirst (const MaterialPropertyName &base, const SymbolName &c1) const
 
const MaterialPropertyName propertyNameSecond (const MaterialPropertyName &base, const SymbolName &c1, const SymbolName &c2) const
 
const MaterialPropertyName propertyNameSecond (const MaterialPropertyName &base, const SymbolName &c1, const SymbolName &c2) const
 
const MaterialPropertyName propertyNameThird (const MaterialPropertyName &base, const SymbolName &c1, const SymbolName &c2, const SymbolName &c3) const
 
const MaterialPropertyName propertyNameThird (const MaterialPropertyName &base, const SymbolName &c1, const SymbolName &c2, const SymbolName &c3) const
 

Static Public Member Functions

static InputParameters validParams ()
 

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 > *const _pre_Jacobian_mult
 
MaterialProperty< RankTwoTensor > & _stress
 The stress tensor transformed to the current configuration.
 
MaterialProperty< RankFourTensor > *const _Jacobian_mult
 

Private Member Functions

bool haveMaterialProperty (const std::string &prop_name)
 
std::vector< VariableName > buildVariableVector (const VariableName &c1, const VariableName &c2, const VariableName &c3)
 
void validateCouplingHelper (const MaterialPropertyName &base, const std::vector< VariableName > &c, const System &system, std::vector< VariableName > &missing)
 
bool isNotObjectVariable (const VariableName &name)
 

Private Attributes

FEProblemBase_dmi_fe_problem
 

Detailed Description

VolumeDeformGradCorrectedStress transforms the Cauchy stress calculated in the previous configuration to its configuration.

Definition at line 22 of file VolumeDeformGradCorrectedStress.h.

Constructor & Destructor Documentation

◆ VolumeDeformGradCorrectedStress()

VolumeDeformGradCorrectedStress::VolumeDeformGradCorrectedStress ( const InputParameters parameters)

Definition at line 31 of file VolumeDeformGradCorrectedStress.C.

33 _pre_stress(getMaterialProperty<RankTwoTensor>("pre_stress_name")),
34 _deformation_gradient(getMaterialProperty<RankTwoTensor>("deform_grad_name")),
35 _pre_Jacobian_mult(isParamValid("pre_jacobian_name")
36 ? &getMaterialProperty<RankFourTensor>("pre_jacobian_name")
37 : nullptr),
38 _stress(declareProperty<RankTwoTensor>(getParam<MaterialPropertyName>("stress_name"))),
40 isParamValid("jacobian_name")
41 ? &declareProperty<RankFourTensor>(getParam<MaterialPropertyName>("jacobian_name"))
42 : nullptr)
43{
44}
const MaterialProperty< RankTwoTensor > & _deformation_gradient
MaterialProperty< RankTwoTensor > & _stress
The stress tensor transformed to the current configuration.
MaterialProperty< RankFourTensor > *const _Jacobian_mult
const MaterialProperty< RankFourTensor > *const _pre_Jacobian_mult
const MaterialProperty< RankTwoTensor > & _pre_stress

Member Function Documentation

◆ computeQpProperties()

void VolumeDeformGradCorrectedStress::computeQpProperties ( )
protectedvirtual

◆ computeQpStress()

void VolumeDeformGradCorrectedStress::computeQpStress ( )
protectedvirtual

Definition at line 59 of file VolumeDeformGradCorrectedStress.C.

60{
61 _stress[_qp] = _deformation_gradient[_qp] * _pre_stress[_qp] *
62 _deformation_gradient[_qp].transpose() / _deformation_gradient[_qp].det();
63
65 (*_Jacobian_mult)[_qp] = (*_pre_Jacobian_mult)[_qp];
66}

Referenced by computeQpProperties().

◆ initQpStatefulProperties()

void VolumeDeformGradCorrectedStress::initQpStatefulProperties ( )
protectedvirtual

Definition at line 47 of file VolumeDeformGradCorrectedStress.C.

48{
49 _stress[_qp] = _pre_stress[_qp];
50}

◆ validParams()

InputParameters VolumeDeformGradCorrectedStress::validParams ( )
static

Definition at line 15 of file VolumeDeformGradCorrectedStress.C.

16{
19 "Transforms stress with volumetric term from previous configuration to this configuration");
20 params.addRequiredParam<MaterialPropertyName>("pre_stress_name",
21 "Name of stress variable from previous config.");
22 params.addRequiredParam<MaterialPropertyName>("deform_grad_name",
23 "Name of deformation gradient variable");
24 params.addParam<MaterialPropertyName>("pre_jacobian_name",
25 "Name of Jacobian variable from previous config.");
26 params.addRequiredParam<MaterialPropertyName>("stress_name", "Name of stress variable");
27 params.addParam<MaterialPropertyName>("jacobian_name", "Name of Jacobian variable");
28 return params;
29}
void addRequiredParam(const std::string &name, const std::string &doc_string)
void addParam(const std::string &name, const std::initializer_list< typename T::value_type > &value, const std::string &doc_string)
void addClassDescription(const std::string &doc_string)
static InputParameters validParams()

Member Data Documentation

◆ _deformation_gradient

const MaterialProperty<RankTwoTensor>& VolumeDeformGradCorrectedStress::_deformation_gradient
protected

Definition at line 35 of file VolumeDeformGradCorrectedStress.h.

Referenced by computeQpStress().

◆ _Jacobian_mult

MaterialProperty<RankFourTensor>* const VolumeDeformGradCorrectedStress::_Jacobian_mult
protected

Definition at line 40 of file VolumeDeformGradCorrectedStress.h.

Referenced by computeQpStress().

◆ _pre_Jacobian_mult

const MaterialProperty<RankFourTensor>* const VolumeDeformGradCorrectedStress::_pre_Jacobian_mult
protected

Definition at line 36 of file VolumeDeformGradCorrectedStress.h.

Referenced by computeQpStress().

◆ _pre_stress

const MaterialProperty<RankTwoTensor>& VolumeDeformGradCorrectedStress::_pre_stress
protected

Definition at line 34 of file VolumeDeformGradCorrectedStress.h.

Referenced by computeQpStress(), and initQpStatefulProperties().

◆ _stress

MaterialProperty<RankTwoTensor>& VolumeDeformGradCorrectedStress::_stress
protected

The stress tensor transformed to the current configuration.

Definition at line 39 of file VolumeDeformGradCorrectedStress.h.

Referenced by computeQpStress(), and initQpStatefulProperties().


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