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/elasticContactSolidFoam/Allrun

30 lines
841 B
Text
Raw Normal View History

2012-09-11 15:42:55 +00:00
#!/bin/sh
currDir=`pwd`
application=`basename $currDir`
cases="slidingBall"
tutorialPath=`dirname $0`/..
. $WM_PROJECT_DIR/bin/tools/RunFunctions
for case in $cases
do
(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)
done
cases="sphereAndBrick"
for case in $cases
do
(cd $case; runApplication fluent3DMeshToFoam sphereAndBrickFine.msh)
(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)
done