# ====================
# | Model parameters |
# ====================
#
# Continuous equation parameters
 &PARM01
 tRef=15*20.,
 sRef=15*35.,
 viscAh =3.E5,
#- biharmonic Viscosity: 3.e15 is close to the stability limit with deltaTMom=20mn
#viscA4 =3.E15,
 viscAr =1.E-3,
 diffKhT=0.,
 diffK4T=0.,
#- diffKrT unused when compiled with ALLOW_3D_DIFFKR
#diffKrT=3.E-5,
 diffKhS=0.,
 diffK4S=0.,
 diffKrS=3.E-5,
 ivdc_kappa=10.,
 implicitDiffusion=.TRUE.,
 gravity=9.81,
 rhoConst=1035.,
 rhoConstFresh=1000.,
 eosType='JMD95Z',
 staggerTimeStep=.TRUE.,
 vectorInvariantMomentum=.TRUE.,
 implicitFreeSurface=.TRUE.,
 tempAdvScheme=30,
 saltAdvScheme=30,
 exactConserv=.TRUE.,
 select_rStar=1,
 nonlinFreeSurf=2,
 hFacInf=0.2,
 hFacSup=2.0,
 useRealFreshWaterFlux=.TRUE.,
 hFacMin=.1,
 hFacMinDr=20.,
 readBinaryPrec=64,
 &

# Elliptic solver parameters
 &PARM02
 cg2dMaxIters=200,
 cg2dTargetResidual=1.E-9,
#cg2dTargetResWunit=6.648E-13,
 &

# Time stepping parameters
 &PARM03
 nIter0=36000,
 nTimeSteps=5,
 deltaTMom   =1200.,
 deltaTtracer=86400.,
 deltaTFreeSurf=86400.,
 deltaTClock =86400.,
 abEps = 0.1,
 alph_AB=0.6,
 beta_AB=0.0,
 forcing_In_AB=.FALSE.,
#momDissip_In_AB=.FALSE.,
 pChkptFreq  =311040000.,
 chkptFreq   = 31104000.,
#dumpFreq    = 31104000.,
#adjDumpFreq = 31104000.,
#monitorFreq = 31104000.,
#- forcing is set by EXF
# periodicExternalForcing=.TRUE.,
# externForcingPeriod=2592000.,
# externForcingCycle=31104000.,
# 2 months restoring timescale for temperature
# tauThetaClimRelax = 5184000.,
# 2yrs restoring timescale for salinity
# tauSaltClimRelax = 62208000.,
 monitorFreq   =1.,
 adjMonitorFreq=1.,
 dumpFreq    = 432000.,
 adjDumpFreq = 432000.,
 &

# Gridding parameters
 &PARM04
 usingCurvilinearGrid=.TRUE.,
 horizGridFile='grid_cs32',
 delR= 50., 70., 100., 140., 190.,
       240., 290., 340., 390., 440.,
       490., 540., 590., 640., 690.,
 &

# Input datasets
 &PARM05
 bathyFile      ='bathy_Hmin50.bin',
 hydrogThetaFile='lev_T_cs_15k.bin',
 hydrogSaltFile ='lev_S_cs_15k.bin',
#- forcing is set by EXF
# zonalWindFile  ='trenberth_taux.bin',
# meridWindFile  ='trenberth_tauy.bin',
# thetaClimFile  ='lev_surfT_cs_12m.bin',
# saltClimFile   ='lev_surfS_cs_12m.bin',
# surfQnetFile   ='shiQnet_cs32.bin',
# EmPmRFile      ='shiEmPR_cs32.bin',
 &
