mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
23 lines
612 B
Bash
Executable File
23 lines
612 B
Bash
Executable File
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # run from this directory
|
|
|
|
# Source tutorial run functions
|
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
|
|
|
# Get application name
|
|
application=`getApplication`
|
|
|
|
runApplication blockMesh
|
|
# Make random cell numbering to get faceZone orientation random
|
|
runApplication renumberMesh -dict system/renumberMeshDict
|
|
|
|
# Construct faceZone
|
|
runApplication topoSet
|
|
|
|
runApplication decomposePar -force -cellDist
|
|
runParallel orientFaceZone 2 f0 '(10 0 0)'
|
|
runApplication reconstructParMesh -latestTime -mergeTol 1e-6
|
|
|
|
|
|
# ----------------------------------------------------------------- end-of-file
|