Sample parameter file


We comment the template.par file provided in the distribution in the 'in/' directory.

The parameter file is the list of all parameters (one per line). It is the equivalent of a namelist for a FORTRAN code.


### Disk parameters
A line that begins with a '#' is ignored (comment)


A line containing only separators, or empty, is also ignored
AspectRatio       0.05            Thickness over Radius
Sigma0            6.3661977237e-4 Surface Density at r=1
Viscosity         1e-5            Uniform kinematic viscosity
SigmaSlope        0.0             Slope of surface density profile
                                  #here constant.

### Planet parameters


Parameter references are case insensitive: AspectRatio, ASPECTRATIO or aspectratio are all  valid
PlanetConfig        in/Jup.cfg
Parameters can have several types. Here the type of PlanetConfig is STRING
ThicknessSmoothing     0.6     Smoothing length in disk thickness
and the type of ThicknessSmoothing is FLOAT

### Numerical method parameters



Transport        FARGO
InnerBoundary    NONREFLECTING   e.g. OPEN, RIGID or NONREFLECTING
Disk             YES
OmegaFrame       1.0
Frame            Guiding-Center
IndirectTerm     YES


### Mesh parameters


Some parameters have a default value, and do not need to be defined if one want them to be set to this default value. Others do not have a default value and must be defined (otherwise an error message is issued and the code stops).
Nrad            128        Radial number of zones
Nsec            384        Azimuthal number of zones (sectors)
Rmin            0.4        Inner boundary radius
Rmax            2.5        Outer boundary radius
RadialSpacing   Arithmetic Zone interfaces evenly spaced


The type of Nrad is INTEGER.
Any trailing information (i.e. that appears after any separator after the parameter value) is discarded and constitutes therefore a comment.
### Output control parameters

Ntot            10001             Total number of time steps
Ninterm         20                Time steps between outputs
DT              0.314159265359    Time step length. 2PI = 1 orbit
OutputDir       out1

The parameter ordering is arbitrary. A warning is issued if a parameter is defined more than once.