mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
23 lines
586 B
Bash
Executable File
23 lines
586 B
Bash
Executable File
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # Run from this directory
|
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions # Tutorial run functions
|
|
|
|
# - meshing
|
|
runApplication surfaceFeatureExtract
|
|
runApplication blockMesh
|
|
runApplication snappyHexMesh -overwrite
|
|
|
|
# - force removal of fields generated by snappy
|
|
rm -rf 0
|
|
|
|
# renumber the mesh
|
|
runApplication renumberMesh -overwrite
|
|
|
|
# - create the inlet/outlet and AMI patches
|
|
runApplication createPatch -overwrite
|
|
|
|
# - set the initial fields
|
|
restore0Dir
|
|
|
|
#------------------------------------------------------------------------------
|