25 "integrate_p_by_parts",
true,
"Whether to integrate the pressure term by parts");
31 _integrate_p_by_parts(getParam<bool>(
"integrate_p_by_parts")),
32 _p(adCoupledValue(
NS::pressure)),
33 _grad_p(adCoupledGradient(
NS::pressure)),
34 _coord_sys(_assembly.coordSystem()),
35 _rz_radial_coord(_mesh.getAxisymmetricRadialCoord())
41 for (
const auto block_id :
blockIDs())
DualNumber< Real, DNDerivativeType, true > ADReal
registerMooseObject("NavierStokesApp", INSADMomentumPressure)
const MooseArray< ADPoint > & _ad_q_point
const ADTemplateVariableTestValue< T > & _test
const ADTemplateVariableTestGradient< T > & _grad_test
static InputParameters validParams()
virtual const std::set< SubdomainID > & blockIDs() const
T & getUserObject(const std::string &name, unsigned int tid=0) const
This class computes the momentum equation residual and Jacobian contributions for the pressure term o...
static InputParameters validParams()
const ADVariableValue & _p
INSADMomentumPressure(const InputParameters ¶meters)
virtual ADReal computeQpResidual() override
const Moose::CoordinateSystemType & _coord_sys
const bool _integrate_p_by_parts
const ADVariableGradient & _grad_p
const unsigned int _rz_radial_coord
The radial coordinate index for RZ coordinate systems.
Object for tracking what kernels have been added to an INSAD simulation.
void set(const std::string &name, const T &value, SubdomainID sub_id)
Set the internal parameter name to value.
FEProblemBase & _fe_problem
static const std::string pressure