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
ComputePlaneStressIsotropicElasticityTensor Class Reference

Material class to define elasticity tensor for conventional plane stress of isotropic material. More...

#include <ComputePlaneStressIsotropicElasticityTensor.h>

Inheritance diagram for ComputePlaneStressIsotropicElasticityTensor:
[legend]

Public Types

typedef DerivativeMaterialPropertyNameInterface::SymbolName SymbolName
 

Public Member Functions

 ComputePlaneStressIsotropicElasticityTensor (const InputParameters &parameters)
 
virtual void residualSetup () override
 
virtual void initialSetup () override
 
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
 
bool hasGuarantee (const MaterialPropertyName &prop_name, Guarantee guarantee)
 

Static Public Member Functions

static InputParameters validParams ()
 

Protected Member Functions

virtual void computeQpElasticityTensor () override
 
virtual void computeQpProperties ()
 
void issueGuarantee (const MaterialPropertyName &prop_name, Guarantee guarantee)
 
void revokeGuarantee (const MaterialPropertyName &prop_name, Guarantee guarantee)
 

Protected Attributes

bool _bulk_modulus_set
 Elastic constants.
 
bool _lambda_set
 
bool _poissons_ratio_set
 
bool _shear_modulus_set
 
bool _youngs_modulus_set
 
const Real & _bulk_modulus
 
const Real & _lambda
 
const Real & _poissons_ratio
 
const Real & _shear_modulus
 
const Real & _youngs_modulus
 
T _Cijkl
 Individual elasticity tensor.
 
Real _effective_stiffness_local
 Effective stiffness of the element: function of material properties.
 
const std::string _base_name
 Base name of the material system.
 
std::string _elasticity_tensor_name
 
GenericMaterialProperty< T, is_ad > & _elasticity_tensor
 
GenericMaterialProperty< Real, is_ad > & _effective_stiffness
 
const Function *const _prefactor_function
 prefactor function to multiply the elasticity tensor with
 

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
 
std::map< MaterialPropertyName, std::set< Guarantee > > _guarantees
 

Detailed Description

Material class to define elasticity tensor for conventional plane stress of isotropic material.

Definition at line 17 of file ComputePlaneStressIsotropicElasticityTensor.h.

Constructor & Destructor Documentation

◆ ComputePlaneStressIsotropicElasticityTensor()

ComputePlaneStressIsotropicElasticityTensor::ComputePlaneStressIsotropicElasticityTensor ( const InputParameters parameters)

Definition at line 25 of file ComputePlaneStressIsotropicElasticityTensor.C.

28{
29}
ComputeIsotropicElasticityTensorTempl< false, RankFourTensor > ComputeIsotropicElasticityTensor

Member Function Documentation

◆ computeQpElasticityTensor()

template<bool is_ad, typename T >
void ComputeIsotropicElasticityTensorTempl< is_ad, T >::computeQpElasticityTensor ( )
overrideprotectedvirtualinherited

Implements ComputeElasticityTensorBaseTempl< is_ad, T >.

Definition at line 200 of file ComputeIsotropicElasticityTensor.C.

201{
202 // Assign elasticity tensor at a given quad point
204
205 // Assign effective stiffness at a given quad point
207}
GenericMaterialProperty< T, is_ad > & _elasticity_tensor
GenericMaterialProperty< Real, is_ad > & _effective_stiffness
Real _effective_stiffness_local
Effective stiffness of the element: function of material properties.

◆ computeQpProperties()

virtual void ComputeElasticityTensorBaseTempl< is_ad, T >::computeQpProperties ( )
protectedvirtualinherited

◆ hasGuarantee()

bool GuaranteeProvider::hasGuarantee ( const MaterialPropertyName &  prop_name,
Guarantee  guarantee 
)
inherited

Definition at line 16 of file GuaranteeProvider.C.

17{
18 auto it = _guarantees.find(prop_name);
19 if (it == _guarantees.end())
20 return false;
21
22 auto it2 = it->second.find(guarantee);
23 return it2 != it->second.end();
24}
std::map< MaterialPropertyName, std::set< Guarantee > > _guarantees

◆ initialSetup()

template<bool is_ad, typename T >
virtual void ComputeIsotropicElasticityTensorTempl< is_ad, T >::initialSetup ( )
inlineoverridevirtualinherited

◆ issueGuarantee()

void GuaranteeProvider::issueGuarantee ( const MaterialPropertyName &  prop_name,
Guarantee  guarantee 
)
protectedinherited

◆ residualSetup()

void ComputePlaneStressIsotropicElasticityTensor::residualSetup ( )
overridevirtual

Reimplemented from ComputeIsotropicElasticityTensorTempl< is_ad, T >.

Definition at line 32 of file ComputePlaneStressIsotropicElasticityTensor.C.

33{
35
36 // Retrieve youngs_modulus and poissons_ratio from the general 3D elasticity_tensor
39
40 // Reconstructe the elasticity tensor specific for plane stress case
41 _Cijkl.zero();
42 _Cijkl(0, 0, 0, 0) = youngs_modulus / (1.0 - poissons_ratio * poissons_ratio);
43 _Cijkl(1, 1, 1, 1) = _Cijkl(0, 0, 0, 0);
44 _Cijkl(0, 0, 1, 1) = _Cijkl(0, 0, 0, 0) * poissons_ratio;
45 _Cijkl(1, 1, 0, 0) = _Cijkl(0, 0, 1, 1);
46 _Cijkl(0, 1, 0, 1) = youngs_modulus / 2.0 / (1.0 + poissons_ratio);
47 _Cijkl(0, 1, 1, 0) = _Cijkl(0, 1, 0, 1);
48 _Cijkl(1, 0, 0, 1) = _Cijkl(0, 1, 0, 1);
49 _Cijkl(1, 0, 1, 0) = _Cijkl(0, 1, 0, 1);
50}
T getIsotropicYoungsModulus(const RankFourTensorTempl< T > &elasticity_tensor)
Get the Young's modulus for an isotropic elasticity tensor param elasticity_tensor the tensor (must b...
T getIsotropicPoissonsRatio(const RankFourTensorTempl< T > &elasticity_tensor)
Get the Poisson's modulus for an isotropic elasticity tensor param elasticity_tensor the tensor (must...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real

