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/applications/solvers/solidMechanics/tutorials/elasticContactNonLinULSolidFoam/Allrun
2012-09-11 16:42:55 +01:00

15 lines
421 B
Bash
Executable file

#!/bin/sh
currDir=`pwd`
application=`basename $currDir`
case="slidingBallNonLin"
tutorialPath=`dirname $0`/..
. $WM_PROJECT_DIR/bin/tools/RunFunctions
(cd $case; runApplication blockMesh)
(cd $case; rm -rf constant/polyMesh/sets)
(cd $case; rm -rf constant/polyMesh/*Zones)
(cd $case; runApplication setSet -batch batch.setSet)
(cd $case; runApplication setsToZones -noFlipMap)
(cd $case; runApplication $application)