Fill state % ub over interior cells according to cfg % problem_type.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(solver_state_2d_t), | intent(inout) | :: | state | |||
| type(config_2d_t), | intent(in) | :: | cfg |
Constant state rho=1, u=0, v=0, p=1.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(solver_state_2d_t), | intent(inout) | :: | state | |||
| type(config_2d_t), | intent(in) | :: | cfg |
Classic isentropic vortex (Shu 1998). Mean flow rho=1,p=1,u=v=1; strength beta=5; centred at the domain midpoint. Exact, smooth, periodic.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(solver_state_2d_t), | intent(inout) | :: | state | |||
| type(config_2d_t), | intent(in) | :: | cfg |
Sedov-Taylor blast: ambient rho=1,p=1e-5; total energy E=1 deposited as high pressure in cells within r0 = 3.5*dx of the domain centre (cylindrical).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(solver_state_2d_t), | intent(inout) | :: | state | |||
| type(config_2d_t), | intent(in) | :: | cfg |
Toro 2D explosion: circle R=0.4 at the domain centre; inside rho=1,p=1; outside rho=0.125,p=0.1; u=v=0.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(solver_state_2d_t), | intent(inout) | :: | state | |||
| type(config_2d_t), | intent(in) | :: | cfg |
Lax-Liu Config 3 four-quadrant Riemann problem (split at the domain centre).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(solver_state_2d_t), | intent(inout) | :: | state | |||
| type(config_2d_t), | intent(in) | :: | 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).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(solver_state_2d_t), | intent(inout) | :: | state | |||
| type(config_2d_t), | intent(in) | :: | cfg |