This tutorial uses the latest version of DAFoam
Go to one of tutorial folders and run the optimization using the following command:
./preProcessing.sh && mpirun -np 4 python runScript.py
Refer to the detailed instructions on DAFoam Documentation.