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

19 lines
448 B
Text
Raw Permalink Normal View History

#!/bin/sh
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
\cp -r 0.org 0
runApplication blockMesh
runApplication setSet -batch createObstacle.setSet
2010-11-18 19:33:09 +00:00
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