# Shallow water configuration example

**URL:** <https://nemo-ocean.discourse.group/t/shallow-water-configuration-example/737>\
**Category:** v4.2.x\
**Tags:** SWE\
**Created:** [15 August 2024 14:22 UTC](https://nemo-ocean.discourse.group/t/shallow-water-configuration-example/737 "2024-08-15T14:22:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![teekarna](https://avatars.discourse-cdn.com/v4/letter/t/a698b9/32.png) [@teekarna](https://nemo-ocean.discourse.group/u/teekarna)\
**Post date:** [15 August 2024 14:22 UTC](https://nemo-ocean.discourse.group/t/shallow-water-configuration-example/737/1 "2024-08-15T14:22:02Z")

</div>

NEMO v4.2.x now includes the SWE 2D shallow water module. Documentation is lacking, however.

Is there an example configuration somewhere that could be compiled and executed? A simple idealized test with closed boundaries would be fine.

---

<div class="post-metadata">

**Author:** ![acc](https://avatars.discourse-cdn.com/v4/letter/a/b38774/32.png) [@acc](https://nemo-ocean.discourse.group/u/acc)\
**Post date:** [19 August 2024 14:41 UTC](https://nemo-ocean.discourse.group/t/shallow-water-configuration-example/737/2 "2024-08-19T14:41:52Z")

</div>

There is the tests/SWG example that is:

" Square basin blown with an analytical wind. Vertical structure allows only one mode associated with reduced gravity to develop. This configuration is based on [[T17](https://sites.nemo-ocean.io/user-guide/tests.html#id23)]. Also runs with RK3 time stepping."

…would appear to be exactly what you are asking for. In case you miss it, the reference is:

A. Adcroft and D. Marshall. How slippery are piecewise-constant coastlines in numerical ocean models? _Tellus A: Dynamic Meteorology and Oceanography_, 50(1):95–108, 1998. [doi:10.3402/tellusa.v50i1.14514](https://doi.org/10.3402/tellusa.v50i1.14514).

---

<div class="post-metadata">

**Author:** ![teekarna](https://avatars.discourse-cdn.com/v4/letter/t/a698b9/32.png) [@teekarna](https://nemo-ocean.discourse.group/u/teekarna)\
**Post date:** [20 August 2024 12:49 UTC](https://nemo-ocean.discourse.group/t/shallow-water-configuration-example/737/3 "2024-08-20T12:49:02Z")

</div>

Thanks Andrew, this is what I was looking for.
