Upgrade case file headers
[foam-extend-3.2.git] / tutorials / basic / laplacianFoam / twoBlocksMixingPlaneMismatch / Allrun
blob1e571ce8f7a01d026504b82a832985929a048ba6
1 #!/bin/bash
3 #set -x
5 . $WM_PROJECT_DIR/bin/tools/RunFunctions
7 # Load additional RunFunctions
8 . ./RunFunctionsSupplemental
10 export caseName=`basename $PWD`
12 #We stop this script when we encounter a problem
13 #trap "exit -1" ERR
15 echo "$caseName: Running blockMesh"
16 runApplicationAndReportOnError blockMesh
18 echo "$caseName: Creating zones for the mixingPlane"
19 runApplicationAndReportOnError setSet -batch setBatch
20 runApplicationAndReportOnError setsToZones -noFlipMap
22 echo "$caseName: Creating the starting time directory"
23 cp -r 0_orig 0
25 echo "$caseName: Running laplacianFoam"
26 runApplicationAndReportOnError laplacianFoam