CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [mesh manipulation] MergeMeshes (https://www.cfd-online.com/Forums/openfoam-meshing/61933-mergemeshes.html)

hsieh May 18, 2006 22:25

MergeMeshes
 
Dear OpenFOAM experts,

I am wondering about mergeMeshes utility and the sitichMeshes utility.

I am planning to "glue" two meshes together. In the OpenFOAM wiki site, the description of mergeMeshes if the following:
---------------------
mergeMeshes adds the cells of two meshes together. It does NOT merge the faces between the two sets of cells. Neither does it check for overlapping cells.

To merge the faces use stitchMesh.
-------------------------------------

So, does it mean that I will perform
mergeMeshes <master> <master> <second> <sencond>

Followed by:
stitchMeshes <case> <case> <patch> <patch>

in stitchMeshes, does it "merge" the faces and also eliminate duplicate nodes?

Thanks in advance for your reply.

Pei

nanavati September 10, 2014 05:12

Quote:

Originally Posted by hsieh (Post 181141)
Dear OpenFOAM experts,

I am wondering about mergeMeshes utility and the sitichMeshes utility.

I am planning to "glue" two meshes together. In the OpenFOAM wiki site, the description of mergeMeshes if the following:
---------------------
mergeMeshes adds the cells of two meshes together. It does NOT merge the faces between the two sets of cells. Neither does it check for overlapping cells.

To merge the faces use stitchMesh.
-------------------------------------

So, does it mean that I will perform
mergeMeshes <master> <master> <second> <sencond>

Followed by:
stitchMeshes <case> <case> <patch> <patch>

in stitchMeshes, does it "merge" the faces and also eliminate duplicate nodes?

Thanks in advance for your reply.

Pei

Hi, Did you found any example on SticthMesh so far ?

Please let me know.

I am struggling for the same and unfortunatelly there is no exact complete StitchMesh Example available !!

elvis September 10, 2014 07:32

Hi,

http://openfoamwiki.net/index.php/StitchMesh
http://openfoamwiki.net/index.php/Im...ith_interfaces

nanavati September 10, 2014 09:15

Thanks for the links.

In the Meanwhile, I have found one more complete tutorial.

http://www.tfd.chalmers.se/~hani/kur...eTutorials.pdf

Hope, this thread and these links will be helpful to those who are searching the stuff out there :)


All times are GMT -4. The time now is 13:41.