This greatly simplifies most setups in which it is a patch (or patches) of the original mesh which are extruded. It prevents the need for a topoSet configuration to convert the patch into a zone or set.
21 lines
518 B
Bash
Executable File
21 lines
518 B
Bash
Executable File
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # Run from this directory
|
|
|
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
|
|
|
runApplication blockMesh
|
|
runApplication decomposePar -noFields
|
|
runParallel extrudeToRegionMesh -overwrite
|
|
|
|
runApplication -s fields decomposePar -fields -copyZero
|
|
|
|
runParallel $(getApplication)
|
|
|
|
runApplication reconstructPar
|
|
runApplication -s wallFilm reconstructPar -region wallFilm
|
|
|
|
paraFoam -touch
|
|
paraFoam -touch -region wallFilm
|
|
|
|
#------------------------------------------------------------------------------
|