
#---------------- Planet ----------------

# Planetary radius : real (default=6371220)
radius = 6.37122e6

# Gravity : real (default=9.80616)
g = 9.80616

# kappa=Rd/cpp : real (default=0.2857143)
kappa = 0.2857143

# Heat capacity at constant pressure : real (default=1004.70885)
cpp = 1004.5

# Reference pressure : real (default=101325)
preff = 1e5

# Planetary rotation rate : real (default=7.292E-5)
omega = 0


#---------------- Constants ----------------

# Reference temperature T0 for DCMIP test cases : real (default=300)
ncar_T0 = 300

# Reference pressure p0 for DCMIP test cases, used by disvert if disver=ncar : real (default=1e5)
ncar_p0 = 1e5

# Exponent for B(eta), used by disvert if disvert=ncar : integer (default=1)
ncar_disvert_c = 1


#---------------- Mesh ----------------

# Number of subdivisions on a main triangle : integer (default=40)
nbp = 80

# Number of vertical layers : integer (default=19)
llm = 10

# Vertical grid : [std|ncar|ncarl30] (default=std)
disvert = ncar

# Model layer thickness in m, used if disvert=ncar : real (default=300)
ncar_dz = 1000

# Mesh optimisation : number of iterations : integer (default=0)
optim_it = 100

# Sub splitting of main rhombus : integer (default=1)
nsplit_i = 2
nsplit_j = 2


#---------------- Numerics ----------------

# Time step in s : real (default=480)
dt = 240

# Dissipation time for grad(div) : real (default=5000)
tau_graddiv = 9000

# Exponent of grad(div) disspation : integer (default=1)
nitergdiv = 2

# Dissipation time for curl(curl) : real (default=5000)
tau_gradrot = 9000

# Exponent of curl(curl) disspation : integer (default=1)
nitergrot = 2

# Dissipation time for div(grad) : real (default=5000)
tau_divgrad = 9000

# Exponent of div(grad) disspation : integer (default=1)
niterdivgrad = 2


#---------------- Time ----------------

# Run length in s : real (default=??)
run_length = 4.5e5

# Interval in s between two outputs : integer (default=??)
write_period = 12500


#---------------- Physical parameters ----------------

# Scale factor for small planet experiment : real (default=1.)
scale_factor = 125

# Initial state : 
#   [jablonowsky06|academic|dcmip[1-4]|heldsz|dcmip2_schaer_noshear] (default=jablonowsky06)
etat0 = dcmip3

