relativeMotion

#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory

# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions

# Make 3D mesh in slab of cells.
(
cd box_snappyHexMesh || exit 1

runApplication 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 || exit 1

runApplication extrudeMesh
restore0Dir
runApplication moveDynamicMesh -checkAMI
)

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

実行年月:05/01/2017