CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Mesh Utilities

more than two regions to join using stitchMesh partial or perfect option

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

Like Tree2Likes
  • 2 Post By wyldckat

LinkBack Thread Tools Display Modes
Old   October 30, 2011, 15:05
Default more than two regions to join using stitchMesh partial or perfect option
New Member
vladimir krejci
Join Date: Mar 2009
Location: Czech Republic
Posts: 17
Rep Power: 9
Lada is on a distinguished road
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:

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.
Attached Files
File Type: gz join_three_meshes.tar.gz (3.3 KB, 42 views)
Lada is offline   Reply With Quote

Old   November 25, 2011, 14:09
Default bugreport
Senior Member
Joachim Herb
Join Date: Sep 2010
Posts: 376
Rep Power: 10
jherb is on a distinguished road
I can reproduce this problem (with/without the -partial option) and have reported a bug at:
jherb is online now   Reply With Quote

Old   October 20, 2013, 03:48
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,558
Blog Entries: 39
Rep Power: 97
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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: when can stitchMesh be used? 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:

Best regards,
Attached Files
File Type: gz join_three_meshes_fixed.tar.gz (3.8 KB, 28 views)
jherb and braker like this.
wyldckat is offline   Reply With Quote

Old   May 28, 2015, 09:52
New Member
Join Date: May 2015
Posts: 1
Rep Power: 0
braker is on a distinguished road
Thank you very much, that just solved the problem!
braker is offline   Reply With Quote



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
Wind turbine simulation Saturn CFX 45 February 8, 2016 05:42
Water subcooled boiling Attesz CFX 7 January 5, 2013 04:32
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 05:05
Simulation of a single bubble with a VOF-method Suzzn CFX 18 October 2, 2009 04:18
mass flow in is not equal to mass flow out saii CFX 2 September 18, 2009 08:07

All times are GMT -4. The time now is 11:53.