Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 953 Bytes

File metadata and controls

35 lines (23 loc) · 953 Bytes

OpenFoam convergence detection tutorial

How to run convergence detection tutorial

Source code is locatated at the link below:

OpenFoam Convergence Detection Repository

  1. 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
  1. Clone this repository
git clone https://github.com/airshaper/openfoam-convergence-detection-tutorial.git
  1. Adjust number of cores in /system/decomposeParDict

  2. 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