25 lines
696 B
Bash
Executable File
25 lines
696 B
Bash
Executable File
#!/bin/sh
|
|
cd "${0%/*}" || exit # Run from this directory
|
|
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
|
|
#------------------------------------------------------------------------------
|
|
|
|
mkdir -p constant/triSurface
|
|
|
|
# copy STL files from resources folder
|
|
cp -f $FOAM_TUTORIALS/resources/geometry/mixerVesselAMI/* constant/triSurface/.
|
|
|
|
rm -rf 0
|
|
|
|
# Meshing
|
|
runApplication blockMesh
|
|
|
|
runApplication surfaceFeatureExtract
|
|
|
|
runApplication snappyHexMesh -overwrite
|
|
|
|
runApplication createBaffles -overwrite
|
|
|
|
runApplication mergeOrSplitBaffles -split -overwrite
|
|
|
|
#------------------------------------------------------------------------------
|