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/FSI/fsiFoam/beamInCrossFlow/fluid/AllrunPar

33 lines
803 B
Text
Raw Normal View History

#!/bin/sh
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Get application name
application=`getApplication`
runApplication -l log.blockMesh.solid blockMesh -case ../solid
runApplication -l log.setSet.solid setSet -case ../solid -batch ../solid/setBatch
runApplication -l log.setToZones.solid setsToZones -case ../solid -noFlipMap
runApplication -l log.decomposePar.solid decomposePar -case ../solid -cellDist
runApplication blockMesh
runApplication setSet -batch setBatch
runApplication setsToZones -noFlipMap
runApplication decomposePar -cellDist
cd ..
./makeLinks fluid solid
# Build setInletVelocity function object
wmake libso setInletVelocity
cd fluid
runParallel $application 8
# ----------------------------------------------------------------- end-of-file