subsonic_inlet_ghost Subroutine

private subroutine subsonic_inlet_ghost(state, side, q_wall, q_ghost)

'subsonic_inlet' ghost: characteristic-based subsonic inflow.

The incoming state is reconstructed from the prescribed stagnation conditions and the outgoing Riemann invariant extrapolated from the interior. Falls back to zero-gradient on a negative discriminant or a non-physical ghost.

Arguments

Type IntentOptional Attributes Name
type(solver_state_t), intent(in) :: state
character(len=1), intent(in) :: side
real(kind=wp), intent(in) :: q_wall(3)
real(kind=wp), intent(out) :: q_ghost(3)