CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [mesh manipulation] stitchMesh : duplicate point (https://www.cfd-online.com/Forums/openfoam-meshing/85260-stitchmesh-duplicate-point.html)

Nolwenn February 21, 2011 10:36

stitchMesh : duplicate point
 
Hello everybody,

I have a problem using stitchMesh utility. When I want to stitch two interfaces i have a duplicate point error :
Code:

Duplicate point found in cut face. Error in the face cutting algorithm for global face 4(53292 53293 54193 54192) local face 4(0 1 2 3)
Slave size: 240 Master size: 917 index: 0.
Face: 10(53292 55407 55408 55092 55165 55164 55163 55166 54193 54192)

I can't find the answer on previous threads...

Nolwenn

Rebecca513 October 4, 2011 22:25

Hi Nolwenn,

I also got this error message. Have you figured out the problem? Mine two patches should be identical, I don't know where goes wrong...

Thank you!

Best,

Hang

dhruv October 10, 2011 05:09

stitchMesh
 
Hi Rebecca and Nolwenn,

I am having the same problem. Did you figure out a solution? I read on the forum, we should use a -perfect flag for stitchMesh, but when i used it, I got the following error message.

Quote:

--> FOAM FATAL ERROR:
Points on patch sides do not match to within tolerance 7.40161e-06

From function perfectInterface::setRefinement(polyTopoChange& ref) const
in file perfectInterface/perfectInterface.C at line 220.

FOAM exiting
My geometry is like a big block with two rectangular holes, where I am trying to insert via mergeMesh and stitchMesh, two solid rectangular blocks having the same dimensions like the holes.

Thanks,
Dhruv.

Rebecca513 October 10, 2011 11:44

Hi Dhruv,

the -perfect flag actually worked for me. Are the two patches you are working on 100% the same? Maybe you can try other flags?

Best,

ignacio May 15, 2013 10:57

Did anybody find the solution for this?
I also get Duplicated Points and can't figure out how to get rid of them.

Thanks a lot!

pepe.aero November 12, 2013 06:09

Hi Dhruv,

I have right now the same problem trying to merge a rectangular block (1) into a mesh with a rectangular hole (2).
Bounding boxes of block (1) and hole (2) are identical, but points and faces at the interface are different.
The executed command is the following:

stitchMesh -overwrite -perfect INTERFACE defaultFaces


Did you find out a solution for the quoted issue?

Quote:

Originally Posted by dhruv (Post 327282)
Hi Rebecca and Nolwenn,

I am having the same problem. Did you figure out a solution? I read on the forum, we should use a -perfect flag for stitchMesh, but when i used it, I got the following error message.



My geometry is like a big block with two rectangular holes, where I am trying to insert via mergeMesh and stitchMesh, two solid rectangular blocks having the same dimensions like the holes.

Thanks,
Dhruv.

The error reported in my case is the following:

Code:

--> FOAM FATAL ERROR:
Points on patch sides do not match to within tolerance 1.45655e-05

    From function perfectInterface::setRefinement(polyTopoChange& ref) const
    in file perfectInterface/perfectInterface.C at line 220.

FOAM exiting

Thanks for your support,

Best regards,

Andrea

vonboett March 13, 2014 05:47

Hello,
I get:

--> FOAM FATAL ERROR: Duplicate point found in cut face. Error in the face cutting algorithm for global face

when using stitchMesh. The interfaces are the same but with different resolution and complex cells. Any hints or maybe improvements with OF 2.3 ?

Lisl February 1, 2016 08:53

I know it's been quite a while since this post was active but did you solve the Problem?

I'm having exactly the same Problem and can't find an answer..

Thanks!!

ignacio February 1, 2016 11:47

Try increasing a little bit the tolerance, that worked for me.
I have also heard that performing operations such as stitching in binary might also help since it will reduce roudn off arithmetic errors

Lisl February 1, 2016 14:51

Thanks for your quick answer!

okay that's what i thought too but where can i change that?
Do i Need something like a tolerance dict?

Metternich January 19, 2017 14:15

stitchMesh -perfect
 
I want to merge a mesh to tranlated version of himself with stitchMesh -perfect.
The Mesh on the surfaces are exactly the same (i see in paraview), but i got the dam error "Points on patch sides do not match with ..."
Why??
I am very desperated. Can someone tell me whats going on? Can i force him to stitch the meshes cause i know, they are the same.

behrouz_Beh April 23, 2018 20:26

I know this is an old thread but for future use, I mention my experience for this error.
I had the same error with my blockMesh. In my case, I did not define the edges well . After well defining the edges ( for circle in geometry) the problem was solved.

Hope it helps.


All times are GMT -4. The time now is 08:23.