Go to the documentation of this file.
20 params.addClassDescription(
"Compute a small strain under generalized plane strain assumptions "
21 "where the out of plane strain is generally nonzero.");
22 params.addParam<UserObjectName>(
"subblock_index_provider",
23 "SubblockIndexProvider user object name");
24 params.addCoupledVar(
"scalar_out_of_plane_strain",
25 "Scalar variable for generalized plane strain");
26 params.addCoupledVar(
"out_of_plane_strain",
"Nonlinear variable for plane stress condition");
33 _subblock_id_provider(isParamValid(
"subblock_index_provider")
36 _scalar_out_of_plane_strain_coupled(isParamValid(
"scalar_out_of_plane_strain")),
37 _out_of_plane_strain_coupled(isCoupled(
"out_of_plane_strain")),
38 _out_of_plane_strain(_out_of_plane_strain_coupled ? coupledValue(
"out_of_plane_strain")
40 _nscalar_strains(coupledScalarComponents(
"scalar_out_of_plane_strain"))
43 mooseError(
"Must define only one of out_of_plane_strain or scalar_out_of_plane_strain");
Compute2DSmallStrain defines a strain tensor, assuming small strains, in 2D geometries / simulations.
const bool _scalar_out_of_plane_strain_coupled
registerMooseObject("TensorMechanicsApp", ComputePlaneSmallStrain)
virtual Real computeOutOfPlaneStrain()
static InputParameters validParams()
Abstract base class for user objects that provide an index for a given element that is independent of...
ComputePlaneSmallStrain(const InputParameters ¶meters)
ComputePlaneSmallStrain defines small strains under generalized plane strain and plane stress assumpt...
unsigned int getCurrentSubblockIndex() const
gets its subblock index for current element
unsigned int _nscalar_strains
static InputParameters validParams()
std::vector< const VariableValue * > _scalar_out_of_plane_strain
const bool _out_of_plane_strain_coupled
const VariableValue & _out_of_plane_strain
defineLegacyParams(ComputePlaneSmallStrain)