22 "This is the base class for 'weakly-imposed' stagnation boundary conditions.");
23 params.
addRequiredParam<Real>(
"stagnation_pressure",
"The specifed stagnation pressure");
24 params.
addRequiredParam<Real>(
"stagnation_temperature",
"The specifed stagnation temperature");
25 params.
addRequiredParam<Real>(
"sx",
"x-component of specifed flow direction");
26 params.
addRequiredParam<Real>(
"sy",
"y-component of specifed flow direction");
27 params.
addParam<Real>(
"sz", 0.0,
"z-component of specifed flow direction");
33 _stagnation_pressure(getParam<Real>(
"stagnation_pressure")),
34 _stagnation_temperature(getParam<Real>(
"stagnation_temperature")),
35 _sx(getParam<Real>(
"sx")),
36 _sy(getParam<Real>(
"sy")),
37 _sz(getParam<Real>(
"sz"))
48 mooseError(
"Negative temperature detected in NSWeakStagnationBaseBC!");
61 Real T_s = 0., p_s = 0., rho_s = 0.;
virtual Real rho_from_p_T(Real p, Real T) const override
virtual Real gamma() const
const MooseArray< Point > & _normals
void mooseError(Args &&... args) const
This class couples together all the variables for the compressible Navier-Stokes equations to allow t...
const VariableValue & _w_vel
const VariableValue & _v_vel
static InputParameters validParams()
const VariableValue & _u_vel
const IdealGasFluidProperties & _fp
Real _stagnation_pressure
Must be implemented in derived classes.
void staticValues(Real &T_s, Real &p_s, Real &rho_s)
static InputParameters validParams()
NSWeakStagnationBaseBC(const InputParameters ¶meters)
Real _stagnation_temperature