Go to the documentation of this file.
19 params.addClassDescription(
"Momentum equation boundary condition in which pressure is specified "
20 "(given) and the value of the convective part is allowed to vary (is "
21 "computed implicitly).");
26 const InputParameters & parameters)
38 Real u_dot_n = vel * _normals[_qp];
41 RealVectorValue rhou_udotn = u_dot_n *
_rho[_qp] * vel;
unsigned mapVarNumber(unsigned var)
virtual Real computeQpJacobian()
InputParameters validParams< NSMomentumInviscidSpecifiedPressureBC >()
virtual Real computeQpOffDiagJacobian(unsigned jvar)
registerMooseObject("NavierStokesApp", NSMomentumInviscidSpecifiedPressureBC)
const VariableValue & _w_vel
bool isNSVariable(unsigned var)
This class corresponds to the inviscid part of the "natural" boundary condition for the momentum equa...
InputParameters validParams< NSMomentumInviscidBC >()
virtual Real computeQpResidual()
Real pressureQpResidualHelper(Real pressure)
const VariableValue & _v_vel
const VariableValue & _u_vel
Real convectiveQpResidualHelper(Real rhou_udotn)
const VariableValue & _rho
Momentum equation boundary condition in which pressure is specified (given) and the value of the conv...
const unsigned _component
NSMomentumInviscidSpecifiedPressureBC(const InputParameters ¶meters)
Real convectiveQpJacobianHelper(unsigned var_number)