CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

How to use mergeMeshes ?? Examples?

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

LinkBack Thread Tools Display Modes
Old   February 21, 2010, 15:58
Default How to use mergeMeshes ?? Examples?
New Member
Join Date: Dec 2009
Posts: 8
Rep Power: 9
kippo is on a distinguished road
Hi all,

I try to learn OF, but I don't get a clue how to use the mergeMeshes - command.
What I want to learn: I've got two meshes from FLuent a rotor and stator. Now, I would like to join them and try to make a MRF.
First I've translated them in different folders (rotor / stator, structures according to OF) and made fluentMeshToFoam. That was ok, but how can I merge them in one central folder, now?

If I try to run the tutorial for turbomachines (

All the time I get a failure: Cannot find file "points" in directory "constant/polyMesh"

So, can someone help me how to build and setup an rotor/stator-mesh in foam ?

Thanks in advance.

kippo is offline   Reply With Quote

Old   February 22, 2010, 07:18
LVDH's Avatar
Andre Z
Join Date: Dec 2009
Posts: 63
Rep Power: 10
LVDH is on a distinguished road
I do not quite understand the Centrifugal Pump either but I can help you with your problem.

First of all I suggest you put the converged meshes in two different folders with are set up like a normal case. OpenFOAM always complains when when some file like the controlDict is missing so I always copy the structure from an other case to shut OpenFOAM up.
So if you got the two meshes in different casefolders with different casenames you are ready to go. Lets say the two cases are in "../run/blabla1" and in "../run/blabla2" and the casenames are "rotor" and "stator" this is what you need to execute:

mergeMeshes <master root> <master case> <root to add> <case to add>

In your case that would mean you have to type in this:

mergeMeshes "../run/blabla1" rotor "../run/blabla2" stator

That way you creat a new timestep in the ../run/blabla11/rotor folder.
Check it out thats where you find your new merged mesh.
LVDH 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
MergeMeshes with version OF14 jens_klostermann OpenFOAM Bugs 2 November 7, 2014 17:27
MergeMeshes hsieh OpenFOAM Meshing Format & General Technical 3 September 10, 2014 09:15
MergeMeshes and stitchMesh problem flo OpenFOAM Mesh Utilities 6 May 10, 2010 10:40
examples of simulation on room ventilation? lei FLUENT 1 June 20, 2003 22:38
Wanted: Examples of Deforming Meshes Greg Perkins Main CFD Forum 3 June 25, 2001 08:10

All times are GMT -4. The time now is 00:04.