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

MergeMeshes and mesh format from 14x 15

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 23, 2008, 11: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: 17
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, 16: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, 02:15
Default I think I have fixed it - seem
  #3
Member
 
Andrew King
Join Date: Mar 2009
Location: Perth, Western Australia, Australia
Posts: 82
Rep Power: 17
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, 21: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: 17
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, 16:48
Default I can report the same behaviou
  #5
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
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, 11: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: 17
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, 11:50
Default Hi, I think there is a number
  #7
Member
 
Andrew King
Join Date: Mar 2009
Location: Perth, Western Australia, Australia
Posts: 82
Rep Power: 17
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: 530
Rep Power: 20
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: 82
Rep Power: 17
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, 08:35
Default stitchMesh problem
  #10
New Member
 
srikara's Avatar
 
Srikara Mahishi
Join Date: Mar 2009
Location: Bangalore
Posts: 22
Rep Power: 17
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, 17:41
Default
  #11
Senior Member
 
Steve Hansel
Join Date: Jun 2009
Location: Colorado, USA
Posts: 112
Rep Power: 17
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, 09:13
Default
  #12
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
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, 12:34
Default
  #13
Senior Member
 
Steve Hansel
Join Date: Jun 2009
Location: Colorado, USA
Posts: 112
Rep Power: 17
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, 12:59
Default
  #14
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
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, 01:55
Default
  #15
Senior Member
 
Steve Hansel
Join Date: Jun 2009
Location: Colorado, USA
Posts: 112
Rep Power: 17
hansel is on a distinguished road
It worked on my case. Thanks!
hansel 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
MergeMeshes with version OF14 jens_klostermann OpenFOAM Bugs 2 November 7, 2014 17:27
[mesh manipulation] MergeMeshes hsieh OpenFOAM Meshing & Mesh Conversion 3 September 10, 2014 10:15
[mesh manipulation] MergeMeshes and stitchMesh problem flo OpenFOAM Meshing & Mesh Conversion 6 May 10, 2010 11: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 04:59


All times are GMT -4. The time now is 15:26.