New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
README.rst in NEMO/releases/r4.0/r4.0.5/tests – NEMO

source: NEMO/releases/r4.0/r4.0.5/tests/README.rst @ 15814

Last change on this file since 15814 was 14445, checked in by clem, 3 years ago

4.0.5: some corrections on the html user guide

File size: 7.1 KB
Line 
1**********************
2Explore the test cases
3**********************
4
5.. todo::
6
7   CANAL animated gif is missing
8
9.. contents::
10   :local:
11   :depth: 1
12
13Installation
14============
15
16Download
17--------
18
19| The complete and up-to-date set of test cases is available on
20  :github:`NEMO test cases repository <NEMO-examples>`.
21| Download it directly into the :file:`./tests` root directory with
22
23.. code-block:: console
24
25   $ git clone http://github.com/NEMO-ocean/NEMO-examples
26
27Compilation
28-----------
29
30The compilation of the test cases is very similar to
31the manner the reference configurations are compiled.
32If you are not familiar on how to compile NEMO,
33it is first recomended to read :doc:`the instructions <install>`.
34
35| As the reference configurations are compiled with ``-r`` option,
36  test cases can be compiled by the use of :file:`makenemo` with ``-a`` option.
37| Here an example to compile a copy named WAD2 of the wetting and drying test case (WAD):
38
39.. code-block:: console
40
41   $ ./makenemo -n 'WAD2' -a 'WAD' -m 'my_arch' -j '4'
42
43Run and analysis
44----------------
45
46There no requirement of specific input file for the test_cases presented here.
47The XIOS xml input files and namelist are already setup correctly.
48For detailed description and Jupyter notebook, the reader is directed on
49the :github:`NEMO test cases repository <NEMO-examples>`
50
51The description below is a brief advertisement of some test cases.
52
53List of test cases
54==================
55
56BENCH
57-----
58| Benchmark configuration. Allow to run any configuration (including ORCA type or BDY) with idealized grid
59  and initial state so it does not need any input file other than the namelists.
60  As usual, all configuration changes can be done through the namelist.
61  We provide 3 example of namelist_cfg to mimic ORCA1, OR025 or ORCA12 configurations.
62  By default do not produce any output file. An extensive description of BENCH will be abailable in
63  Irrmann et al. 2021.
64
65
66ICE_AGRIF
67---------
68
69.. figure:: _static/ICE_AGRIF_UDIAG_43days_UM5.gif
70   :width: 200px
71   :align: left
72
73   ..
74
75| This test case illustrates the advection of an ice patch across
76  an East/West and North/South periodic channel over a slab ocean (i.e. one ocean layer),
77  and with an AGRIF zoom (1:3) in the center.
78| The purpose of this configuration is to
79  test the advection of the ice patch in and across the AGRIF boundary.
80  One can either impose ice velocities or ice-atm.
81  Stresses and let rheology define velocities (see :file:`README` for details)
82
83VORTEX
84------
85
86.. figure:: _static/VORTEX_anim.gif
87   :width: 200px
88   :align: right
89
90   ..
91
92This test case illustrates the propagation of an anticyclonic eddy over a Beta plan and a flat bottom.
93It is implemented here with an online refined subdomain (1:3) out of which the vortex propagates.
94It serves as a benchmark for quantitative estimates of nesting errors as in :cite:`DEBREU2012`,
95:cite:`PENVEN2006` or :cite:`SPALL1991`.
96
97The animation (sea level anomaly in meters) illustrates with
98two 1:2 successively nested grids how the vortex smoothly propagates out of the refined grids.
99
100ISOMIP
101------
102
103.. figure:: _static/ISOMIP_moc.png
104   :width: 200px
105   :align: left
106
107   ..
108
109| The purpose of this test case is to evaluate the impact of various schemes and new development with
110  the iceshelf cavities circulation and melt.
111  This configuration served as initial assesment of the ice shelf module in :cite:`LOSCH2008` and
112  :cite:`MATHIOT2017`.
113  The default setup is the one described |ISOMIP|_.
114| The figure (meridional overturning circulation) illustrates
115  the circulation generated after 10000 days by the ice shelf melting (ice pump).
116
117.. |ISOMIP| replace:: here
118
119LOCK_EXCHANGE
120-------------
121
122.. figure:: _static/LOCK-FCT4_flux_ubs.gif
123   :width: 200px
124   :align: right
125
126   ..
127
128| The LOCK EXCHANGE experiment is a classical fluid dynamics experiment that has been adapted
129  by :cite:`HAIDVOGEL1999` for testing advection schemes in ocean circulation models.
130  It has been used by several authors including :cite:`BURCHARD2002` and :cite:`ILICAK2012`.
131  The LOCK EXCHANGE experiment can in particular illustrate
132  the impact of different choices of numerical schemes and/or subgrid closures on
133  spurious interior mixing.
134| Here the animation of the LOCK_EXCHANGE test case using
135  the advection scheme FCT4 (forth order) for tracer and ubs for dynamics.
136
137OVERFLOW
138--------
139
140.. figure:: _static/OVF-sco_FCT4_flux_cen-ahm1000.gif
141   :width: 200px
142   :align: left
143
144   ..
145
146| The OVERFLOW experiment illustrates the impact of different choices of numerical schemes and/or
147  subgrid closures on spurious interior mixing close to bottom topography.
148  The OVERFLOW experiment is adapted from the non-rotating overflow configuration described in
149  :cite:`HAIDVOGEL1999` and further used by :cite:`ILICAK2012`.
150  Here we can assess the behaviour of the second-order tracer advection scheme FCT2 and
151  forth-order FCT4, z-coordinate and sigma coordinate (...).
152| Here the animation of the OVERFLOW test case in sigma coordinate with
153  the forth-order advection scheme FCT4.
154
155WAD
156---
157
158.. figure:: _static/wad_testcase_7.gif
159   :width: 200px
160   :align: right
161
162   ..
163
164| A set of simple closed basin geometries for testing the Wetting and drying capabilities.
165  Examples range from a closed channel with EW linear bottom slope to
166  a parabolic EW channel with a Gaussian ridge.
167| Here the animation of the test case 7.
168  This test case is a simple linear slope with a mid-depth shelf with
169  an open boundary forced with a sinusoidally varying ssh.
170  This test case has been introduced to emulate a typical coastal application with
171  a tidally forced open boundary with an adverse SSH gradient that,
172  when released, creates a surge up the slope.
173  The parameters are chosen such that
174  the surge rises above sea-level before falling back and oscillating towards an equilibrium position.
175
176CANAL
177-----
178
179.. figure:: _static/CANAL_image.gif
180   :width: 200px
181   :align: left
182
183   ..
184
185East-west periodic canal of variable size with several initial states and
186associated geostrophic currents (zonal jets or vortex).
187
188ICE_ADV2D
189---------
190
191| This test case illustrates the advection of an ice patch across
192  an East/West and North/South periodic channel over a slab ocean (i.e. one ocean layer).
193  The configuration is similar to ICE_AGRIF, except for the AGRIF zoom.
194| The purpose of this configuration is to test the advection schemes available in the sea-ice code
195  (for now, Prather and Ultimate-Macho from 1st to 5th order),
196  especially the occurence of overshoots in ice thickness
197
198ICE_ADV1D
199---------
200
201| This experiment is the classical :cite:`SCHAR1996` test case ,
202  which has been used in :cite:`LIPSCOMB2004`, and in which very specific shapes of ice concentration,
203  thickness and volume converge toward the center of a basin.
204  Convergence is unidirectional (in x) while fields are homogeneous in y.
205| The purpose of this configuration is to
206  test the caracteristics of advection schemes available in the sea-ice code
207  (for now, Prather and Ultimate-Macho from 1st to 5th order),
208  especially the constitency between concentration, thickness and volume,
209  and the preservation of initial shapes.
210
211.. rubric:: References
212
213.. bibliography:: tests.bib
214   :all:
215   :style: unsrt
216   :labelprefix: T
Note: See TracBrowser for help on using the repository browser.