Skip to main content
Ctrl K

Thetis

Thetis is an unstructured grid coastal ocean model built using the Firedrake finite element framework. Currently Thetis consists of 2D depth averaged and full 3D baroclinic models.

132
mentions
1
contributor
Get started
1656 commitsLast commit ≈ 3 weeks ago86 stars34 forks

Description

🌊 Thetis

Thetis is an open-source, finite element framework for simulating coastal and estuarine flows with advanced numerics, high flexibility, and easy extensibility.

Thetis builds on the Firedrake finite element library to provide robust solvers for 2D/3D shallow water equations and related physical processes in the coastal ocean.


🌟 Key Features

✅ 2D depth-averaged and 3D baroclinic shallow water solvers
✅ Wetting and drying schemes for realistic coastlines
✅ Scalar transport (salinity, temperature, tracers)
✅ Adjoint capabilities for data assimilation and inverse modeling
✅ Flexible unstructured meshes
✅ Open-source and easily extensible Python codebase

📚 Full documentation and installation instructions are available at thetisproject.org


🚀 Installation

Please see the installation instructions on the website for full details.

For the release branch:

  1. Install Firedrake and activate its virtual environment.
  2. Install Thetis within the Firedrake environment:
pip install git+https://github.com/thetisproject/thetis.git

You can instead install and switch between different versions of Thetis with:

git clone https://github.com/thetisproject/thetis
cd thetis
git checkout <branch_name>
pip install -e .

Note
The latest development branch of Thetis (main) will require the corresponding main branch of Firedrake. See the
website for more details.


Getting Started

To get up and running with Thetis once it has been installed, we recommend checking out the basic tutorials and
documentation
. Further examples can then be found in the
repository at examples. See examples/README.md for
detailed descriptions of each example script.


📬 Questions?

Check the website for ways of reaching out to developers!


Citing Thetis

If Thetis is helpful in your research, please cite:

Kärnä, T., Kramer, S. C., Mitchell, L., Ham, D. A., Piggott, M. D. & Baptista, A. M. (2018).
Thetis coastal ocean model: discontinuous Galerkin discretization for the three-dimensional hydrostatic equations.
Geoscientific Model Development, 11: 4359–4382.
doi: 10.5194/gmd-11-4359-2018


License

Thetis is available under the MIT License. See the LICENSE file for details.

Keywords
Badges
Python VersionWeekly Tests (release)Weekly Tests (main)
Programming language
  • Python 100%
License
</>Source code

Reference papers

Mentions

Contributors

Contact person

SK
Stephan Kramer