openfoam/tutorials/heatTransfer/chtMultiRegionFoam/windshieldCondensation/Allrun-parallel
Mark Olesen 343854ab31 TUT: avoid redundant -finite-area option for foamToEnsight, foamToVTK
TUT: remove paraFoam hints from tutorials (mostly only need paraview now)

STYLE: remove reference to paraview _SM plugins (OpenFOAM-v1912 and earlier)
2022-06-15 12:52:20 +02:00

35 lines
995 B
Bash
Executable File

#!/bin/sh
cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#------------------------------------------------------------------------------
# create the underlying block mesh
runApplication blockMesh
# create the set for the obstacles
runApplication topoSet
# mesh processing to generate the inlet duct
runApplication subsetMesh c0 -patch walls -overwrite
# split into the cabin, ice and exterior regions
runApplication splitMeshRegions -cellZones -overwrite
# create register face and cell zones
rm -f log.topoSet.register
runApplication -o -s register \
topoSet -region cabin -dict system/topoSetDictRegister
# set the initial fields
restore0Dir
# Decompose
runApplication decomposePar -allRegions -constant
runParallel $(getApplication)
# Reconstruct
runApplication reconstructPar -allRegions
#------------------------------------------------------------------------------