21 "Adds an implicit pressure term on a boundary. This is appropriate on " 22 "wall and inlet boundaries when the pressure term is integrated by parts");
26 "component>=0 & component<=2",
27 "(0,1,2) = (x,y,z) for which momentum component this BC is applied to");
35 _component(getParam<unsigned>(
"component"))
43 mooseError(
"INSPressureGradientBC does not support RSPHERICAL coordinates.");
virtual ADReal computeQpResidual() override
registerMooseObject("NavierStokesApp", INSPressureGradientBC)
static InputParameters validParams()
Moose::CoordinateSystemType getUniqueCoordSystem() const
Adds the exterior-face pressure contribution for a momentum equation whose pressure gradient is integ...
virtual void initialSetup() override
static InputParameters validParams()
DualNumber< Real, DNDerivativeType, false > ADReal
const unsigned _component
Momentum component to which this pressure contribution is added.
const ADVariableValue & _pressure
Pressure evaluated on the exterior face.
const ADTemplateVariableTestValue< T > & _test
static const std::string pressure
void mooseError(Args &&... args) const
INSPressureGradientBC(const InputParameters ¶meters)
const MooseArray< ADPoint > & _normals