www.mooseframework.org
ComputeCosseratStressBase.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 
14 {
16  params.addClassDescription("Compute stress and couple stress in the Cosserat situation");
17  return params;
18 }
19 
21  : ComputeStressBase(parameters),
22  _curvature(getMaterialPropertyByName<RankTwoTensor>("curvature")),
23  _elastic_flexural_rigidity_tensor(
24  getMaterialPropertyByName<RankFourTensor>("elastic_flexural_rigidity_tensor")),
25  _stress_couple(declareProperty<RankTwoTensor>("couple_stress")),
26  _Jacobian_mult_couple(declareProperty<RankFourTensor>("couple_Jacobian_mult"))
27 {
28 }
29 
30 void
32 {
34  _stress_couple[_qp].zero();
35 }
ComputeStressBase is the base class for stress tensors computed from MOOSE&#39;s strain calculators...
static InputParameters validParams()
virtual void initQpStatefulProperties() override
MaterialProperty< RankTwoTensor > & _stress_couple
the Cosserat couple-stress
static InputParameters validParams()
void addClassDescription(const std::string &doc_string)
ComputeCosseratStressBase(const InputParameters &parameters)