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 
15 
16 InputParameters
18 {
19  InputParameters params = ComputeCosseratStressBase::validParams();
20  params.addClassDescription(
21  "Compute Cosserat stress and couple-stress elasticity for small strains");
22  return params;
23 }
24 
26  const InputParameters & parameters)
27  : ComputeCosseratStressBase(parameters),
28  _elasticity_tensor_name(_base_name + "elasticity_tensor"),
29  _elasticity_tensor(getMaterialPropertyByName<RankFourTensor>(_elasticity_tensor_name))
30 {
31 }
32 
33 void
35 {
36  if (hasBlockMaterialProperty<RankTwoTensor>(_base_name + "strain_increment"))
37  mooseError("This linear elastic stress calculation only works for small strains");
38 }
39 
40 void
42 {
45 
47 
50 }
ComputeCosseratLinearElasticStress
ComputeCosseratLinearElasticStress computes the Cosserat stress and couple-stress following linear el...
Definition: ComputeCosseratLinearElasticStress.h:25
registerMooseObject
registerMooseObject("TensorMechanicsApp", ComputeCosseratLinearElasticStress)
ComputeStressBase::_stress
MaterialProperty< RankTwoTensor > & _stress
Stress material property.
Definition: ComputeStressBase.h:50
ComputeCosseratLinearElasticStress::computeQpStress
virtual void computeQpStress() override
Compute the stress and store it in the _stress material property for the current quadrature point.
Definition: ComputeCosseratLinearElasticStress.C:41
ComputeStressBase::_Jacobian_mult
MaterialProperty< RankFourTensor > & _Jacobian_mult
derivative of stress w.r.t. strain (_dstress_dstrain)
Definition: ComputeStressBase.h:61
ComputeCosseratStressBase::validParams
static InputParameters validParams()
Definition: ComputeCosseratStressBase.C:15
ComputeCosseratStressBase::_curvature
const MaterialProperty< RankTwoTensor > & _curvature
The Cosserat curvature strain.
Definition: ComputeCosseratStressBase.h:34
ComputeCosseratLinearElasticStress::initialSetup
virtual void initialSetup() override
Definition: ComputeCosseratLinearElasticStress.C:34
ComputeCosseratLinearElasticStress::validParams
static InputParameters validParams()
Definition: ComputeCosseratLinearElasticStress.C:17
ComputeCosseratStressBase::_elastic_flexural_rigidity_tensor
const MaterialProperty< RankFourTensor > & _elastic_flexural_rigidity_tensor
The Cosserat elastic flexural rigidity tensor.
Definition: ComputeCosseratStressBase.h:37
ComputeCosseratLinearElasticStress::_elasticity_tensor
const MaterialProperty< RankFourTensor > & _elasticity_tensor
Elasticity tensor material property.
Definition: ComputeCosseratLinearElasticStress.h:40
ComputeCosseratLinearElasticStress.h
ComputeCosseratStressBase::_stress_couple
MaterialProperty< RankTwoTensor > & _stress_couple
the Cosserat couple-stress
Definition: ComputeCosseratStressBase.h:40
ComputeStressBase::_base_name
const std::string _base_name
Base name prepended to all material property names to allow for multi-material systems.
Definition: ComputeStressBase.h:45
ComputeCosseratStressBase::_Jacobian_mult_couple
MaterialProperty< RankFourTensor > & _Jacobian_mult_couple
derivative of couple-stress w.r.t. curvature
Definition: ComputeCosseratStressBase.h:43
ComputeCosseratLinearElasticStress::ComputeCosseratLinearElasticStress
ComputeCosseratLinearElasticStress(const InputParameters &parameters)
Definition: ComputeCosseratLinearElasticStress.C:25
ComputeStressBase::_elastic_strain
MaterialProperty< RankTwoTensor > & _elastic_strain
Elastic strain material property.
Definition: ComputeStressBase.h:52
RankFourTensorTempl< Real >
defineLegacyParams
defineLegacyParams(ComputeCosseratLinearElasticStress)
ComputeStressBase::_mechanical_strain
const MaterialProperty< RankTwoTensor > & _mechanical_strain
Mechanical strain material property.
Definition: ComputeStressBase.h:48
ComputeCosseratStressBase
ComputeCosseratStressBase is the base class for stress tensors.
Definition: ComputeCosseratStressBase.h:22