Skip to content

shor-ty/GAMGFcycleExtension

Repository files navigation

GAMG Extension and modularity extension

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 Versions

  • OpenFOAM-v2212
  • OpenFOAM-v2306
  • OpenFOAM-v2312

How to use the library?

  1. Clone the library into a directory you want

git clone https://github.com/shor-ty/GAMGExtension.git

  1. Enter the directory

cd GAMGExtension

  1. Source your OpenFOAM version (as an example):

source /etc/bashrc

  1. Compile the new library

wmake libso

  1. Add the following line to the controlDict of your simulation case

libs (GAMGFcycleExtension);

  1. Go to your fvSolution file and change the solver name from GAMG to GAMGExtension
  2. Add the new keyword cycleMode Vcycle; or cycleMode Fcycle; (VCycle is default)
  3. Done

Credit

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published