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++)
DualNumber< Real, DNDerivativeType, true > ADReal
registerMooseObject("SolidMechanicsApp", ADStressDivergenceRZTensors)
const MooseArray< ADPoint > & _ad_q_point
const ADTemplateVariableTestValue< T > & _test
const ADTemplateVariableTestGradient< T > & _grad_test
const MooseArray< ADReal > & _ad_JxW
const MooseArray< ADReal > & _ad_coord
ADStressDivergenceRZTensors is the automatic differentiation version of StressDivergenceRZTensors.
static InputParameters validParams()
void precalculateResidual() override
ADStressDivergenceRZTensors(const InputParameters ¶meters)
void initialSetup() override
ADReal computeQpResidual() override
ADStressDivergenceTensors is the automatic differentiation version of StressDivergenceTensors.
const unsigned int _component
An integer corresponding to the direction this kernel acts in.
static InputParameters validParams()
std::vector< ADReal > _avg_grad_test
Gradient of test function averaged over the element. Used in volumetric locking correction calculatio...
const bool _volumetric_locking_correction
Flag for volumetric locking correction.
const ADMaterialProperty< R2 > & _stress
The stress tensor that the divergence operator operates on.
Moose::CoordinateSystemType getBlockCoordSystem()
const QBase *const & _qrule
void resize(unsigned int size)
void mooseError(Args &&... args) const