CFD Online URL
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: blockMesh

Trouble with mergePatchPairs

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   March 21, 2006, 12:11
Default Hi, I'm trying to mesh a "d
  #1
New Member
 
Julien FAURE-BONDAT
Join Date: Mar 2009
Posts: 8
Rep Power: 7
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: 7
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: 7
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: 7
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: 7
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: 7
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: 7
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: 7
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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bug in mergePatchPairs OF 15 kalle OpenFOAM Bugs 7 February 23, 2010 10:54
Problem with mergePatchPairs andrearimo OpenFOAM Native Meshers: blockMesh 0 December 26, 2006 11:46
Problem with mergePatchPairs andrearimo OpenFOAM Native Meshers: blockMesh 0 December 26, 2006 11:35
Problem with mergePatchPairs andrearimo OpenFOAM Native Meshers: blockMesh 0 December 26, 2006 11:31
Problem with mergePatchPairs andrearimo OpenFOAM Native Meshers: blockMesh 0 December 26, 2006 11:28


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