Next: Model setting without an Up: Alternative formulation Previous: Alternative formulation Contents Index Script for Creating Mesh - Spiral Region Following bash script can be used to run all at once. It is recommended to create file, e.g. buildMesh: #!/bin/bash rm -rf 1 2 3 4 processor* rm -f final *.log echo " - run blockMesh" blockMesh > blockMesh.log echo " - parallel decomposition (4 processes)" decomposePar > decomposePar.log echo " - run snappyHexMesh" mpirun -np 4 snappyHexMesh -parallel > snappyHexMesh.log echo " - parallel reconstruction" reconstructParMesh -latestTime > reconstructPar.log echo " - reordering boundary types" changeDictionary > changeDictionary.log echo " - renumberMesh" renumberMesh -latestTime > renumberMesh.log ln -s 4 final Script can be executed, e.g.:# sh buildMesh Figure: Complete Kaplan water turbine model view. OpenFOAM Training by CFD Support, CFD SUPPORT, info@cfdsupport.com +420 212 243 883 © CFD support, s.r.o., Sokolovská 270/201, 190 00 Praha 9, Czech Republic