www.mooseframework.org
ComputeCosseratElasticityTensor.C
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
8 
9 template <>
10 InputParameters
12 {
13  InputParameters params = validParams<ComputeElasticityTensorBase>();
14  params.addClassDescription("Compute Cosserat elasticity and flexural bending rigidity tensors");
15  params.addRequiredParam<std::vector<Real>>("E_ijkl", "Elastic stiffness tensor for material");
16  params.addParam<MooseEnum>(
17  "fill_method", RankFourTensor::fillMethodEnum() = "symmetric9", "The fill method");
18  params.addRequiredParam<std::vector<Real>>("B_ijkl", "Flexural bending rigidity tensor.");
19  params.addParam<MooseEnum>("fill_method_bending",
20  RankFourTensor::fillMethodEnum() = "antisymmetric_isotropic",
21  "The fill method for the 'bending' tensor.");
22  return params;
23 }
24 
26  : ComputeElasticityTensorBase(parameters),
27  _Eijkl(getParam<std::vector<Real>>("E_ijkl"),
28  (RankFourTensor::FillMethod)(int)getParam<MooseEnum>("fill_method")),
29  _Bijkl(getParam<std::vector<Real>>("B_ijkl"),
30  (RankFourTensor::FillMethod)(int)getParam<MooseEnum>("fill_method_bending")),
31  _elastic_flexural_rigidity_tensor(
32  declareProperty<RankFourTensor>("elastic_flexural_rigidity_tensor"))
33 {
34  if (!isParamValid("elasticity_tensor_prefactor"))
36 }
37 
38 void
40 {
43 }
MaterialProperty< RankFourTensor > & _elastic_flexural_rigidity_tensor
Flexural rigidity tensor at the qps.
ComputeCosseratElasticityTensor(const InputParameters &parameters)
ComputeElasticityTensorBase the base class for computing elasticity tensors.
RankFourTensor _Bijkl
Flexural rigidity tensor.
void issueGuarantee(const MaterialPropertyName &prop_name, Guarantee guarantee)
InputParameters validParams< ComputeCosseratElasticityTensor >()
InputParameters validParams< ComputeElasticityTensorBase >()
RankFourTensor _Eijkl
Conventional elasticity tensor.
MaterialProperty< RankFourTensor > & _elasticity_tensor