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/incompressible/icoDyMFoam/movingConeTopo/Allrun
2011-08-09 20:31:51 +01:00

21 lines
762 B
Bash
Executable file

#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
application="icoDyMSimpleFoam"
runApplication blockMesh
runApplication setSet -batch setBatch
cd constant/polyMesh/sets/
\rm leftCentre leftCentre_old leftWallSet leftWallSet_old leftZone_old rightCentre rightCentre_old rightWallSet rightWallSet_old rightZone_old wallSet
\rm leftCentre.gz leftCentre_old.gz leftWallSet.gz leftWallSet_old.gz leftZone_old.gz rightCentre.gz rightCentre_old.gz rightWallSet.gz rightWallSet_old.gz rightZone_old.gz wallSet.gz
cd ../../..
runApplication setsToZones
runApplication decomposePar
runApplication $application
#runParallel $application 4
#runApplication reconstructParMesh -cellDist