mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: snappyMultiRegionHeaterImplicit: fix decomposition. Fixes #2657
This commit is contained in:
@ -16,8 +16,14 @@ runApplication blockMesh
|
|||||||
runApplication surfaceFeatureExtract
|
runApplication surfaceFeatureExtract
|
||||||
|
|
||||||
runApplication snappyHexMesh -overwrite
|
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
|
runApplication $decompDict decomposePar
|
||||||
|
|
||||||
# Restore initial fields
|
# Restore initial fields
|
||||||
|
|||||||
@ -27,7 +27,17 @@ constraints
|
|||||||
faces
|
faces
|
||||||
{
|
{
|
||||||
type preserveFaceZones;
|
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;
|
enabled true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user