
Sample namelist file for BARBI

&barbi 

      time_step=3600,    
      runlen=1825.,
      snapint = 5.,

      imt=20,
      jmt=20,
      n_order=3,

      Am=2.0e5,
      Ah=2e3,
      Av=1.0e-4,
      N0= 0.00260,

      jlat0=1,
      enable_beta_plane = .true.,
      enable_f_plane    = .false.,

      cyclic = .false.,
      enable_obc_north = .false.,
      enable_obc_south = .false.,
      enable_obc_west = .false.,
      enable_obc_east = .false.,

      eps_solver=1.0, 
      eps_solver_p=1.e-6,

      read_restart=.false.,
      write_restart=.true.,
      snap_file='snap.cdf',
      write_modes=.false.,
      restart_file='restart.cdf',
&end

Namelist parameter for BARBI:

time_step : time step in seconds
runlen    : time of integration in days      
snapint   : interval for writing diagnostics in days

imt       : grid points in zonal direction
jmt       : grid points in meridional direction
n_order   : order of the hierachy

Am        : horizontal viscosity in m^2/s
Ah        : horizontal diffusivity in m^2/s
Av        : vertical viscosity in m^2/s
N0        : Brunt-Vaesaelae frequency in s^-1

jlat0     : reference index in meridional direction for beta plane approx.
enable_beta_plane : if true use beta plane approx.
enable_f_plane    : if true use f plane approx.

cyclic = if true use cyclic zonally boundary conditions
enable_obc_north = if true use open northern boundary conditions
enable_obc_south = same for south
enable_obc_west = 
enable_obc_east = 

eps_solver: convergence criterium for poisson solver (streamfct.)
eps_solver_p: convergence criterium for bottom pressure

read_restart : read from restart file if true
write_restart: write to restart file if true
snap_file    : filename for NetCDF output file
write_modes  : write baroclinic modes instead of density moments
restart_file : filename for restart file

