- Execute the following commands :-
blockMesh
surfaceFeatureExtract
decomposePar -force
foamJob -parallel -screen snappyHexMesh -overwrite
reconstructParMesh -constant
mv constant/polyMesh constant/cold
blockMesh
surfaceFeautureExtract
decomposePar -force
foamJob -parallel -screen snappyHexMesh -overwrite
reconstructParMesh -constant
mv constant/polyMesh constant/hot
Change the boundaries in cold/polyMesh/boundary file as per(don't change nFaces and startFace in your file) :-
Change the boundaries in hot/polyMesh/boundary file as per(don't change nFaces and startFace in your file):-
decomposePar -force -allRegions
foamJob -parallel -screen chtMultiRegionSimpleFoam
reconstructPar -allRegions