|
[Sponsors] |
July 23, 2008, 11:09 |
mergeMeshes seems to not work
|
#1 |
New Member
Mark Pitman
Join Date: Mar 2009
Location: Perth, Western Australia, Australia
Posts: 7
Rep Power: 17 |
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 |
|
July 25, 2008, 16:19 |
I was not able to use mergePat
|
#2 |
New Member
Laura Garrison
Join Date: Mar 2009
Posts: 1
Rep Power: 0 |
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.
|
|
July 27, 2008, 02:15 |
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 |
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 |
|
July 28, 2008, 21:59 |
Thanks Andrew! That seems to
|
#4 |
New Member
Mark Pitman
Join Date: Mar 2009
Location: Perth, Western Australia, Australia
Posts: 7
Rep Power: 17 |
Thanks Andrew! That seems to have done the trick.
|
|
September 23, 2008, 16:48 |
I can report the same behaviou
|
#5 |
Senior Member
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20 |
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.
|
|
September 24, 2008, 11:09 |
yes, me too.
After successfu
|
#6 |
New Member
Axel Mohr
Join Date: Mar 2009
Location: Kiel, Schleswig-Holstein, Germany
Posts: 24
Rep Power: 17 |
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." |
|
September 24, 2008, 11:50 |
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 |
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 |
|
November 19, 2008, 08:53 |
I am wondering if this problem
|
#8 |
Senior Member
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20 |
I am wondering if this problem has been fixed? Does it work for the current git-version?
Regards |
|
November 20, 2008, 02:08 |
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 |
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 |
|
June 18, 2009, 08:35 |
stitchMesh problem
|
#10 |
New Member
Srikara Mahishi
Join Date: Mar 2009
Location: Bangalore
Posts: 22
Rep Power: 17 |
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 |
|
June 23, 2009, 17:41 |
|
#11 |
Senior Member
Steve Hansel
Join Date: Jun 2009
Location: Colorado, USA
Posts: 112
Rep Power: 17 |
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?
|
|
June 24, 2009, 09:13 |
|
#12 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
I reinstated the old stitchMesh functionality just now. I've tested it on a few simple cases.
|
|
June 24, 2009, 12:34 |
|
#13 |
Senior Member
Steve Hansel
Join Date: Jun 2009
Location: Colorado, USA
Posts: 112
Rep Power: 17 |
||
June 24, 2009, 12:59 |
|
#14 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
It is in the 1.5.x git repository.
|
|
July 4, 2009, 01:55 |
|
#15 |
Senior Member
Steve Hansel
Join Date: Jun 2009
Location: Colorado, USA
Posts: 112
Rep Power: 17 |
It worked on my case. Thanks!
|
|
|
|
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 |