Source code is locatated at the link below:
OpenFoam Convergence Detection Repository
- Install OpenFoam
# Add the repository
curl https://dl.openfoam.com/add-debian-repo.sh | sudo bash
# Install openfoam-default (https://develop.openfoam.com/Development/openfoam/-/wikis/precompiled)
# package which includes source files so the functionObject can be compiled
sudo apt-get install openfoam2206-default
- Clone this repository
git clone https://github.com/airshaper/openfoam-convergence-detection-tutorial.git
-
Adjust number of cores in
/system/decomposeParDict
-
Execute
# Allrun script will clone https://github.com/airshaper/openfoam-convergence-detection
# and run wmake -j to compile functionObject so it can be used in simpleFoam
./Allrun