21 params.
addClassDescription(
"Computes the outflow boundary flux directly for the 1-D, 1-phase, "
22 "variable-area Euler equations");
25 "Name of fluid properties user object");
40 const std::vector<ADReal> & U1,
41 const RealVectorValue & ,
42 std::vector<ADReal> & flux)
const
51 const ADReal vel1 = rhouA1 / rhoA1;
52 const ADReal v1 = 1.0 / rho1;
53 const ADReal e1 = rhoEA1 / rhoA1 - 0.5 * vel1 * vel1;
registerMooseObject("ThermalHydraulicsApp", ADBoundaryFlux3EqnFreeOutflow)
DualNumber< Real, DNDerivativeType, true > ADReal
Computes the outflow boundary flux directly for the 1-D, 1-phase, variable-area Euler equations.
ADBoundaryFlux3EqnFreeOutflow(const InputParameters ¶meters)
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.
const SinglePhaseFluidProperties & _fp
static InputParameters validParams()
A base class for computing/caching fluxes at boundaries.
static InputParameters validParams()
Common class for single phase fluid properties.
static const unsigned int N_FLUX_OUTPUTS
Number of numerical flux function outputs for 1D.