2.7. Setting up experiments¶
To construct a new experiment
(experiment is essentially synonymous to simulation or project)
in DISPATCH one can often start out
from an existing experiment, clone it into a new experiments/whatever/
directory, and modify or replace the existing files. In fact, an
experiment is completely defined by the (relatively few) files that
are present in the specific experiments/whatever/
directory.
The main files present there, and their funcionalities, are:
Makefile
: select the main solver responsible for evolving the experimentexperiment_mod.f90
: specify initial conditions (ICs) and boundary conditions (BCs)scaling_mod.f90
: specify scaling between physical and code unitsextras_mod.f90
: select additional functionalities from theextras/
directory, such as selfgravity, radiative transfer, auxiliary HDF5 output, etc.run.nml
: specify, in Fortran namlist input files (*.nml
) the parameters of specific runs of the experiment.python/*.{py,ipynb}
: provide Python support; e.g. for preparation of input and/or analysis of output