Go to the documentation of this file.
17 params.addClassDescription(
"his class corresponds to the inviscid part of the 'natural' boundary "
18 "condition for the momentum equations.");
19 params.addRequiredParam<
unsigned>(
20 "component",
"(0,1,2) = (x,y,z) for which momentum component this BC is applied to");
26 _component(getParam<unsigned>(
"component")),
28 _pressure_derivs(*this)
57 Real conv_term = rhou_udotn * _test[_i][_qp];
78 conv_term = -vel(
_component) * (vel * _normals[_qp]) * _phi[_j][_qp] * _test[_i][_qp];
87 _phi[_j][_qp] * _test[_i][_qp];
91 vel(
_component) * _normals[_qp](var_number - 1) * _phi[_j][_qp] * _test[_i][_qp];
100 mooseError(
"Shouldn't get here!");
InputParameters validParams< NSIntegratedBC >()
const VariableValue & _w_vel
Real get_grad(unsigned i)
The primary interfaces for computing pressure derivatives.
NSPressureDerivs< NSMomentumInviscidBC > _pressure_derivs
This class couples together all the variables for the compressible Navier-Stokes equations to allow t...
Real pressureQpResidualHelper(Real pressure)
const VariableValue & _v_vel
InputParameters validParams< NSMomentumInviscidBC >()
const VariableValue & _u_vel
Real convectiveQpResidualHelper(Real rhou_udotn)
NSMomentumInviscidBC(const InputParameters ¶meters)
Real pressureQpJacobianHelper(unsigned var_number)
const unsigned _component
Real convectiveQpJacobianHelper(unsigned var_number)
const std::string pressure