CNSFVHLLCStagnationInletBC

This is the base object for applying a stagnation boundary condition to the mass, momentum, and energy equations. stagnation_temperature and stagnation_pressure are required parameters of any objects derived from this class. CNSFVHLLCStagnationInletBC computes several boundary quantities from the supplied stagnation temperature and pressure. Boundary temperature is computed with the assumptions laid out here via the relation:

Tb=T0V22cpT_b = T_0 - \frac{V^2}{2c_p}

where TbT_b is the boundary temperature, T0T_0 is the stagnation temperature, VV is the velocity and cpc_p is the specific heat capacity. In CNSFVHLLCStagnationInletBC VV is drawn from the cell centroid bordering the boundary, e.g. it is implicit. With TbT_b computed, the static pressure at the boundary is computed using the isentropic relation:

pb=p0(T0Tb)γγ1p_b = p_0 \left(\frac{T_0}{T_b}\right)^{\frac{-\gamma}{\gamma - 1}}

where p0p_0 is the stagnation pressure and γ\gamma is the ratio of the specific heats, e.g. cp/cvc_p/c_v.

Armed with the boundary pressure and temperature, CNSFVHLLCStagnationInletBC also computes the boundary values for the specific internal energy ee, density ρ\rho, and specific total enthalpy hth_t for use the flux expressions of the derived mass, momentum, and energy classes.