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/multiphase/interDyMFoam/ras/damBreakWithObstacle/Allrun
2014-09-17 10:20:35 +01:00

18 lines
448 B
Bash
Executable file

#!/bin/sh
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
\cp -r 0.org 0
runApplication blockMesh
runApplication setSet -batch createObstacle.setSet
runApplication subsetMesh c0 -patch walls -overwrite
# Move subset mesh in to proper place
\cp constant/setSubset/polyMesh/* constant/polyMesh
\rm -rf constant/setSubset
# Mapping in 0/ not needed
\rm -rf 0/setSubset
runApplication setFields
runApplication interDyMFoam