31 lines
770 B
Bash
Executable File
31 lines
770 B
Bash
Executable File
#!/bin/sh
|
|
cd "${0%/*}" || exit # Run from this directory
|
|
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
|
|
#------------------------------------------------------------------------------
|
|
|
|
restore0Dir
|
|
|
|
# Create the underlying block mesh
|
|
m4 system/pachuka.m4 > system/blockMeshDict
|
|
runApplication blockMesh
|
|
|
|
# Create faceSet for burner inlet and faceZone for coupled wall
|
|
runApplication topoSet
|
|
|
|
# Create burner inlet
|
|
runApplication createPatch -overwrite
|
|
|
|
# Set alpha.water
|
|
runApplication setFields
|
|
|
|
# Decompose mesh
|
|
runApplication decomposePar
|
|
|
|
# Run
|
|
runParallel $(getApplication)
|
|
|
|
# Reconstruct case
|
|
runApplication reconstructPar
|
|
|
|
#------------------------------------------------------------------------------
|