◆ revokeGuarantee()

void GuaranteeProvider::revokeGuarantee ( const MaterialPropertyName &  prop_name,
Guarantee  guarantee 
)
protectedinherited

Definition at line 34 of file GuaranteeProvider.C.

35{
36 auto it = _guarantees.find(prop_name);
37 if (it != _guarantees.end())
38 it->second.erase(guarantee);
39}

Referenced by ComputeElasticityTensorCP::ComputeElasticityTensorCP().

◆ validParams()

InputParameters ComputePlaneStressIsotropicElasticityTensor::validParams ( )
static

Definition at line 16 of file ComputePlaneStressIsotropicElasticityTensor.C.

17{
20 "Class for computing a constant isotropic elasticity tensor for strong plane stress");
21
22 return params;
23}
void addClassDescription(const std::string &doc_string)

Member Data Documentation

◆ _base_name

const std::string ComputeElasticityTensorBaseTempl< is_ad, T >::_base_name
protectedinherited

Base name of the material system.

Definition at line 35 of file ComputeElasticityTensorBase.h.

◆ _bulk_modulus

template<bool is_ad, typename T >
const Real& ComputeIsotropicElasticityTensorTempl< is_ad, T >::_bulk_modulus
protectedinherited

◆ _bulk_modulus_set

template<bool is_ad, typename T >
bool ComputeIsotropicElasticityTensorTempl< is_ad, T >::_bulk_modulus_set
protectedinherited

◆ _Cijkl

template<bool is_ad, typename T >
T ComputeIsotropicElasticityTensorTempl< is_ad, T >::_Cijkl
protectedinherited

Individual elasticity tensor.

Definition at line 47 of file ComputeIsotropicElasticityTensor.h.

Referenced by residualSetup().

◆ _effective_stiffness

GenericMaterialProperty<Real, is_ad>& ComputeElasticityTensorBaseTempl< is_ad, T >::_effective_stiffness
protectedinherited

Definition at line 40 of file ComputeElasticityTensorBase.h.

◆ _effective_stiffness_local

template<bool is_ad, typename T >
Real ComputeIsotropicElasticityTensorTempl< is_ad, T >::_effective_stiffness_local
protectedinherited

Effective stiffness of the element: function of material properties.

Definition at line 50 of file ComputeIsotropicElasticityTensor.h.

◆ _elasticity_tensor

GenericMaterialProperty<T, is_ad>& ComputeElasticityTensorBaseTempl< is_ad, T >::_elasticity_tensor
protectedinherited

Definition at line 39 of file ComputeElasticityTensorBase.h.

◆ _elasticity_tensor_name

std::string ComputeElasticityTensorBaseTempl< is_ad, T >::_elasticity_tensor_name
protectedinherited

Definition at line 37 of file ComputeElasticityTensorBase.h.

◆ _guarantees

std::map<MaterialPropertyName, std::set<Guarantee> > GuaranteeProvider::_guarantees
privateinherited

◆ _lambda

template<bool is_ad, typename T >
const Real& ComputeIsotropicElasticityTensorTempl< is_ad, T >::_lambda
protectedinherited

Definition at line 41 of file ComputeIsotropicElasticityTensor.h.

◆ _lambda_set

template<bool is_ad, typename T >
bool ComputeIsotropicElasticityTensorTempl< is_ad, T >::_lambda_set
protectedinherited

◆ _poissons_ratio

template<bool is_ad, typename T >
const Real& ComputeIsotropicElasticityTensorTempl< is_ad, T >::_poissons_ratio
protectedinherited

Definition at line 42 of file ComputeIsotropicElasticityTensor.h.

◆ _poissons_ratio_set

template<bool is_ad, typename T >
bool ComputeIsotropicElasticityTensorTempl< is_ad, T >::_poissons_ratio_set
protectedinherited

◆ _prefactor_function

const Function* const ComputeElasticityTensorBaseTempl< is_ad, T >::_prefactor_function
protectedinherited

prefactor function to multiply the elasticity tensor with

Definition at line 43 of file ComputeElasticityTensorBase.h.

◆ _shear_modulus

template<bool is_ad, typename T >
const Real& ComputeIsotropicElasticityTensorTempl< is_ad, T >::_shear_modulus
protectedinherited

◆ _shear_modulus_set

template<bool is_ad, typename T >
bool ComputeIsotropicElasticityTensorTempl< is_ad, T >::_shear_modulus_set
protectedinherited

◆ _youngs_modulus

template<bool is_ad, typename T >
const Real& ComputeIsotropicElasticityTensorTempl< is_ad, T >::_youngs_modulus
protectedinherited

◆ _youngs_modulus_set

template<bool is_ad, typename T >
bool ComputeIsotropicElasticityTensorTempl< is_ad, T >::_youngs_modulus_set
protectedinherited

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