www.mooseframework.org
ComputeCosseratLinearElasticStress.C
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
11 
13 
14 template <>
15 InputParameters
17 {
18  InputParameters params = validParams<ComputeCosseratStressBase>();
19  params.addClassDescription(
20  "Compute Cosserat stress and couple-stress elasticity for small strains");
21  return params;
22 }
23 
25  const InputParameters & parameters)
26  : ComputeCosseratStressBase(parameters),
27  _elasticity_tensor_name(_base_name + "elasticity_tensor"),
28  _elasticity_tensor(getMaterialPropertyByName<RankFourTensor>(_elasticity_tensor_name))
29 {
30 }
31 
32 void
34 {
35  if (hasBlockMaterialProperty<RankTwoTensor>(_base_name + "strain_increment"))
36  mooseError("This linear elastic stress calculation only works for small strains");
37 }
38 
39 void
41 {
44 
46 
49 }
MaterialProperty< RankFourTensor > & _Jacobian_mult
derivative of stress w.r.t. strain (_dstress_dstrain)
registerMooseObject("TensorMechanicsApp", ComputeCosseratLinearElasticStress)
const MaterialProperty< RankFourTensor > & _elastic_flexural_rigidity_tensor
The Cosserat elastic flexural rigidity tensor.
ComputeCosseratLinearElasticStress(const InputParameters &parameters)
MaterialProperty< RankTwoTensor > & _stress
Stress material property.
const MaterialProperty< RankTwoTensor > & _curvature
The Cosserat curvature strain.
MaterialProperty< RankFourTensor > & _Jacobian_mult_couple
derivative of couple-stress w.r.t. curvature
virtual void computeQpStress() override
Compute the stress and store it in the _stress material property for the current quadrature point...
const MaterialProperty< RankTwoTensor > & _mechanical_strain
Mechanical strain material property.
MaterialProperty< RankTwoTensor > & _stress_couple
the Cosserat couple-stress
ComputeCosseratLinearElasticStress computes the Cosserat stress and couple-stress following linear el...
ComputeCosseratStressBase is the base class for stress tensors.
const std::string _base_name
Base name prepended to all material property names to allow for multi-material systems.
InputParameters validParams< ComputeCosseratStressBase >()
MaterialProperty< RankTwoTensor > & _elastic_strain
Elastic strain material property.
InputParameters validParams< ComputeCosseratLinearElasticStress >()
const MaterialProperty< RankFourTensor > & _elasticity_tensor
Elasticity tensor material property.