Go to the documentation of this file.
20 params.addClassDescription(
21 "Compute strain increment for small strain under 2D planar assumptions.");
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 _nscalar_strains(coupledScalarComponents(
"scalar_out_of_plane_strain")),
38 _out_of_plane_strain_coupled(isCoupled(
"out_of_plane_strain")),
39 _out_of_plane_strain(_out_of_plane_strain_coupled ? coupledValue(
"out_of_plane_strain")
41 _out_of_plane_strain_old(_out_of_plane_strain_coupled ? coupledValueOld(
"out_of_plane_strain")
45 mooseError(
"Must define only one of out_of_plane_strain or scalar_out_of_plane_strain");
defineLegacyParams(ComputePlaneIncrementalStrain)
Abstract base class for user objects that provide an index for a given element that is independent of...
const bool _scalar_out_of_plane_strain_coupled
ComputePlaneIncrementalStrain defines strain increment for small strains in a 2D planar simulation.
ComputePlaneIncrementalStrain(const InputParameters ¶meters)
registerMooseObject("TensorMechanicsApp", ComputePlaneIncrementalStrain)
unsigned int getCurrentSubblockIndex() const
gets its subblock index for current element
const VariableValue & _out_of_plane_strain_old
static InputParameters validParams()
std::vector< const VariableValue * > _scalar_out_of_plane_strain_old
virtual Real computeOutOfPlaneGradDispOld() override
Computes the old out-of-plane component of the displacement gradient; as a virtual function,...
static InputParameters validParams()
const VariableValue & _out_of_plane_strain
std::vector< const VariableValue * > _scalar_out_of_plane_strain
virtual Real computeOutOfPlaneGradDisp() override
Computes the current out-of-plane component of the displacement gradient; as a virtual function,...
const bool _out_of_plane_strain_coupled
unsigned int _nscalar_strains
Compute2DIncrementalStrain defines a strain increment only for incremental strains in 2D geometries,...