CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

How to use mergeMeshes ?? Examples?

Register Blogs Community New Posts Updated Threads Search

Like Tree6Likes
  • 6 Post By LVDH

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 21, 2010, 15:58
Default How to use mergeMeshes ?? Examples?
  #1
New Member
 
Join Date: Dec 2009
Posts: 8
Rep Power: 17
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 (http://openfoamwiki.net/index.php/Si...vaned_diffuser)

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
kippo is offline   Reply With Quote

Old   February 22, 2010, 07:18
Default
  #2
Member
 
LVDH's Avatar
 
Andre Z
Join Date: Dec 2009
Posts: 75
Rep Power: 17
LVDH is on a distinguished road
Hi,
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

Reply


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 Off
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
[mesh manipulation] MergeMeshes hsieh OpenFOAM Meshing & Mesh Conversion 3 September 10, 2014 10:15
[mesh manipulation] MergeMeshes and stitchMesh problem flo OpenFOAM Meshing & Mesh Conversion 6 May 10, 2010 11:40
examples of simulation on room ventilation? lei FLUENT 1 June 20, 2003 23:38
Wanted: Examples of Deforming Meshes Greg Perkins Main CFD Forum 3 June 25, 2001 09:10


All times are GMT -4. The time now is 15:44.