View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004233 | OpenFOAM | Bug | public | 2025-04-17 14:12 | 2025-04-24 15:00 |
Reporter | KL | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | Linux | OS | Ubuntu | OS Version | 22.04 bare metal |
Product Version | 12 | ||||
Summary | 0004233: stitchMesh utility in V12 based on patchIntersection algorithm runs "infinite" long | ||||
Description | Until recently, I have used a script to generate a hex mesh with a combination of blockMesh, splitMeshRegions, mergeMeshes and finally stitchMesh. After upgrading from V10 to V12, stitchMesh is not working any longer in said workflow. I adapted all the tools to take into account the new syntax of V12 and I am able to create the exact same mesh with the workflow of blockMesh, splitMeshRegions and mergeMeshes in V10 as well as in V12 with the only differences, that in the boundary file for the mappedwalls, sampleMode of V10 is now dropped, as well as sampleRegion and samplePatch are now called neighbourRegion and neighbourPatch in V12. On top, there is now a transformType entry in the boundary condition. If I run V10 stitchMesh on the V10 mesh, it runs without issues and takes a couple of seconds (been doing this for years). If I run V12 stitchMesh on the V12 mesh, in is stuck in the "triPatchIntersection" phase for an "infinite" amount of time, see screenshot (at least no change over night/ over 12 hrs). What is interesting is, that the utility uses 100% load on one cpu core, so it is doing something in the background, but to no outcome. I see, that there is a huge overhaul for stitchMesh utility in V12 release based on a new algorithm in the background, so maybe this is related to this. Unfortunately there is no tutorial case to compare with, but as V12 stitchMesh starts running I guess I got the (new) syntax correct. Thank you very much. | ||||
Steps To Reproduce | run in V12: blockMesh splitMeshRegions -cellZonesOnly -overwrite -noFields mergeMeshes -region MASTERREGION -addRegions '(SLAVEREGION)' -overwrite (move constant/MASTERREGION/polyMesh to constant/polyMesh) stitchMesh -overwrite "((PATCH1 PATCH2))" | ||||
Tags | No tags attached. | ||||