14 #include "libmesh/quadrature.h" 23 "Calculate stress divergence for an axisymmetric problem in cylindrical coordinates.");
27 "An integer corresponding to the direction the variable this kernel acts in. (0 " 28 "refers to the radial and 1 to the axial displacement.)");
29 params.
set<
bool>(
"use_displaced_mesh") =
true;
42 mooseError(
"The coordinate system in the Problem block must be set to RZ for axisymmetric " 71 mooseError(
"Invalid component for this AxisymmetricRZ problem.");
82 ADReal ad_current_elem_volume = 0.0;
83 for (
unsigned int qp = 0; qp <
_qrule->n_points(); qp++)
void precalculateResidual() override
std::vector< ADReal > _avg_grad_test
Gradient of test function averaged over the element. Used in volumetric locking correction calculatio...
const ADTemplateVariableTestGradient< T > & _grad_test
const unsigned int _component
An integer corresponding to the direction this kernel acts in.
static InputParameters validParams()
Moose::CoordinateSystemType getBlockCoordSystem()
const ADMaterialProperty< R2 > & _stress
The stress tensor that the divergence operator operates on.
const ADTemplateVariableTestValue< T > & _test
void initialSetup() override
static InputParameters validParams()
const QBase *const & _qrule
const MooseArray< ADPoint > & _ad_q_point
const MooseArray< ADReal > & _ad_JxW
registerMooseObject("SolidMechanicsApp", ADStressDivergenceRZTensors)
const bool _volumetric_locking_correction
Flag for volumetric locking correction.
ADStressDivergenceRZTensors is the automatic differentiation version of StressDivergenceRZTensors.
void mooseError(Args &&... args) const
ADReal computeQpResidual() override
ADStressDivergenceTensors is the automatic differentiation version of StressDivergenceTensors.
const MooseArray< ADReal > & _ad_coord
ADStressDivergenceRZTensors(const InputParameters ¶meters)