www.mooseframework.org
ComputeCosseratSmallStrain.h
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 
10 #pragma once
11 
12 #include "ComputeStrainBase.h"
13 
15 
16 template <>
18 
23 {
24 public:
25  static InputParameters validParams();
26 
27  ComputeCosseratSmallStrain(const InputParameters & parameters);
28 
29 protected:
30  virtual void computeQpProperties() override;
31 
33  MaterialProperty<RankTwoTensor> & _curvature;
34 
36  const unsigned int _nrots;
37 
39  std::vector<const VariableValue *> _wc;
40 
42  std::vector<const VariableGradient *> _grad_wc;
43 };
ComputeCosseratSmallStrain::ComputeCosseratSmallStrain
ComputeCosseratSmallStrain(const InputParameters &parameters)
Definition: ComputeCosseratSmallStrain.C:30
ComputeStrainBase.h
ComputeStrainBase
ComputeStrainBase is the base class for strain tensors.
Definition: ComputeStrainBase.h:26
ComputeCosseratSmallStrain::_grad_wc
std::vector< const VariableGradient * > _grad_wc
Grad(Cosserat rotation)
Definition: ComputeCosseratSmallStrain.h:42
ComputeCosseratSmallStrain::_curvature
MaterialProperty< RankTwoTensor > & _curvature
the Cosserat curvature strain: curvature_ij = nabla_j CosseratRotation_i
Definition: ComputeCosseratSmallStrain.h:33
ComputeCosseratSmallStrain
ComputeCosseratSmallStrain defines Cossserat strain tensor, assuming small strains.
Definition: ComputeCosseratSmallStrain.h:22
ComputeCosseratSmallStrain::validParams
static InputParameters validParams()
Definition: ComputeCosseratSmallStrain.C:22
validParams< ComputeCosseratSmallStrain >
InputParameters validParams< ComputeCosseratSmallStrain >()
ComputeCosseratSmallStrain::_nrots
const unsigned int _nrots
the number of Cosserat rotation variables supplied by the user (must be 3 in current implementation)
Definition: ComputeCosseratSmallStrain.h:36
ComputeCosseratSmallStrain::_wc
std::vector< const VariableValue * > _wc
The Cosserat rotations.
Definition: ComputeCosseratSmallStrain.h:39
ComputeCosseratSmallStrain::computeQpProperties
virtual void computeQpProperties() override
Definition: ComputeCosseratSmallStrain.C:48