CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Bugs

MergeMeshes and mesh format from 14x 15

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 23, 2008, 10:09
Default mergeMeshes seems to not work
  #1
New Member
 
Mark Pitman
Join Date: Mar 2009
Location: Perth, Western Australia, Australia
Posts: 7
Rep Power: 8
pitmanm is on a distinguished road
mergeMeshes seems to not work in OF-1.5 on some simple test cases which work fine in OF-1.4.1. This may also apply to stitchMesh and some other mesh utilities.

When I make two very simple meshes with blockMesh and then try to "mergeMeshes" it errors with:

"Patch face has got a neighbour. Patch ID: 6. This is not allowed."

But these same cases merged fine in OF-1.4.1 (when starting from scratch with blockMeshDict. I cannot run OF-1.5 meshes in OF-1.4.1... that causes a memory error to appear).

The problem seems to be with the way the mesh is defined and handled in OF-1.5 (differently to OF-1.4.x)... which also would explain why I can't run 1.4.x meshes in 1.5 and vice-versa.

Has anyone else encountered these issues? I have tried my best to get in there and fix it but just don't seem to be getting anywhere at the moment.

Any advice on this issue would be greatly appreciated.

Regards, Mark
pitmanm is offline   Reply With Quote

Old   July 25, 2008, 15:19
Default I was not able to use mergePat
  #2
New Member
 
Laura Garrison
Join Date: Mar 2009
Posts: 1
Rep Power: 0
lgarriso is on a distinguished road
I was not able to use mergePatchPairs in 1.5. It told me that it wasn't supported, although it still appears in the documentation.
lgarriso is offline   Reply With Quote

Old   July 27, 2008, 01:15
Default I think I have fixed it - seem
  #3
Member
 
Andrew King
Join Date: Mar 2009
Location: Perth, Western Australia, Australia
Posts: 81
Rep Power: 8
andersking is on a distinguished road
I think I have fixed it - seems to work after a simple test anyway.
mergePolyMesh.C now only adds neighbours if the face isn't on a patch. Could someone who knows more about the internals check that this is the correct fix - Also, I haven't checked any changes to Zones/Regions.

Cheers
Andrew

mergePolyMesh.C.diff
__________________
Dr Andrew King
Fluid Dynamics Research Group
Curtin University
andersking is offline   Reply With Quote

Old   July 28, 2008, 20:59
Default Thanks Andrew! That seems to
  #4
New Member
 
Mark Pitman
Join Date: Mar 2009
Location: Perth, Western Australia, Australia
Posts: 7
Rep Power: 8
pitmanm is on a distinguished road
Thanks Andrew! That seems to have done the trick.
pitmanm is offline   Reply With Quote

