www.mooseframework.org
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | 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 Member Functions

 ComputePlaneStressIsotropicElasticityTensor (const InputParameters &parameters)
 
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. More...
 
bool _lambda_set
 
bool _poissons_ratio_set
 
bool _shear_modulus_set
 
bool _youngs_modulus_set
 
Real _bulk_modulus
 
Real _lambda
 
Real _poissons_ratio
 
Real _shear_modulus
 
Real _youngs_modulus
 
RankFourTensor _Cijkl
 Individual elasticity tensor. More...
 
Real _effective_stiffness_local
 Effective stiffness of the element: function of material properties. More...
 
const std::string _base_name
 
std::string _elasticity_tensor_name
 
MaterialProperty< RankFourTensor > & _elasticity_tensor
 
MaterialProperty< Real > & _effective_stiffness
 
const Function *const _prefactor_function
 prefactor function to multiply the elasticity tensor with More...
 

Private Attributes

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 22 of file ComputePlaneStressIsotropicElasticityTensor.h.

Constructor & Destructor Documentation

◆ ComputePlaneStressIsotropicElasticityTensor()

ComputePlaneStressIsotropicElasticityTensor::ComputePlaneStressIsotropicElasticityTensor ( const InputParameters &  parameters)

Definition at line 26 of file ComputePlaneStressIsotropicElasticityTensor.C.

29 {
30  // Retrieve youngs_modulus and poissons_ratio from the general 3D elasticity_tensor
33 
34  // Reconstructe the elasticity tensor specific for plane stress case
35  _Cijkl.zero();
36  _Cijkl(0, 0, 0, 0) = _Cijkl(1, 1, 1, 1) =
37  youngs_modulus / (1.0 + poissons_ratio) / (1.0 - poissons_ratio);
38  _Cijkl(0, 0, 1, 1) = _Cijkl(1, 1, 0, 0) =
39  youngs_modulus * poissons_ratio / (1.0 + poissons_ratio) / (1.0 - poissons_ratio);
40  _Cijkl(0, 1, 0, 1) = _Cijkl(1, 0, 1, 0) = 0.5 * youngs_modulus / (1.0 + poissons_ratio);
41 }

Member Function Documentation

◆ computeQpElasticityTensor()

void ComputeIsotropicElasticityTensor::computeQpElasticityTensor ( )
overrideprotectedvirtualinherited

Implements ComputeElasticityTensorBase.

Definition at line 190 of file ComputeIsotropicElasticityTensor.C.

191 {
192  // Assign elasticity tensor at a given quad point
193  _elasticity_tensor[_qp] = _Cijkl;
194 
195  // Assign effective stiffness at a given quad point
197 }

◆ computeQpProperties()

void ComputeElasticityTensorBase::computeQpProperties ( )
protectedvirtualinherited

Definition at line 43 of file ComputeElasticityTensorBase.C.

44 {
45  _effective_stiffness[_qp] = 0; // Currently overriden by ComputeIsotropicElasticityTensor
47 
48  // Multiply by prefactor
50  {
51  _elasticity_tensor[_qp] *= _prefactor_function->value(_t, _q_point[_qp]);
52  _effective_stiffness[_qp] *= std::sqrt(_prefactor_function->value(_t, _q_point[_qp]));
53  }
54 }

◆ 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 }

◆ issueGuarantee()

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

◆ 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 ComputeIsotropicElasticityTensor::validParams ( )
staticinherited

Definition at line 17 of file ComputeIsotropicElasticityTensor.C.

18 {
19  InputParameters params = ComputeElasticityTensorBase::validParams();
20  params.addClassDescription("Compute a constant isotropic elasticity tensor.");
21  params.addParam<Real>("bulk_modulus", "The bulk modulus for the material.");
22  params.addParam<Real>("lambda", "Lame's first constant for the material.");
23  params.addParam<Real>("poissons_ratio", "Poisson's ratio for the material.");
24  params.addParam<Real>("shear_modulus", "The shear modulus of the material.");
25  params.addParam<Real>("youngs_modulus", "Young's modulus of the material.");
26  return params;
27 }

Member Data Documentation

◆ _base_name

const std::string ComputeElasticityTensorBase::_base_name
protectedinherited

◆ _bulk_modulus

Real ComputeIsotropicElasticityTensor::_bulk_modulus
protectedinherited

◆ _bulk_modulus_set

bool ComputeIsotropicElasticityTensor::_bulk_modulus_set
protectedinherited

◆ _Cijkl

