This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/tutorials/basic/laplacianFoam/twoBlocksMixingPlane/Allrun
Dominik Christ b28965db7b Changed some tutorials
Changed some more tutorials

Changed a few more tutorials

Changed even  more tutorials
2014-05-30 18:24:36 +01:00

29 lines
628 B
Bash
Executable file

#!/bin/bash
#
#set -x
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Load additional RunFunctions
. ./RunFunctionsSupplemental
export caseName=`basename $PWD`
#We stop this script when we encounter a problem
#trap "exit -1" ERR
echo "$caseName: Running blockMesh"
runApplicationAndReportOnError blockMesh
echo "$caseName: Creating zones for the mixingPlane"
runApplicationAndReportOnError setSet -batch setBatch
runApplicationAndReportOnError setsToZones -noFlipMap
echo "$caseName: Creating the starting time directory"
cp -r 0_orig 0
echo "$caseName: Running laplacianFoam"
runApplicationAndReportOnError laplacianFoam