#!/bin/sh
cd “${0%/*}” || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#——————————————————————————# Make 3D mesh in slab of cells.
(
cd box_snappyHexMesh || exitrunApplication blockMesh
runApplication snappyHexMesh -overwrite
runApplication renumberMesh -overwrite
runApplication createPatch -overwrite)
# Make a 2D mesh by extruding a patch and solve to steady state.
(
cd box2D_moveDynamicMesh || exitrunApplication extrudeMesh
restore0Dir
runApplication moveDynamicMesh -checkAMI
)#——————————————————————————
実行年月:05/21/2020