Go to the documentation of this file.
12 #include "libmesh/quadrature.h"
20 params.addClassDescription(
"Compute strain increment for incremental strains in 2D geometries.");
22 MooseEnum outOfPlaneDirection(
"x y z",
"z");
23 params.addParam<MooseEnum>(
24 "out_of_plane_direction", outOfPlaneDirection,
"The direction of the out-of-plane strain.");
30 _out_of_plane_direction(getParam<MooseEnum>(
"out_of_plane_direction"))
37 for (
unsigned int i = 0; i < 3; ++i)
46 _disp[i] = &coupledValue(
"displacements", i);
47 _grad_disp[i] = &coupledGradient(
"displacements", i);
77 total_strain_increment = 0.5 * (A + A.transpose());
84 mooseError(
"For 2D simulations where the out-of-plane direction is x or y the number of "
85 "supplied displacements must be three.");
87 mooseError(
"For 2D simulations where the out-of-plane direction is z the number of supplied "
88 "displacements must be two.");
defineLegacyParams(Compute2DIncrementalStrain)
ComputeIncrementalSmallStrain defines a strain increment and rotation increment (=1),...
virtual Real computeOutOfPlaneGradDispOld()=0
Computes the old out-of-plane component of the displacement gradient; as a virtual function,...
virtual void computeTotalStrainIncrement(RankTwoTensor &total_strain_increment) override
Computes the current and old deformation gradients with the assumptions for 2D geometries,...
std::vector< const VariableValue * > _disp
std::vector< const VariableGradient * > _grad_disp_old
unsigned int _ndisp
Coupled displacement variables.
Compute2DIncrementalStrain(const InputParameters ¶meters)
virtual void displacementIntegrityCheck() override
MaterialProperty< RankTwoTensor > & _deformation_gradient
const unsigned int _out_of_plane_direction
virtual Real computeOutOfPlaneGradDisp()=0
Computes the current out-of-plane component of the displacement gradient; as a virtual function,...
static InputParameters validParams()
static InputParameters validParams()
std::vector< const VariableGradient * > _grad_disp
void initialSetup() override
Compute2DIncrementalStrain defines a strain increment only for incremental strains in 2D geometries,...