23 "Computes a boundary flux from a specified velocity and temperature for the 1-D, " 24 "1-phase, variable-area Euler equations using a ghost cell");
28 params.
addParam<
bool>(
"reversible",
true,
"True for reversible, false for pure inlet");
31 "Name of single-phase fluid properties user object");
41 _vel(getParam<
Real>(
"vel")),
42 _T(getParam<
Real>(
"T")),
43 _reversible(getParam<bool>(
"reversible")),
63 const ADReal vel = rhouA / rhoA;
64 const ADReal E = rhoEA / rhoA;
65 const ADReal e = E - 0.5 * vel * vel;
static InputParameters validParams()
static InputParameters validParams()
const Real & _T
Specified temperature.
Computes boundary fluxes for the 1-D, variable-area Euler equations using a numerical flux user objec...
const SinglePhaseFluidProperties & _fp
Fluid properties object.
Common class for single phase fluid properties.
static const unsigned int N_FLUX_INPUTS
Number of numerical flux function inputs for 1D.
ADBoundaryFlux3EqnGhostVelocityTemperature(const InputParameters ¶meters)
const Real & _vel
Specified velocity.
virtual std::vector< ADReal > getGhostCellSolution(const std::vector< ADReal > &U, const Point &point) const override
Gets the solution vector in the ghost cell.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
bool isInlet(Real vel, Real normal)
Determine if inlet boundary condition should be applied.
registerMooseObject("ThermalHydraulicsApp", ADBoundaryFlux3EqnGhostVelocityTemperature)
const bool & _reversible
Reversible flag.
const Real & _normal
Outward normal.
Computes a boundary flux from a specified velocity and temperature for the 1-D, 1-phase, variable-area Euler equations using a ghost cell.