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

30 lines
644 B
Text
Raw Normal View History

2012-04-15 17:43:52 +00:00
#!/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: Updating the boundary file"
#if not using PyFOAM, use this pre-configured boundary file
cp constant/polyMesh/boundary.preconfigured constant/polyMesh/boundary
echo "$caseName: Creating the starting time directory"
cp -r 0_orig 0
echo "$caseName: Running laplacianFoam"
runApplicationAndReportOnError laplacianFoam