BUG: snappyMultiRegionHeaterImplicit: fix decomposition. Fixes #2657

This commit is contained in:
mattijs 2022-12-14 13:24:51 +00:00
parent b41ddc43c3
commit 029c5a24fe
2 changed files with 18 additions and 2 deletions

View File

@ -16,8 +16,14 @@ runApplication blockMesh
runApplication surfaceFeatureExtract
runApplication snappyHexMesh -overwrite
runApplication topoSet -dict system/topoSetDict.f1
#- Alternatively if snappyHexMesh has not set the faceZones correctly
# can do some topoSet magic:
# - pick up the outside of the cellZones
# - put into faceZones
#runApplication topoSet -dict system/topoSetDict.f1
# Use faceZones in combination with preserveFaceZones constraint
runApplication $decompDict decomposePar
# Restore initial fields

View File

@ -27,7 +27,17 @@ constraints
faces
{
type preserveFaceZones;
zones (f1 f2 f3 f4 f5);
zones
(
heater_to_bottomAir
heater_to_leftSolid
heater_to_rightSolid
heater_to_topAir
leftSolid_to_bottomAir
leftSolid_to_topAir
rightSolid_to_bottomAir
rightSolid_to_topAir
);
enabled true;
}
}