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/icoFsiElasticNonLinULSolidFoam/Allrun
2012-09-11 16:42:55 +01:00

17 lines
No EOL
608 B
Bash
Executable file

#!/bin/sh
currDir=`pwd`
application=`basename $currDir`
case="HronTurekFsi"
tutorialPath=`dirname $0`/..
. $WM_PROJECT_DIR/bin/tools/RunFunctions
(cd $case/fluid; tar -xzf polyMesh.tgz)
(cd $case/solid; tar -xzf polyMesh.tgz)
(cd $case/fluid; runApplication setSet -case fluid -batch fluid/batch.setSet)
(cd $case/fluid; runApplication setsToZones -case fluid -noFlipMap)
(cd $case/solid; runApplication setSet -case solid -batch solid/batch.setSet)
(cd $case/solid; runApplication setsToZones -case solid -noFlipMap)
(cd $case; ./makeSerialLinks fluid solid)
(cd $case/fluid; runApplication $application)