CFD Online Logo CFD Online URL
Home > Forums > Mesh Generation & Pre-Processing

Combining Two Meshes

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

Like Tree2Likes
  • 1 Post By Wandadars
  • 1 Post By adityakashi

LinkBack Thread Tools Display Modes
Old   April 9, 2014, 16:01
Default Combining Two Meshes
New Member
Join Date: Jun 2013
Location: Gainesville, Florida
Posts: 11
Rep Power: 6
Wandadars is on a distinguished road

I'm new to posting on these forums. I can't seem to find the answer to my question online anywhere, so I thought I would try here.

Question: What is the procedure for combining two different meshes together.

For example, if I have a square 3D domain that is full of tetrahedral meshes and inside of the domain there is a spherical surface ( representing a particle). The mesh is generated between the spherical surface and the bounding edges of the cubical domain.

Now if I want to simulate what flow would result if one particle was placed in front of another, I could stitch two domains together at a common edge and use that combined mesh for my simulation.

I can't seem to find any discussion about 1.) How to go about doing this and 2.) Any open source software that can do this.

Am I thinking about this wrong?

RAMMER likes this.
Wandadars is offline   Reply With Quote

Old   May 20, 2014, 04:57
New Member
Aditya Kashi
Join Date: May 2014
Location: Delhi, India
Posts: 2
Rep Power: 0
adityakashi is on a distinguished road
Generally, it's not so easy to merge two meshes - not many programs give this option, though in principle it's not so difficult. Basically, the nodes at the boundaries of the two meshes should match exactly, so that the corresponding nodes can be merged. I don't know what kind of software you use for simulation, but FreeFEM++ ( can combine meshes - I suppose it automatically aligns nearby nodes. The command is as simple as

mesh somemesh = mesh1 + mesh2;

You can export the combined mesh in the MEDIT .mesh format.
Wandadars likes this.
adityakashi is offline   Reply With Quote


mesh combination, multiple meshes

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
Read parallel meshes dl6tud OpenFOAM Programming & Development 2 March 7, 2014 04:45
Hex and Tet meshes - simplefoam comparison danvica OpenFOAM Running, Solving & CFD 10 January 4, 2013 02:18
Getting prism to inflate into mixed tet-hex meshes Joe CFX 16 October 10, 2011 07:06
Interfaces for combining meshes rbarrett ANSYS 0 July 6, 2011 11:40
Large 3D tetrahedral meshes Aldo Bonfiglioli Main CFD Forum 4 August 27, 1999 03:33

All times are GMT -4. The time now is 12:59.