CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[mesh manipulation] stitchMesh, impossible to stitch two meshes

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 22, 2023, 11:43
Default stitchMesh, impossible to stitch two meshes
  #1
New Member
 
Join Date: Oct 2023
Posts: 1
Rep Power: 0
redfox1221 is on a distinguished road
Hello everybody,
I have a very large and complex stl object of which I want to make several simulations at different z-angles but doing snappyhexmesh multiple time is very expensive.
I come to the idea to split the mesh in two parts (external and internal) using a cylinder, rotate the internal mesh, merge the meshes and re do the simulation bypassing the snappy hex mesh part.
However after doing the mergeMeshes command the faces are considered walls and i need to use the stitch function to connect them.
Unfortunately i have this error:
Code:
stitchMesh -partial -toleranceDict toleranceDict -overwrite cylinder1 cylinder2
--> FOAM FATAL ERROR: 
Duplicate point found in cut face. Error in the face cutting algorithm for global face 4(90670 94290 99836 97583) local face 4(1145 144 143 1146)
Slave size: 6400 Master size: 8700 index: 407.
Face: 6(69382 63526 66979 70500 69381 115836)
I also tryed the perfect option as suggested here stitchMesh : duplicate point but it says that it cannot found a points within the matching tolerance
Code:
stitchMesh -perfect -toleranceDict toleranceDict -overwrite cylinder1 cylinder2
--> FOAM FATAL ERROR: 
Points on patch sides do not match to within tolerance 1.11957e-05
I am using the toleranceDict file in the constant folder but it seems that even if I increase the values the error stay the same like it is not using it.
I am using OF10, repo git here Github Repo with a prism to replicate the error, run with ./Allrun.

Any ideas on how to solve?
redfox1221 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[PyFoam] Merge and Stitch meshes using pyFoam libraries shaileshbg OpenFOAM Community Contributions 2 March 2, 2018 06:01
Merge and Stitch meshes using pyFoam libraries shaileshbg OpenFOAM Programming & Development 1 February 19, 2018 01:30
[mesh manipulation] stitchMesh: multiple meshes GerhardHolzinger OpenFOAM Meshing & Mesh Conversion 3 August 25, 2017 12:43
[mesh manipulation] Problem with stitchMesh: it does not work in meshes with several common patches arnau1985 OpenFOAM Meshing & Mesh Conversion 2 June 25, 2013 08:49
stitchMesh for uncongruent patches (stitch tolerance) beugold OpenFOAM 0 June 18, 2009 07:38


All times are GMT -4. The time now is 16:57.