Output format and directories architecture


1. Directories architecture
This paragraph briefly presents the directories architecture that corresponds to the distribution provided, and that I frequently use in most of my runs. Nevertheless, this architecture is not mandatory. One is free to put the parameter input files and output in any directory. Also, the executable fargo could be copied into a global or local bin/ directory so as to reside in the path.




fargo directory (top of distribution)
Contains fargo executable
and IDL widget application mp.pro














|














 |
  

|
 


|

   |
  

           
|
in/ directory.
Contains parameter files (*.par)
and planetary system files (*.cfg)

out1/ directory
Contains files output by the run of in/template.par, or by one of the Stockholm test runs (Jupiter mass planet in a viscous disk).
 
out2/ directory

out3/ directory, etc.

src/ directory.
Contains FARGO source files



Although one can give to the output directories any name, it is useful to name them out1, out2, etc. Indeed, the mp.pro widget enables one to select automatically outn  as the current output directory when one selects Disk Number n in the top left pull down menu 'Disk Number'.

A good idea is to give an explanatory name to the output directory, such as output/JupiterAndUranus, and to create from the fargo directory a soft link to that directory:
ln -s output/JupiterAndUranus out1



Note also that all the paths specified in a parameter file are the paths relative to the directory where fargo is launched. In all the cases included in the distribution, fargo has to be launched from the fargo directory (top of distribution), in the following manner:
./fargo in/parameterfile.par
As a consequence, the planetary system files referred to by PlanetConfig in the parameter files provided are addressed as in/something.cfg instead of simply something.cfg. Similarly, the output directories are out1, out2, etc. instead of ../out1, ../out2, etc.
Naturally, one can also give absolute paths instead of relative paths for the PlanetConfig and OutputDir parameters.


2. Output files format
The purpose of this paragraph is to provide a description of the different files written to the disk at runtime, and to describe their format. Note that at runtime any file fargo creates or updates is located in the directory referred to by OutputDir in the parameter file of the run. Nothing is done by fargo outside of this directory.