The Config file for this example serves two principal purposes;
(1) to specify the required units and (2) to register runtime parameters.
# configuration file for our example problem REQUIRES Driver REQUIRES physics/Eos/EosMain/Gamma REQUIRES physics/Hydro
After specifying the units, the Config file lists the runtime
parameters specific to this problem.
The names of runtime parameters are case-insensitive.
Note that no unit is
constrained to use only the parameters defined in its own
Config file. It can legitimately access any runtime parameter
registered by any unit included in the simulation.
PARAMETER sim_rhoLeft REAL 1. [0 to ] PARAMETER sim_rhoRight REAL 0.125 [0 to ] PARAMETER sim_pLeft REAL 1. [0 to ] PARAMETER sim_pRight REAL 0.1 [0 to ] PARAMETER sim_uLeft REAL 0. PARAMETER sim_uRight REAL 0. PARAMETER sim_xangle REAL 0. [0 to 360] PARAMETER sim_yangle REAL 90. [0 to 360] PARAMETER sim_posn REAL 0.5
Here we define (sim_rhoLeft), (sim_pLeft) and (sim_uLeft) as density, pressure and velocity to the left of the discontinuity, and (sim_rhoRight), (sim_pRight) and (sim_uRight) as density, pressure and velocity to the right of the discontinuity. The parameters (sim_xangle) and (sim_yangle) give the angles with respect to the and axes, and (sim_posn) specifies the intersection between the shock plane and axis. The quantities in square brackets define the permissible range of values for the parameters. The default value of any parameter (like sim_xangle) can be overridden at runtime by including a line (i.e. sim_xangle = 45.0) defining a different value for it in the flash.par file.