#!/bin/sh cd ${0%/*} || exit 1 # Run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions runApplication blockMesh runApplication decomposePar -noFields # Create a set for the bits of the mesh that are not boxes runParallel topoSet # Create the boxes and add their surfaces to the boxes patch runParallel subsetMesh notBoxes -patch boxes -overwrite -noFields # Create the film mesh 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 #------------------------------------------------------------------------------