openfoam/tutorials/multiphase/potentialFreeSurfaceDyMFoam/oscillatingBox/Allrun

22 lines
614 B
Bash
Executable File

#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#------------------------------------------------------------------------------
runApplication blockMesh
runApplication -s 1 topoSet
runApplication subsetMesh -overwrite c0 -patch floatingObject
runApplication -s selectBottom \
topoSet -dict system/topoSetDict-selectBottom
runApplication createPatch -overwrite
restore0Dir
runApplication $(getApplication)
#------------------------------------------------------------------------------