23 "1-phase, variable-area Euler equations");
28 "Name of fluid properties user object");
37 _p(getParam<
Real>(
"p")),
50 const ADReal vel = rhouA / rhoA;
51 const ADReal E =
_fp.e_from_p_rho(
_p, rho) + 0.5 * vel * vel;
static InputParameters validParams()
static InputParameters validParams()
Computes boundary flux from a specified pressure for the 1-D, 1-phase, variable-area Euler equations...
const SinglePhaseFluidProperties & _fp
Fluid properties object.
ADBoundaryFlux3EqnGhostPressure(const InputParameters ¶meters)
virtual std::vector< ADReal > getGhostCellSolution(const std::vector< ADReal > &U1) const override
Gets the solution vector in the ghost cell.
registerMooseObject("ThermalHydraulicsApp", ADBoundaryFlux3EqnGhostPressure)
Computes boundary fluxes for the 1-D, variable-area Euler equations using a numerical flux user objec...
const Real & _p
Specified pressure.
Common class for single phase fluid properties.
static const unsigned int N_FLUX_INPUTS
Number of numerical flux function inputs for 1D.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real