1. Decide on a name for the problem initialization.
This is different from the case name specified in AN_ID.h. Choose a name
that can be used as an identifier tag for this setup, for example NA1.
Set up a file Prep_parm.tag_root with the
tag_root extension that identifies the present model setup, NA1 in
the present example. This file will contain the values of the following
parameters:
2. Write the tag_root name (NA1 in this example) as the one line of a file prep.in which will be used as the input file in the execution of the file prep. The prep file can then be executed with the command
prep < prep.in >& prep.out
and the standard out will be sent to the file prep.out. If an input file such as prep.in is not used, you need only execute prep and then supply the tag_root identifier name interactively when it is requested by the program.
When prep is executed it creates several subdirectories of the project directory for output files. These subdirectories are identified by the tag_root for the present run:
OUTPUT.TAG_ROOT
OUTPUT.TAG_ROOT/DATA
OUTPUT.TAG_ROOT/SETUP
For example, if the tag_root is NA1, then the subdirectory that will be created is OUTPUT.NA1, with its two subdirectories as above. At present, the following files are created and put in the OUTPUT.TAG_ROOT/DATA directory:
The above files will be used by the MAIN/ main.F program when running model simulations. At present, three files that are used to set up the simulation are copied from the PREP directory to the subdirectory OUTPUT.TAG_ROOT/SETUP. The user may wish to add additional files to this directory in order to keep a record of how the run was initiated. These files are saved solely for this purpose. The files presently stored in OUTPUT.TAG_ROOT/SETUP are:
OUTPUT.TAG_ROOT/SETUP/ AN_ID.h
OUTPUT.TAG_ROOT/SETUP/ Def_prep.h
OUTPUT.TAG_ROOT/SETUP/ Diecast.h