mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
TUT: mesh: clean up tutorials
This commit is contained in:
committed by
Andrew Heather
parent
6120e13d29
commit
3a858ac682
@ -3,6 +3,12 @@ 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/box_12.obj.gz \
|
||||
constant/triSurface
|
||||
|
||||
runApplication blockMesh
|
||||
|
||||
# Create fine surface
|
||||
@ -43,10 +49,8 @@ runApplication surfaceTransformPoints \
|
||||
constant/triSurface/box.obj constant/triSurface/box_trans.obj
|
||||
|
||||
|
||||
# Run non-parallel
|
||||
runApplication snappyHexMesh
|
||||
|
||||
# Run parallel
|
||||
runApplication decomposePar
|
||||
|
||||
runParallel -s parallel snappyHexMesh
|
||||
|
||||
Reference in New Issue
Block a user