ic_freestream Subroutine

private subroutine ic_freestream(state, cfg)

Uniform free-stream from the config reference state (rho_inf,u_inf,v_inf,p_inf). Used to initialise supersonic inflow cases (e.g. the compression ramp).

Arguments

Type IntentOptional Attributes Name
type(solver_state_2d_t), intent(inout) :: state
type(config_2d_t), intent(in) :: cfg