Gerris is a tool for generic numerical simulations of flows (CFD), in geometrically complex geometries and including adaptive, multiphase and interfacial flows capabilities.
It can deal with arbitrarily complex solid boundaries in an automatic manner and uses dynamic adaptive mesh refinement to optimize the discretisation according to the flow solution.
Gerris uses an “embedded boundary” technique. Grid generation reduces to the computation of the “shape” (surface and volume fractions) of Cartesian (cubic) cells cut by the solid boundaries.
The software is supported by NIWA (National Institute of Water and Atmospheric research) and by the and Institut Jean le Rond d’Alembert.
Key Features
- Solves the time-dependent incompressible variable-density Euler, Stokes or Navier-Stokes equations.
- Adaptive mesh refinement: the resolution is adapted dynamically to the features of the flow.
- Entirely automatic mesh generation in complex geometries.
- Quadtree-based (Octree in 3D) spatial discretisation with automatic (and possibly dynamic) local refinement.
- Unlimited number of advected/diffused passive tracers.
- Multigrid Poisson solver.
- Second-order Godunov type advection scheme.
- Solves the time-dependent incompressible Euler equations.
- Solves the shallow-water (Saint-Venant) equations.
- Support for complex solid boundaries (automatic locally-refined mesh generation).
- Flexible object-oriented specification of boundary conditions.
- Portable parallel support using the MPI library.
- Flexible specification of additional source terms.
- Accurate surface tension model.
- Multiphase electrohydrodynamics.
Website: gerris.dalembert.upmc.fr/gerris/
Support: Examples
Developer: Stéphane Popinet, Marcelo E. Magallon
License: GNU General Public License v2.0

Gerris is written in C. Learn C with our recommended free books and free tutorials.
Related Software
| Physics Tools | |
|---|---|
| ROOT | Solves the data analysis challenges of high-energy physics |
| OpenFOAM | Facilitates the numerical solution of partial differential equations |
| McStas | Neutron ray-trace simulation application |
| Octopus | Real-space, real-time implementation of TDDFT |
| Geant4 | Toolkit for the simulation of the passage of particles through matter |
| Rivet | Particle-physics MC analysis toolkit |
| HepMC | Event record for High Energy Physics Monte Carlo generators |
| Elmer | Finite Element Software for Multiphysical Problems |
| PYTHIA | Generation of high-energy physics events |
| CP2K | Quantum chemistry and solid state physics software package |
| Sherpa | Monte Carlo event generator |
| FastJet | Software for jet finding in pp and e+e− collisions |
| SU2 | Suite for multiphysics simulation and design |
| Herwig | Multi-purpose particle physics event generator |
| Tracker | Video analysis and modeling tool designed to be used in education |
| WarpX | Advanced electromagnetic and electrostatic Particle-In-Cell code |
| Step | Interactive physics simulator |
| Meep | Electromagnetic simulation - finite-difference time-domain method |
| LHAPDF | General purpose C++ interpolator |
| ESPResSo | Molecular dynamics package |
| DualSPHysics | Smoothed Particle Hydrodynamics solver |
| Basilisk | Numerical simulation framework for solving partial differential equations |
| Gerris Flow Solver | Tool for generic numerical simulations of flows |
| ASL | Hardware accelerated multiphysics simulation platform |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

