23 "Computes the 1-phase boundary flux directly from specified functions.");
30 "Name of fluid properties user object");
38 _rho_fn(getFunction(
"rho")),
39 _vel_fn(getFunction(
"vel")),
40 _p_fn(getFunction(
"p")),
48 const std::vector<ADReal> & U1,
50 std::vector<ADReal> & flux)
const 59 const Real e =
_fp.e_from_p_rho(p, rho);
60 const Real E = e + 0.5 * vel * vel;
const SinglePhaseFluidProperties & _fp
static InputParameters validParams()
virtual void calcFlux(unsigned int iside, dof_id_type ielem, const std::vector< ADReal > &U1, const RealVectorValue &normal, std::vector< ADReal > &flux) const override
Solve the Riemann problem on the boundary face.
BoundaryFlux3EqnFunction(const InputParameters ¶meters)
Common class for single phase fluid properties.
A base class for computing/caching fluxes at boundaries.
static const unsigned int N_FLUX_OUTPUTS
Number of numerical flux function outputs for 1D.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Computes the 1-phase boundary flux directly from specified functions.
static InputParameters validParams()
virtual Real value(Real t, const Point &p) const
registerMooseObject("ThermalHydraulicsTestApp", BoundaryFlux3EqnFunction)