Alternatively, the values of the variables themselves could be set for the inflows.
which reduces to hydrostatic equilibrium when the velocity, .
In general, solve for .
Drop the mass and energy conservation equations from the boundary conditions. The density and energy are set by this condition.
Set inflow vertical momentum (mass flux) to
Drop the vertical momentum conservation equations from the boundary conditions because is set by this condition.