View Issue Details

IDProjectCategoryView StatusLast Update
0004233OpenFOAMBugpublic2025-04-24 15:00
ReporterKL Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformLinuxOSUbuntuOS Version22.04 bare metal
Product Version12 
Summary0004233: stitchMesh utility in V12 based on patchIntersection algorithm runs "infinite" long
DescriptionUntil 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 Reproducerun in V12:

blockMesh
splitMeshRegions -cellZonesOnly -overwrite -noFields
mergeMeshes -region MASTERREGION -addRegions '(SLAVEREGION)' -overwrite
(move constant/MASTERREGION/polyMesh to constant/polyMesh)
stitchMesh -overwrite "((PATCH1 PATCH2))"
TagsNo tags attached.

Activities

KL

2025-04-17 14:12

reporter  

Rastergrafik.png (1,129,516 bytes)

will

2025-04-24 15:00

manager   ~0013561

I can't reproduce this. Please upload a case which reproduces the issue. Or point to a tutorial and provide instructions as to how to modify said tutorial such that it reproduces the problem.

Issue History

Date Modified Username Field Change
2025-04-17 14:12 KL New Issue
2025-04-17 14:12 KL File Added: Rastergrafik.png
2025-04-24 15:00 will Note Added: 0013561