This repository uses extends the standard GAMG solver within OpenFOAM by the F-Cycle. Hence, the user can specify if one wants to use the common V-cycle or the new implemented F-cycle. Tests showed that the F-cycle does not have any benefit in terms of speedup to the simulation cases but it is also stated that the F-cycle benefit is mainly related to stiff problems.
The library also extends the GAMG library in a more modular way offering a better extension for other cycles and tests.
- OpenFOAM-v2212
- OpenFOAM-v2306
- OpenFOAM-v2312
- Clone the library into a directory you want
- Enter the directory
cd GAMGExtension
- Source your OpenFOAM version (as an example):
source /etc/bashrc
- Compile the new library
wmake libso
- Add the following line to the controlDict of your simulation case
libs (GAMGFcycleExtension);
- Go to your fvSolution file and change the solver name from GAMG to GAMGExtension
- Add the new keyword
cycleMode Vcycle;orcycleMode Fcycle;(VCycle is default) - Done
This repository was re-build and modified by Tobias Holzmann. The base idea however, came from Minhao Xu, see gitlab issue #2054. Based on his intension, Tobias Holzmann rebuild the code on basis of the latest ESI-OpenFOAM version.