16 lines
459 B
Bash
Executable File
16 lines
459 B
Bash
Executable File
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # Run from this directory
|
|
|
|
# Source tutorial run functions
|
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
|
|
|
# Copy pipe surface from resources directory
|
|
mkdir -p constant/triSurface
|
|
cp $FOAM_TUTORIALS/resources/geometry/pipe*.obj.gz constant/triSurface/
|
|
|
|
runApplication surfaceFeatures
|
|
runApplication blockMesh
|
|
runApplication snappyHexMesh -overwrite
|
|
|
|
#------------------------------------------------------------------------------
|