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

Meshing a pipe joint for OpenFoam--Hex or Tet????

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 11, 2010, 15:48
Exclamation Meshing a pipe joint for OpenFoam--Hex or Tet????
  #1
Senior Member
 
Nilesh Rane
Join Date: Apr 2010
Posts: 122
Rep Power: 16
nileshjrane is on a distinguished road
Hello all,
I am a newbie to OF. I want to solve a mixing problem in a pipe geometry with 2 inlet ducts. See the image attached. Final geometry is bit more complicated and this is just a simplification.

Is it possible to make hex mesh for such geometry with some free meshing software?? I have been trying out all those i could find. Its not trivial to use o-grid as well as it wil cause problem near the junctions. If anyone can tell me how to do this, it would be great.

Also its easier to get a free tet mesh for this geom from Salome. But i have a doubt there too that whether hex mesh is better or tet as far as OpenFOAM is concerned.

If someone could help me in getting hex mesh it would be really life saving for me as i really want to avoid Gambit for this..


http://picasaweb.google.com/lh/photo...eat=directlink




__________________
Imagination is more important than knowledge..

Last edited by nileshjrane; August 11, 2010 at 16:23.
nileshjrane is offline   Reply With Quote

Old   August 12, 2010, 07:17
Default
  #2
New Member
 
Join Date: May 2010
Location: Cologne
Posts: 27
Rep Power: 16
marcbest is on a distinguished road
hi nileshjrane,

at the end the solution of your calculation should be mesh-independent, so i does't matter which one you take - hex or tet. as openfoam is a face based solver hex has a better cell/face ratio so calculations with hex mesh can be faster.
if you want to use tet in salome see this:
http://www.caelinux.org/wiki/downloa...7/PipeMesh.htm
i don't know if in salome the 3D hex, 2D radial quadrangle works with junctions...
another way would be snappyhexmesh which is a bit difficult to lern but offers good refinement options for hex mesh, see:
http://www.cfd-online.com/Forums/ope...snappyhexmesh/

i hope this helps
marcbest is offline   Reply With Quote

Old   August 12, 2010, 16:54
Default
  #3
Senior Member
 
Nilesh Rane
Join Date: Apr 2010
Posts: 122
Rep Power: 16
nileshjrane is on a distinguished road
@Mercbest :

Thanx for ur reply.

I am very new to openfoam. But i have lot of CFD experience. Just dont know how to wield OpenFoam. So please excuse my stupid questions.

Can i do this?? Importing only geometry (.stl) from Salome and make a hex mesh in snappyHexMesh???

One more thing, whatever i have seen, SnappyHexMesh is used for extrnal flows?? Is there any tut or something for internal flow meshing??
__________________
Imagination is more important than knowledge..
nileshjrane is offline   Reply With Quote

Old   August 13, 2010, 09:40
Default
  #4
New Member
 
Join Date: May 2010
Location: Cologne
Posts: 27
Rep Power: 16
marcbest is on a distinguished road
no problem, i had the same questions when i started with OF

you can do internal flows with snappyhexmesh and stl-files:
http://www.csc.fi/english/pages/lscfd/Documents/MeshingToolsForOpenSourceCFD.pdf

but unfortunately there are no good tutorials for internal flow... that's why i did not start using snappyhexmesh
another point is that snappyhexmesh creates bad edges so you would need this program: http://openfoamwiki.net/index.php/Contrib_snapEdge

for all the free mesh programmes you need at least one week to become familiar with them...
marcbest is offline   Reply With Quote

Old   August 14, 2010, 06:38
Default
  #5
Senior Member
 
Nilesh Rane
Join Date: Apr 2010
Posts: 122
Rep Power: 16
nileshjrane is on a distinguished road
hello again,
I want a mesh like this one from the post:

http://www.cfd-online.com/Forums/ans...ersection.html

I want the boundary layer as well with this mesh.
__________________
Imagination is more important than knowledge..
nileshjrane 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
This mesh contains patches of type empty but is not 1D or 2D oric OpenFOAM Running, Solving & CFD 36 November 28, 2016 08:12
Tet Meshing Vs Hex Meshing jbritton Main CFD Forum 3 August 6, 2010 14:15
[GAMBIT] Meshing a pipe vedravi ANSYS Meshing & Geometry 1 March 25, 2010 14:19
CheckMeshbs errors ivanyao OpenFOAM Running, Solving & CFD 2 March 11, 2009 03:34
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 10:11


All times are GMT -4. The time now is 10:38.