oscillatingBox

#!/bin/sh
cd “${0%/*}” || exit # 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)

# Require awk
command -v awk >/dev/null && {
awk ‘{print $1 ” ” $3}’ \r
postProcessing/poolHeight/0/surfaceFieldValue.dat > poolHeight_vs_time
}

#——————————————————————————

実行年月:07/01/2022