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

[blockMesh] Trouble with mergePatchPairs

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 21, 2006, 12:11
Default Trouble with mergePatchPairs
  #1
New Member
 
Julien FAURE-BONDAT
Join Date: Mar 2009
Posts: 8
Rep Power: 17
debris is on a distinguished road
Hi,

I'm trying to mesh a "disc" with the "butterfly" method. I've done 4 patches for each quarter of the ciruclar geometry, and 8 patches for faces to merge (in blockMeshDict).

When I don't write anything in mergePatchPairs, I don't get any error message. But when I write patches to merge in mergePatchPairs (in blockMeshDict), I get this strange error message :

--> FOAM FATAL ERROR : Face 3735 reduced to less than 3 points. Topological/cutting error B.
Old face: 2(626 624) new face: 2(626 624)

From function void slidingInterface::coupleInterface(polyTopoChange& ref) const
in file slidingInterface/coupleSlidingInterface.C at line 1680.

FOAM aborting

I don't know why I get this message because my mesh seems to be correct. When I run it into paraview, I don't see any block problems, and faces to merge are exactly at the same place.

I'm pretty trapped with this problem, I hope you could help me. Thanks for your answers ^^.
debris is offline   Reply With Quote

Old   March 22, 2006, 11:32
Default Hi Julien, I meshed (the ins
  #2
Senior Member
 
Rasmus Hemph
Join Date: Mar 2009
Location: Sweden
Posts: 108
Rep Power: 17
hemph is on a distinguished road
Hi Julien,
I meshed (the inside of) a pipe not to long ago. If you want, I can send you the file I used. No sliding interfaces or merging of patch pairs in my case though!
//rasmus
hemph is offline   Reply With Quote

Old   March 22, 2006, 12:47
Default Hi Rasmus, Did you use a "b
  #3
New Member
 
Julien FAURE-BONDAT
Join Date: Mar 2009
Posts: 8
Rep Power: 17
debris is on a distinguished road
Hi Rasmus,

Did you use a "butterfly" method to mesh your pipe or did you simply mesh it with arc or spline edges ?

Even if you didn't have mesh your pipe with a "butterfly" method, the file you used could perhaps help me. It would be cool if you can send it to me ^^. I'm new on this forum, but I think you can send me the file on my email adress in my profile.

Thanks.

Julien.
debris is offline   Reply With Quote

Old   March 23, 2006, 04:29
Default Here is a picture of the mesh.
  #4
Senior Member
 
Rasmus Hemph
Join Date: Mar 2009
Location: Sweden
Posts: 108
Rep Power: 17
hemph is on a distinguished road
Here is a picture of the mesh. The script I used to generate it is attached. It was done using the preprocessor m4 (search the wiki for more info). You change the radius, length and wanted number of cells in pipeMesh.m4 and generate your blockMeshDict as:
m4 pipeMesh.m4 > blockMeshDict
Then you run blockMesh on the file as usual. Hope it helps!

pipemesh.m4
hemph is offline   Reply With Quote

Old   March 23, 2006, 10:51
Default I've tried your mesh and it wo
  #5
New Member
 
Julien FAURE-BONDAT
Join Date: Mar 2009
Posts: 8
Rep Power: 17
debris is on a distinguished road
I've tried your mesh and it works correctly (nice little script btw). You've done your mesh with arc edges, but I can't do my mesh with the same method, because my blockMeshDict file is written from a points file realized by another mesh soft. I have to merge some of the patchs

Here is a picture of my mesh, my mesh sounds good but merging patches doesn't work and I get boundary inside my pipe...

My blockMeshDict is attached.

Thanks for your help. I'll maybe try to mesh my points file with another method (like yours) if I can't figure out how to merge theses 8 patches.

[IMG]http://img139.imageshack.us/img139/1359/tube0nk.jpg[/IMG]
debris is offline   Reply With Quote

Old   March 23, 2006, 11:05
Default Sorry, I forgot the blocMeshDi
  #6
New Member
 
Julien FAURE-BONDAT
Join Date: Mar 2009
Posts: 8
Rep Power: 17
debris is on a distinguished road
Sorry, I forgot the blocMeshDict file...

points.zip
debris is offline   Reply With Quote

Old   March 23, 2006, 11:18
Default The second part of the blockMe
  #7
New Member
 
Julien FAURE-BONDAT
Join Date: Mar 2009
Posts: 8
Rep Power: 17
debris is on a distinguished road
The second part of the blockMeshDict. I'm not really used to use this kind of forum ;-). (I can't edit my posts, sorry for triple post).

blocks_patches.zip
debris is offline   Reply With Quote

Old   April 3, 2006, 11:57
Default Ok, I've fixed my problem. I'v
  #8
New Member
 
Julien FAURE-BONDAT
Join Date: Mar 2009
Posts: 8
Rep Power: 17
debris is on a distinguished road
Ok, I've fixed my problem. I've created a double line where I needed to merge some patches in order to merge my patches from a external patch to another one.

Thanks for your help Rasmus btw.
debris 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
[blockMesh] mergePatchPairs problem when migrating from OFext1.6 to OFext3.1 ma-tri-x OpenFOAM Meshing & Mesh Conversion 2 January 12, 2021 05:23
[blockMesh] mergePatchPairs reducing a face to less than 3 points aow OpenFOAM Meshing & Mesh Conversion 2 June 1, 2018 18:37
[mesh manipulation] mergePatchPairs with multiple areas bjoern1 OpenFOAM Meshing & Mesh Conversion 1 October 1, 2015 08:07
[blockMesh] Trouble with MergePatchPairs: Duplicate Point Found in Cut Face dancfd OpenFOAM Meshing & Mesh Conversion 4 March 13, 2014 04:01
[blockMesh] mergePatchPairs Misbehaving dancfd OpenFOAM Meshing & Mesh Conversion 2 July 20, 2011 01:08


All times are GMT -4. The time now is 01:51.