- TUT: mesh: add missing SnakeRiverCanyon files - TUT: mesh: add missing cp source in a foamyHexMesh tutorial
33 lines
815 B
Bash
Executable File
33 lines
815 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
|
|
|
|
cp -f \
|
|
"$FOAM_TUTORIALS"/resources/geometry/motorBike.obj.gz \
|
|
constant/triSurface/
|
|
|
|
runApplication surfaceFeatureExtract
|
|
|
|
runApplication blockMesh
|
|
|
|
runApplication decomposePar
|
|
|
|
runParallel snappyHexMesh -overwrite
|
|
|
|
runParallel createZeroDirectory
|
|
|
|
runParallel patchSummary
|
|
|
|
runParallel potentialFoam -noFunctionObjects -writephi
|
|
|
|
runParallel $(getApplication)
|
|
|
|
runApplication reconstructParMesh -constant
|
|
|
|
runApplication reconstructPar -latestTime
|
|
|
|
#------------------------------------------------------------------------------
|