|
[Sponsors] |
[mesh manipulation] more than two regions to join using stitchMesh partial or perfect option |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 30, 2011, 15:05 |
more than two regions to join using stitchMesh partial or perfect option
|
#1 |
New Member
vladimir krejci
Join Date: Mar 2009
Location: Czech Republic
Posts: 20
Rep Power: 17 |
It seems when attaching a mesh using partial option there can be only one such interface and it must be the last one in the joining sequence.
I have created a rather simple case made of three cylinders which I want to join to make a single pipe. The cylinders are meshed completely the same. The only difference is they are offset axially by their respective heights. When I merge them and stitch them using perfect option, everything goes smoothly. When the first interface is stitched as perfect and the second one as partial, no problems rise. But when the first stitching is partial and the second one perfect, the second one is not performed resulting in an error: --> FOAM FATAL ERROR: Master or slave face zone contain no faces. Please check your mesh definition. From function void slidingInterface::checkDefinition() in file slidingInterface/slidingInterface.C at line 97. Has anyone encountered this weird behaviour of stitchMesh utility when applied to join more than two meshes? Is there a way out? I hope the attached case might help to solve the puzzle. Just run the Allrun script to see the error in the log.stitchMesh_2 file. |
|
November 25, 2011, 14:09 |
bugreport
|
#2 |
Senior Member
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 22 |
I can reproduce this problem (with/without the -partial option) and have reported a bug at:
http://www.openfoam.com/mantisbt/view.php?id=347 |
|
October 20, 2013, 04:48 |
|
#3 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
I was browsing the list of bugs still open at OpenFOAM's bug tracker, when I spotted the bug report that points to this thread. I gave the case a try and reproduced the same error. But I applied the solution I had found some time ago here: http://www.cfd-online.com/Forums/ope...tml#post433137 post #10 - and attached is the result. It can stitch the 3 meshes just fine, as long as the file "constant/polyMesh/meshModifiers" is removed between stitches. In addition, the attached case also demonstrates how to use my own little utility stitchMeshMultiPatch: https://github.com/wyldckat/stitchMeshMultiPatch Best regards, Bruno
__________________
|
|
May 28, 2015, 10:52 |
|
#4 |
New Member
Join Date: May 2015
Posts: 4
Rep Power: 11 |
@wyldckat
Thank you very much, that just solved the problem! |
|
April 12, 2017, 12:00 |
|
#5 |
New Member
Laszlo Barta
Join Date: Nov 2015
Posts: 8
Rep Power: 11 |
Hello,
I have a multiregion case, I would like to stitch or merge meshes of the regions into a single mesh. But I would like to retain the zones for defining porous zones. Could anyone tel me if that is possible and if yes, how? Thanks Laszlo |
|
June 17, 2018, 17:29 |
|
#6 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick note: As I've just indicated in report https://bugs.openfoam.org/view.php?id=347
Quote:
__________________
|
||
Tags |
stitchmesh |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
sliding mesh problem in CFX | Saima | CFX | 46 | September 11, 2021 08:38 |
Wrong multiphase flow at rotating interface | Sanyo | CFX | 14 | February 7, 2017 18:19 |
Multiphase flow - incorrect velocity on inlet | Mike_Tom | CFX | 6 | September 29, 2016 02:27 |
Error - Solar absorber - Solar Thermal Radiation | MichaelK | CFX | 12 | September 1, 2016 06:15 |
Waterwheel shaped turbine inside a pipe simulation problem | mshahed91 | CFX | 3 | January 10, 2015 12:19 |