sphere_gapClosure

#!/bin/sh
cd “${0%/*}” || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#——————————————————————————
fileHandler=”-fileHandler collated”
decomp16=”-decomposeParDict system/decomposeParDict.16″

runApplication blockMesh

##- Serial run
#runApplication snappyHexMesh -overwrite $fileHandler
#runApplication checkMesh -allTopology -allGeometry

#- Parallel run
runParallel -s decompose redistributePar -decompose -constant $fileHandler
runParallel snappyHexMesh -overwrite $fileHandler
runParallel checkMesh -allTopology -allGeometry $fileHandler
runParallel -s reconstruct redistributePar -reconstruct -constant $fileHandler

# runParallel -s redistrib $decomp16 redistributePar -constant $fileHandler

#runApplication reconstructParMesh -constant $fileHandler

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

実行年月:08/02/2024