|
|
|
|
|
|
|
* [Tune NEMO](#tune-nemo)
|
|
|
|
* [Tuning config](#tune-nemo-tuning-config)
|
|
|
|
* [Set diags](#tune-nemo-set-diags)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a name="tune-nemo"></a>
|
|
|
|
===============================
|
|
|
|
## Tune NEMO
|
|
|
|
|
|
|
|
|
|
|
|
<a name="tune-nemo-tuning-config"></a>
|
|
|
|
========================
|
|
|
|
#### Some Tuning for your config
|
|
|
|
|
|
|
|
|
|
|
|
_VVL_:
|
|
|
|
|
|
|
|
for Variable volume activated (VVL) cases
|
|
|
|
|
|
|
|
* namelist_cfg / &namdom / ln_linssh=.false.
|
|
|
|
|
|
|
|
|
|
|
|
_tides_:
|
|
|
|
|
|
|
|
to process tides simulation on namelist_cfg:
|
|
|
|
* VVL activation
|
|
|
|
* variable vertical coordinate / &nam_vvl / *zstar* ln_vvl_zstar = T
|
|
|
|
* Hydrostatic pressure gradient option / &namdyn_hpg / ln_hpg_sco = .true. ! s-coordinate (standard jacobian formulation)
|
|
|
|
|
|
|
|
|
|
|
|
_Miscellaneous_:
|
|
|
|
|
|
|
|
on namelist_cfg:
|
|
|
|
* &nambdy if condition "frs" on tracers : cn_tra ='frs' then ln_tra_dmp=False the same for "dyn3d"
|
|
|
|
* &nambdy if shortwave inputs frequency <24h then &namsbc / ln_dm2dc = .false.
|
|
|
|
* &namsbc section / nn_fsbc = 5 ! frequency of SBC module call ... to develop ...
|
|
|
|
* time interpolation ...
|
|
|
|
|
|
|
|
|
|
|
|
<a name="tune-nemo-set-diags"></a>
|
|
|
|
========================
|
|
|
|
#### Set diagnostics
|
|
|
|
|
|
|
|
|
|
|
|
_Trends mld_:
|
|
|
|
|
|
|
|
activation of trends 2D on mixed layer depth (mld) , here the entrainment term of the trend terms is considered as 0
|
|
|
|
|
|
|
|
a) on trdmxl_oce.F : change nn_ctls = 9 (9 niveau environ 10m, depend of your configuration)
|
|
|
|
b) cpp key : activate **key_diahth**
|
|
|
|
c) on namelist_cfg : &namtrd section /
|
|
|
|
ln_tra_trd = .true. ! (T) 3D tracer trend output
|
|
|
|
ln_tra_mxl = .true. ! (T) 2D tracer trends averaged over the mixed layer
|
|
|
|
d) on the file_def xml file , activate trends mld ==> enable=.TRUE.
|
|
|
|
|
|
|
|
|
|
|
|
_Tides Diags_:
|
|
|
|
|
|
|
|
activation harmonic analysis of tidal constituents
|
|
|
|
|
|
|
|
a) on namelist_cfg : &nam_diaharm section :
|
|
|
|
|
|
|
|
ln_diaharm = .true. ! Choose tidal harmonic output or not
|
|
|
|
nit000_han = NIT000 ! First time step used for harmonic analysis
|
|
|
|
nitend_han = NITEND ! Last time step used for harmonic analysis
|
|
|
|
nstep_han = 8 ! Time step frequency for harmonic analysis
|
|
|
|
tname(1) = 'M2' ! Name of tidal constituents
|
|
|
|
tname(2) = 'K1' ! ---
|
|
|
|
|
|
|
|
If time step = 150s , a frequency of 20 min give nstep_han = 8
|
|
|
|
|
|
|
|
b) on the file_def xml file:
|
|
|
|
<file id="file0" name_suffix="_grid_harm" description="ocean T grid harmo" >
|
|
|
|
<field field_ref="M2x" name="M2x"/>
|
|
|
|
<field field_ref="K1x" name="K1x"/>
|
|
|
|
<field field_ref="M2x_u" name="M2x_u"/>
|
|
|
|
<field field_ref="K1x_u" name="K1x_u"/>
|
|
|
|
<field field_ref="M2x_v" name="M2x_v"/>
|
|
|
|
<field field_ref="K1x_v" name="K1x_v"/>
|
|
|
|
|
|
|
|
<field field_ref="M2y" name="M2y"/>
|
|
|
|
<field field_ref="K1y" name="K1y"/>
|
|
|
|
<field field_ref="M2y_u" name="M2y_u"/>
|
|
|
|
<field field_ref="K1y_u" name="K1y_u"/>
|
|
|
|
<field field_ref="M2y_v" name="M2y_v"/>
|
|
|
|
<field field_ref="K1y_v" name="K1y_v"/>
|
|
|
|
</file>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|