19 lines
390 B
Bash
Executable file
19 lines
390 B
Bash
Executable file
#!/bin/bash
|
|
# Source tutorial run functions
|
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
|
|
|
echo "$caseName: Creating the file blockMeshDict using m4"
|
|
(cd constant/polyMesh; m4 -P blockMeshDict.m4 > blockMeshDict)
|
|
|
|
runApplication blockMesh
|
|
|
|
runApplication setSet -batch setBatch.batch
|
|
runApplication setsToZones -noFlipMap
|
|
|
|
cp -r save 0
|
|
|
|
runApplication potentialFoam
|
|
|
|
runApplication simpleFoam
|
|
|
|
|