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

27 lines
491 B
Text
Raw Normal View History

#!/bin/sh
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Get application name
application="icoIbFoam"
compileApplication refineSphereMesh
mkdir constant/polyMesh
2015-09-28 07:58:02 +00:00
\cp -f save/blockMeshDict constant/polyMesh
runApplication blockMesh
2015-09-28 07:58:02 +00:00
\cp -f save/boundary constant/polyMesh/
runApplication refineSphereMesh
\rm -rf constant/polyMesh
2017-04-17 13:18:03 +00:00
\mv 0/polyMesh constant/polyMesh
\rm -rf 0
\mkdir 0
\cp 0_org/* 0/
runApplication potentialIbFoam
runApplication $application