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

[Other] SnappyHexMesh versus MeTiS

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By aunola

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 16, 2008, 02:31
Default SnappyHexMesh versus MeTiS
  #1
Member
 
Martin Aunskjaer
Join Date: Mar 2009
Location: Denmark
Posts: 53
Rep Power: 17
aunola is on a distinguished road
Hello,

I'm contemplating upgrading my OF-1.4.1 to OF-1.5 because the new meshing utility snappyHexMesh could be useful for my aerodynamics simulations. However, upon reading the UG I was left with some unanswered questions. One of them is this:

For parallel runs I use MeTiS (keyword method in the decomposeParDict) for domain decomposition because I have a need for load balancing. MeTiS can only partition 3D meshes consisting of either hexahedra or tetrahedra. Yet the new meshing utility snapphyHexMesh will/may create split-hexes. Since these are different than hexes, my guess is such a mesh would be beyond MeTiS' capabilities.

Is that true ?

Thanks, Martin
blue8803 likes this.
aunola is offline   Reply With Quote

Old   July 16, 2008, 07:20
Default I am not sure but I think this
  #2
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
I am not sure but I think this should work with Metis. I have another question:
What about requirements of the input surface. This must be stl. However, what about free edges, T-Joints, ... in the input surface mesh? Does it have to be 100% clean and watertight or only representing my geometry?
If I take a look at the motorcycle example I see that tis stl has some free edges and kconsists of different parts. However, it does not look like an direct CAD-export at all.

Regards
bastil is offline   Reply With Quote

Old   July 16, 2008, 07:28
Default Martin, Where did you see t
  #3
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,685
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Martin,

Where did you see that Metis handles particular cell types? AFAIK it partitions graphs. For cfd/fem meshs these graphs should arise from the cell/element connectivity. I don't know enough to know how they build the graphs for networking and circuits, but I think it's safe to say that they don't have any cell types in those cases!

Anyhow Metis works fine with polyhedral meshes, both in OpenFOAM and STAR-CD.
olesen is offline   Reply With Quote

Old   July 16, 2008, 08:09
Default To work in parallel the decomp
  #4
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21
eugene is on a distinguished road
To work in parallel the decomposition method for the mesh generator has to be parallel-aware. The methods currently available are hierarchical and parMetis afaik.
eugene is offline   Reply With Quote

Old   July 16, 2008, 08:16
Default Mark, This is specified in
  #5
Member
 
Martin Aunskjaer
Join Date: Mar 2009
Location: Denmark
Posts: 53
Rep Power: 17
aunola is on a distinguished road
Mark,

This is specified in the manual for MeTiS 4.0 for the mesh partitioning routines (p.34-35). Whereas the graph partitioning routines obviously don't care about element types, the mesh partitioning routines are restricted as I mentioned in my original post. It seems then that OF does not employ the mesh partitioning routines of MeTiS.

Thanks for your reply.
aunola is offline   Reply With Quote

Old   July 16, 2008, 08:41
Default I confirm what Eugen says. Onl
  #6
Senior Member
 
Francesco Del Citto
Join Date: Mar 2009
Location: Zürich Area, Switzerland
Posts: 237
Rep Power: 18
fra76 is on a distinguished road
I confirm what Eugen says. Only parMetis and hierarchical are available for running snappyHexMesher in parallel.
However, with metis algorithm in OpenFOAM you can partition any kind of mesh. Try it!

Bye,
Francesco
fra76 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
[CAD formats] Creating waterproof STL using snappyHexMesh or salome Tobi OpenFOAM Meshing & Mesh Conversion 58 May 13, 2020 06:01
[snappyHexMesh] Running snappyHexMesh in parallel - optimizing peterhess OpenFOAM Meshing & Mesh Conversion 2 January 3, 2018 02:54
[snappyHexMesh] Tutorial crashes: snappyHexMesh floating point exception. jasv OpenFOAM Meshing & Mesh Conversion 4 May 10, 2016 02:55
Metis on OF 2.0.0 pere OpenFOAM Running, Solving & CFD 0 February 29, 2012 06:28
[snappyHexMesh] stitchMesh and snappyHexMesh gdbaldw OpenFOAM Meshing & Mesh Conversion 0 December 23, 2009 02:09


All times are GMT -4. The time now is 16:51.