Update of overRhoPimpleDyMFoam and overInterDyMFoam solvers. Adding corresponding tutorials with best possible settings The main effort was put on reducing pressure spikes as the stencil change with hole cells on the background mesh.
21 lines
474 B
Bash
Executable File
21 lines
474 B
Bash
Executable File
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # Run from this directory
|
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions # Tutorial run functions
|
|
|
|
runApplication blockMesh
|
|
|
|
# Select cellSets
|
|
runApplication -s 1 topoSet
|
|
|
|
runApplication subsetMesh box -patch hole -overwrite
|
|
|
|
# Select cellSets
|
|
runApplication -s 2 topoSet
|
|
|
|
restore0Dir
|
|
|
|
# Use cellSets to write zoneID
|
|
runApplication setFields
|
|
|
|
#------------------------------------------------------------------------------
|