RankFourTensor ComputeIsotropicElasticityTensor::_Cijkl
protectedinherited

◆ _effective_stiffness

MaterialProperty<Real>& ComputeElasticityTensorBase::_effective_stiffness
protectedinherited

◆ _effective_stiffness_local

Real ComputeIsotropicElasticityTensor::_effective_stiffness_local
protectedinherited

Effective stiffness of the element: function of material properties.

Definition at line 50 of file ComputeIsotropicElasticityTensor.h.

Referenced by ComputeIsotropicElasticityTensor::ComputeIsotropicElasticityTensor(), and ComputeIsotropicElasticityTensor::computeQpElasticityTensor().

◆ _elasticity_tensor

MaterialProperty<RankFourTensor>& ComputeElasticityTensorBase::_elasticity_tensor
protectedinherited

◆ _elasticity_tensor_name

std::string ComputeElasticityTensorBase::_elasticity_tensor_name
protectedinherited

◆ _guarantees

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

◆ _lambda

Real ComputeIsotropicElasticityTensor::_lambda
protectedinherited

◆ _lambda_set

bool ComputeIsotropicElasticityTensor::_lambda_set
protectedinherited

◆ _poissons_ratio

Real ComputeIsotropicElasticityTensor::_poissons_ratio
protectedinherited

◆ _poissons_ratio_set

bool ComputeIsotropicElasticityTensor::_poissons_ratio_set
protectedinherited

◆ _prefactor_function

const Function* const ComputeElasticityTensorBase::_prefactor_function
protectedinherited

prefactor function to multiply the elasticity tensor with

Definition at line 44 of file ComputeElasticityTensorBase.h.

Referenced by ComputeLayeredCosseratElasticityTensor::computeQpElasticityTensor(), and ComputeElasticityTensorBase::computeQpProperties().

◆ _shear_modulus

Real ComputeIsotropicElasticityTensor::_shear_modulus
protectedinherited

◆ _shear_modulus_set

bool ComputeIsotropicElasticityTensor::_shear_modulus_set
protectedinherited

◆ _youngs_modulus

Real ComputeIsotropicElasticityTensor::_youngs_modulus
protectedinherited

◆ _youngs_modulus_set

bool ComputeIsotropicElasticityTensor::_youngs_modulus_set
protectedinherited

The documentation for this class was generated from the following files:
ComputeElasticityTensorBase::_effective_stiffness
MaterialProperty< Real > & _effective_stiffness
Definition: ComputeElasticityTensorBase.h:41
GuaranteeProvider::_guarantees
std::map< MaterialPropertyName, std::set< Guarantee > > _guarantees
Definition: GuaranteeProvider.h:37
ComputeIsotropicElasticityTensor::_Cijkl
RankFourTensor _Cijkl
Individual elasticity tensor.
Definition: ComputeIsotropicElasticityTensor.h:47
ElasticityTensorTools::getIsotropicPoissonsRatio
T getIsotropicPoissonsRatio(const RankFourTensorTempl< T > &elasticity_tensor)
Get the Poisson's modulus for an isotropic elasticity tensor param elasticity_tensor the tensor (must...
Definition: ElasticityTensorTools.h:115
ComputeElasticityTensorBase::computeQpElasticityTensor
virtual void computeQpElasticityTensor()=0
ElasticityTensorTools::getIsotropicYoungsModulus
T getIsotropicYoungsModulus(const RankFourTensorTempl< T > &elasticity_tensor)
Get the Young's modulus for an isotropic elasticity tensor param elasticity_tensor the tensor (must b...
Definition: ElasticityTensorTools.h:98
ComputeElasticityTensorBase::_elasticity_tensor
MaterialProperty< RankFourTensor > & _elasticity_tensor
Definition: ComputeElasticityTensorBase.h:40
ComputeElasticityTensorBase::validParams
static InputParameters validParams()
Definition: ComputeElasticityTensorBase.C:16
ComputeIsotropicElasticityTensor::ComputeIsotropicElasticityTensor
ComputeIsotropicElasticityTensor(const InputParameters &parameters)
Definition: ComputeIsotropicElasticityTensor.C:29
ComputeElasticityTensorBase::_prefactor_function
const Function *const _prefactor_function
prefactor function to multiply the elasticity tensor with
Definition: ComputeElasticityTensorBase.h:44
ComputeIsotropicElasticityTensor::_effective_stiffness_local
Real _effective_stiffness_local
Effective stiffness of the element: function of material properties.
Definition: ComputeIsotropicElasticityTensor.h:50