CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Community Contributions (
-   -   [Other] Open source repository - Adaptive mesh refinement (

wouterremmerie September 14, 2021 08:14

Open source repository - Adaptive mesh refinement
Hi everyone,

we just released an open-source version of the adaptive mesh refinement we've implemented at AirShaper:

It has been possible for quite some time to do adaptive mesh refinement in OpenFOAM / snappyHexMesh in terms of volume cells (plenty of libraries & tutorials available). But those typically only refine the volume cells and not the surface cells.

In this repository, we keep a copy of the original mesh before it is snapped to the surface. The refinement is then performed on this non-snapped mesh, after which it is snapped to the geometry again. This allows for refinement on the surface and it also guarantees accurate snapping of features & surfaces.

We're very much looking forward to any feedback & contributions from the community!


Wouter Remmerie & the AirShaper team.

All times are GMT -4. The time now is 04:43.