exasim-project / NeoFOAM

WIP Prototype of a modern CFD core
20 stars 1 forks source link

Cmake build system #4

Closed greole closed 8 months ago

greole commented 8 months ago

This PR adds some basic cmake setup, this includes

In a separate PR we should handle

HenningScheufler commented 8 months ago

Regarding the modules are the compatible with the current release of OpenFOAM or the require significant modification inside the OpenFOAM legacy?

greole commented 8 months ago

Regarding the modules are the compatible with the current release of OpenFOAM or the require significant modification inside the OpenFOAM legacy?

That depends on how exactly we implement NeoFOAM. If we just emit a libOpenFOAM.so and libFiniteVolume.so to overwrite the existing one than modules don't interfere. However, this might be impractical since we need to match OpenFOAMs the ABI to avoid having missing symbol errors at runtime. A safer option would be to step by step migrate the applications. Ideally migrating just means copying the solver folder to applications and to replace the #include fvCFD by import NeoFOAM