Skip to content

exasim-project/FoamAdapter

Repository files navigation

Requirements | Compilation |

FoamAdapter

The purpose of this repository is to simplify and showcase how NeoFOAM can be used in combination with OpenFOAM. It provides converters between OpenFOAM and NeoFOAM datastructures, examples and tests.

Requirements

FoamAdapter has the following requirements

  • cmake 3.22+
  • gcc >= 10 or clang >= 17+
  • OpenFOAM 2406

Compilation

We provide several Cmake presets to set commmonly required flags if you compile FoamAdapter

cmake --list-presets # To list existing presets
cmake --preset production # To compile for production use

Structure

The repository is structured in the following way:

  • src and include implement common functionality to copy data between OpenFOAM and NeoFOAM
  • tests demonstrating that NeoFOAM and OpenFOAM deliver identical results are provided by this repository in the test folder.
  • examples provides examples which can be run like typical OpenFOAM cases

About

GPL Adapter for the MIT licensed NeoFOAM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published