Old   September 23, 2008, 15:48
Default I can report the same behaviou
  #5
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 471
Rep Power: 11
bastil is on a distinguished road
I can report the same behaviour for stitchMesh. I tried the wiki-testcase (http://openfoamwiki.net/index.php/Im...ith_interfaces) with both 1.5 and 1.4.1 and it works with 1.4.1. but not with 1.5.
bastil is offline   Reply With Quote

Old   September 24, 2008, 10:09
Default yes, me too. After successfu
  #6
New Member
 
Axel Mohr
Join Date: Mar 2009
Location: Kiel, Schleswig-Holstein, Germany
Posts: 24
Rep Power: 8
alexm is on a distinguished road
yes, me too.
After successfully merging a pair of meshes with OF-1.5 (i've patched and recompiled mergeMeshes - Thanks for this patch!), stitching ended with "Patch face has got a neighbour This is not allowed."
alexm is offline   Reply With Quote

Old   September 24, 2008, 10:50
Default Hi, I think there is a number
  #7
Member
 
Andrew King
Join Date: Mar 2009
Location: Perth, Western Australia, Australia
Posts: 81
Rep Power: 8
andersking is on a distinguished road
Hi,
I think there is a number of these 'neighbour' bugs still hanging around, stichMesh (I think) uses the polytopochanger libraries to adjust the mesh.

see
http://www.cfd-online.com/OpenFOAM_D.../126/9192.html

unfortunately I haven't got the time (or code familiarity) at the moment to chase all of these up.

Cheers
Andrew
__________________
Dr Andrew King
Fluid Dynamics Research Group
Curtin University
andersking is offline   Reply With Quote

Old   November 19, 2008, 08:53
Default I am wondering if this problem
  #8
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 471
Rep Power: 11
bastil is on a distinguished road
I am wondering if this problem has been fixed? Does it work for the current git-version?

Regards
bastil is offline   Reply With Quote

Old   November 20, 2008, 02:08
Default Hi, I don't think so. I've lo
  #9
Member
 
Andrew King
Join Date: Mar 2009
Location: Perth, Western Australia, Australia
Posts: 81
Rep Power: 8
andersking is on a distinguished road
Hi,
I don't think so. I've looked through the changes in the git history and the only changes are those in these two threads.

It's still a bit beyond my capabilities, and I haven't had a chance to investigate further.

Regards,
Andrew
__________________
Dr Andrew King
Fluid Dynamics Research Group
Curtin University
andersking is offline   Reply With Quote

Old   June 18, 2009, 07:35
Default stitchMesh problem
  #10
New Member
 
srikara's Avatar
 
Srikara Mahishi
Join Date: Mar 2009
Location: Bangalore
Posts: 22
Rep Power: 8
srikara is on a distinguished road
Hi foamers,
I am trying to merge two meshes into one using the stitchMesh option. But I get the message:
"Patch face has got a neighbour. Patch ID: 6. This is not allowed."
Does anybody have an idea how to solve this problem?

Regards,
Srikara
srikara is offline   Reply With Quote

Old   June 23, 2009, 16:41
Default
  #11
Senior Member
 
Steve Hansel
Join Date: Jun 2009
Location: Colorado, USA
Posts: 112
Rep Power: 8
hansel is on a distinguished road
I was having the same problem with mergeMesh and the patch fixed the problem. I just download OF1.5 about a month ago, and I see that this patch has been out for almost a year. Is there a site for patches / updates to OF that I don't know about?
hansel is offline   Reply With Quote

Old   June 24, 2009, 08:13
Default
  #12
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 16
mattijs is on a distinguished road
I reinstated the old stitchMesh functionality just now. I've tested it on a few simple cases.
mattijs is offline   Reply With Quote

Old   June 24, 2009, 11:34
Default
  #13
Senior Member
 
Steve Hansel
Join Date: Jun 2009
Location: Colorado, USA
Posts: 112
Rep Power: 8
hansel is on a distinguished road
Quote:
Originally Posted by mattijs View Post
I reinstated the old stitchMesh functionality just now. I've tested it on a few simple cases.
Thanks.. Does that mean it's in the 1.5 release or the 1.5-dev release? (or something else?)
hansel is offline   Reply With Quote

Old   June 24, 2009, 11:59
Default
  #14
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 16
mattijs is on a distinguished road
It is in the 1.5.x git repository.
mattijs is offline   Reply With Quote

Old   July 4, 2009, 00:55
Default
  #15
Senior Member
 
Steve Hansel
Join Date: Jun 2009
Location: Colorado, USA
Posts: 112
Rep Power: 8
hansel is on a distinguished road
It worked on my case. Thanks!
hansel 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
MergeMeshes with version OF14 jens_klostermann OpenFOAM Bugs 2 November 7, 2014 17:27
MergeMeshes hsieh OpenFOAM Meshing Format & General Technical 3 September 10, 2014 09:15
MergeMeshes and stitchMesh problem flo OpenFOAM Mesh Utilities 6 May 10, 2010 10:40
MergeMeshes fails on OF141 any fix hsieh OpenFOAM Bugs 3 January 29, 2008 20:31
CFX mesh format Viet CFX 2 April 13, 2006 03:59


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