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

29 lines
691 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 blockMesh
runApplication setSet -batch setBatch
runApplication setsToZones -noFlipMap
cd ..
# Build setInletVelocity function object
wmake libso setInletVelocity
./makeSerialLinks fluid solid
cd fluid
runApplication $application
# ----------------------------------------------------------------- end-of-file