View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004244 | OpenFOAM | Bug | public | 2025-06-14 12:50 | 2025-06-14 12:52 |
Reporter | geth03 | Assigned To | |||
Priority | high | Severity | major | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | 12 | ||||
Summary | 0004244: Enabling addLayers in snappyHexMesh breaks region splitting for non-conformal couples | ||||
Description | When enabling the addLayers option in the propeller tutorial, the checkMesh output shows that the mesh becomes a single region, instead of maintaining two disconnected regions as expected for proper non-conformal coupling (NCC). Without layer addition, two separate mesh regions are correctly identified. example from the "propeller"-tutorial: no addLayers: Checking topology... Boundary definition OK. Cell to face addressing OK. Point usage OK. Upper triangular ordering OK. Face vertices OK. *Number of regions: 2 The mesh has multiple regions which are not connected by any face. Checking basic patch addressing... Patch Faces Points inlet 646 786 outlet 112 134 outerCylinder 640 868 propellerStem 2304 2500 propellerTip 21649 27967 nonCouple1 22416 22990 nonCouple2 22416 22990 nonConformalCyclic_on_nonCouple1 0 0 nonConformalCyclic_on_nonCouple2 0 0 nonConformalError_on_nonCouple1 0 0 nonConformalError_on_nonCouple2 0 0 with addLayers: Checking topology... Boundary definition OK. Cell to face addressing OK. Point usage OK. Upper triangular ordering OK. Face vertices OK. Number of regions: 1 (OK). Checking basic patch addressing... Patch Faces Points inlet 694 836 outlet 112 134 outerCylinder 640 868 propellerStem 2304 2450 propellerTip 21153 27332 nonCouple1 22416 22993 nonCouple2 22416 22993 nonConformalCyclic_on_nonCouple1 0 0 nonConformalCyclic_on_nonCouple2 0 0 nonConformalError_on_nonCouple1 0 0 nonConformalError_on_nonCouple2 0 0 Problem: The mesh now reports only one region, so the non-conformal interface is not maintained. This breaks the intended NCC setup. Even with addLayers = true;, the mesh should remain split into two disconnected regions, with createBaffles, splitBaffles, and createNonConformalCouples operating correctly. | ||||
Steps To Reproduce | 1. Start from the tutorial: $FOAM_TUTORIALS/mesh/snappyHexMesh/propeller 2. Modify system/snappyHexMeshDict: Set addLayers true; In the addLayersControls section, add: layers { "(propeller).*" { nSurfaceLayers 1; } } 3. Run ./Allmesh 4. Run checkMesh | ||||
Tags | No tags attached. | ||||