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

ComputeElasticityTensor defines an elasticity tensor material for isi. More...

#include <ComputeCosseratElasticityTensor.h>

Inheritance diagram for ComputeCosseratElasticityTensor:
[legend]

Public Member Functions

 ComputeCosseratElasticityTensor (const InputParameters &parameters)
 
bool hasGuarantee (const MaterialPropertyName &prop_name, Guarantee guarantee)
 

Static Public Member Functions

static InputParameters validParams ()
 

Protected Member Functions

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

Protected Attributes

RankFourTensor _Eijkl
 Conventional elasticity tensor. More...
 
RankFourTensor _Bijkl
 Flexural rigidity tensor. More...
 
MaterialProperty< RankFourTensor > & _elastic_flexural_rigidity_tensor
 Flexural rigidity tensor at the qps. 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

ComputeElasticityTensor defines an elasticity tensor material for isi.

Definition at line 22 of file ComputeCosseratElasticityTensor.h.

Constructor & Destructor Documentation

◆ ComputeCosseratElasticityTensor()

ComputeCosseratElasticityTensor::ComputeCosseratElasticityTensor ( const InputParameters &  parameters)

Definition at line 31 of file ComputeCosseratElasticityTensor.C.

32  : ComputeElasticityTensorBase(parameters),
33  _Eijkl(getParam<std::vector<Real>>("E_ijkl"),
34  (RankFourTensor::FillMethod)(int)getParam<MooseEnum>("fill_method")),
35  _Bijkl(getParam<std::vector<Real>>("B_ijkl"),
36  (RankFourTensor::FillMethod)(int)getParam<MooseEnum>("fill_method_bending")),
38  declareProperty<RankFourTensor>("elastic_flexural_rigidity_tensor"))
39 {
40  if (!isParamValid("elasticity_tensor_prefactor"))
42 }

Member Function Documentation

◆ computeQpElasticityTensor()

void ComputeCosseratElasticityTensor::computeQpElasticityTensor ( )
protectedvirtual

Implements ComputeElasticityTensorBase.

Definition at line 45 of file ComputeCosseratElasticityTensor.C.

46 {
49 }

◆ 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 ComputeCosseratElasticityTensor::validParams ( )
static

Definition at line 17 of file ComputeCosseratElasticityTensor.C.

18 {
19  InputParameters params = ComputeElasticityTensorBase::validParams();
20  params.addClassDescription("Compute Cosserat elasticity and flexural bending rigidity tensors");
21  params.addRequiredParam<std::vector<Real>>("E_ijkl", "Elastic stiffness tensor for material");
22  params.addParam<MooseEnum>(
23  "fill_method", RankFourTensor::fillMethodEnum() = "symmetric9", "The fill method");
24  params.addRequiredParam<std::vector<Real>>("B_ijkl", "Flexural bending rigidity tensor.");
25  params.addParam<MooseEnum>("fill_method_bending",
26  RankFourTensor::fillMethodEnum() = "antisymmetric_isotropic",
27  "The fill method for the 'bending' tensor.");
28  return params;
29 }

Member Data Documentation

◆ _base_name

const std::string ComputeElasticityTensorBase::_base_name
protectedinherited

◆ _Bijkl

RankFourTensor ComputeCosseratElasticityTensor::_Bijkl
protected

Flexural rigidity tensor.

Definition at line 36 of file ComputeCosseratElasticityTensor.h.

Referenced by computeQpElasticityTensor().

◆ _effective_stiffness

MaterialProperty<Real>& ComputeElasticityTensorBase::_effective_stiffness
protectedinherited

◆ _Eijkl

RankFourTensor ComputeCosseratElasticityTensor::_Eijkl
protected

Conventional elasticity tensor.

Definition at line 33 of file ComputeCosseratElasticityTensor.h.

Referenced by computeQpElasticityTensor().

◆ _elastic_flexural_rigidity_tensor

MaterialProperty<RankFourTensor>& ComputeCosseratElasticityTensor::_elastic_flexural_rigidity_tensor
protected

Flexural rigidity tensor at the qps.

Definition at line 39 of file ComputeCosseratElasticityTensor.h.

Referenced by 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

◆ _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().


The documentation for this class was generated from the following files:
ComputeElasticityTensorBase::ComputeElasticityTensorBase
ComputeElasticityTensorBase(const InputParameters &parameters)
Definition: ComputeElasticityTensorBase.C:29
ComputeElasticityTensorBase::_effective_stiffness
MaterialProperty< Real > & _effective_stiffness
Definition: ComputeElasticityTensorBase.h:41
GuaranteeProvider::_guarantees
std::map< MaterialPropertyName, std::set< Guarantee > > _guarantees
Definition: GuaranteeProvider.h:37
GuaranteeProvider::issueGuarantee
void issueGuarantee(const MaterialPropertyName &prop_name, Guarantee guarantee)
Definition: GuaranteeProvider.C:27
Guarantee::CONSTANT_IN_TIME
ComputeElasticityTensorBase::computeQpElasticityTensor
virtual void computeQpElasticityTensor()=0
ComputeCosseratElasticityTensor::_Eijkl
RankFourTensor _Eijkl
Conventional elasticity tensor.
Definition: ComputeCosseratElasticityTensor.h:33
ComputeElasticityTensorBase::_elasticity_tensor
MaterialProperty< RankFourTensor > & _elasticity_tensor
Definition: ComputeElasticityTensorBase.h:40
ComputeElasticityTensorBase::validParams
static InputParameters validParams()
Definition: ComputeElasticityTensorBase.C:16
ComputeElasticityTensorBase::_elasticity_tensor_name
std::string _elasticity_tensor_name
Definition: ComputeElasticityTensorBase.h:38
ComputeCosseratElasticityTensor::_Bijkl
RankFourTensor _Bijkl
Flexural rigidity tensor.
Definition: ComputeCosseratElasticityTensor.h:36
ComputeElasticityTensorBase::_prefactor_function
const Function *const _prefactor_function
prefactor function to multiply the elasticity tensor with
Definition: ComputeElasticityTensorBase.h:44
ComputeCosseratElasticityTensor::_elastic_flexural_rigidity_tensor
MaterialProperty< RankFourTensor > & _elastic_flexural_rigidity_tensor
Flexural rigidity tensor at the qps.
Definition: ComputeCosseratElasticityTensor.h:39