|
[Sponsors] |
[snappyHexMesh] Pure hex mesh with snappy |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 29, 2009, 03:15 |
Pure hex mesh with snappy
|
#1 |
New Member
Alf Melchior
Join Date: Apr 2009
Posts: 2
Rep Power: 0 |
Hi!
I am just trying to generate a pure hex mesh with snappyHexMesh without any degenerated elements like wedges or alike. Is this possible at all with snappy? I tried playing around with some of the parameters of meshQualityControls (e.g. minDeterminant) but I get either at least some of the unwanted elements or a staircase like surface. Thus my question: Is it possible to generate a pure hex mesh - and if it is which parameters to select (for example for the motorbike test case). Thanks Alf |
|
October 1, 2009, 10:20 |
|
#2 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,089
Rep Power: 34 |
Hi,
You could try IA-FEMesh: http://www.ccad.uiowa.edu/mimx/IA-FEMesh/ It produces purely hex mesh from STL surfaces. Philip |
|
October 6, 2009, 05:19 |
|
#3 |
New Member
Alf Melchior
Join Date: Apr 2009
Posts: 2
Rep Power: 0 |
Hi Philip,
thanks for you answer. I tried it and it looks that it works quite well - even if the handling is somewhat unusual. Alf |
|
January 21, 2011, 18:08 |
|
#4 |
Senior Member
|
Can it generate Unstructured HexaHedral meshes.?
And how would your compare it with snappyHexmesh? |
|
January 24, 2011, 05:07 |
|
#5 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,089
Rep Power: 34 |
Hi owayz,
All hexahedral meshes are structured. That's why they are more difficult (and require much more user input) to create than tetrahedral meshes. If you geometry is simple (or made up of simple shapes) then blockMesh will create a structured hexahedral mesh. If you have a complex geometry and you have the STL surface file, then IA-FEMESH can create a pure structured hexahedral mesh. snappyHexMesh can create a structured hexahedral mesh with polyhedral near the surface of the STL. There are also many other meshing software that can do similar things like gambit, ICEM etc. There might be some software that can automatically create a structured hexahedral mesh (like moceon cheetah) but I am not familiar with it. Philip C |
|
February 14, 2011, 07:03 |
|
#6 |
Senior Member
|
Hi Phillip,
Thanks very much for your reply. But I would really like to create a pure Hexahedral mesh with snappyhexmesh. So my question is still the same: "Can it generate pure hexahedral meshes?" A "yes" or "no" might save me alot of effort and time. And if it can and someone call tell how is it possible, I mean which parameters to change then it would be like heaven on earth for me. |
|
February 14, 2011, 07:27 |
|
#7 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,089
Rep Power: 34 |
owayz,
as far as I know (please correct me if I am wrong), snappyHexMesh cannot create a purely hexahedral mesh that is snapped to a surface, it always puts general polyhedral cells near the stl surface during the snapping phase. It can produce a pure hexahedral mesh that has not been snapped to the STL surface but this leaves your mesh surface as castellated so it might not be very useful. Hopefully this helps, Philip |
|
February 14, 2011, 10:06 |
|
#8 |
Senior Member
|
Ya Thanks for the reply. I just relized that. Actually i was trying to generate the pure Hexahedralmesh with snappy but it turns out to be that a pure hexahedral mesh won't be snapped. In simple words snappy needs refinement to be done for snapping and during refinement its produces polyhedral cells. So there is no easy way around the solution. But I still would love to hear anyother aproach if there is possible.
Regards Awais Ali |
|
February 14, 2011, 10:21 |
|
#9 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,089
Rep Power: 34 |
Awais,
You could check out IA-FEMesh (http://www.ccad.uiowa.edu/mimx/IA-FEMesh/), it can produce pure hexahedral meshes from STL surface, albeit with considerable input from the user. Also it can be awkward getting the mesh into OpenFOAM, but it is free. There are commercial meshing programs like ICEM that will produce purely hex meshes. Philip |
|
February 14, 2011, 10:36 |
|
#10 |
Senior Member
|
Yes ICEM is a good option. But let us try to get things done inexpensively.
Thanks for your advise. I will surely give IA FEMESH a try. Regards, Awais Ali |
|
February 14, 2011, 17:16 |
|
#11 | |
Senior Member
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,272
Rep Power: 34 |
Quote:
Owayz , i have this grid generation book: http://www.amazon.com/Handbook-Grid-.../dp/0849326877 This book says that it is possible to snap to pure hexa meshes. It is difficult but possible. This book explains also how it is done. As for snappyhexmesh of openFOAM is concerned it may not be possible. (i am reading that book because i want to write similar grid generator myself and was interested in how to generate high quality meshes.) |
||
January 25, 2013, 02:43 |
|
#12 |
New Member
Timo Kulju
Join Date: Aug 2009
Posts: 22
Rep Power: 16 |
Hi!
I did a mesh with purely hex and polyhedral elements by setting minDeterminant to 1. My geometry is a bit simpler than motorbike, but anyway it was possible. Maybe with fine surface refinement, and using OpenFOAM-2.1.x, it could be done. - Timo |
|
February 14, 2013, 05:52 |
|
#13 |
Member
Ali Khalifesoltani
Join Date: Mar 2011
Location: Esfahan, Iran
Posts: 56
Rep Power: 15 |
Hello everybody,
When I mesh a domain around a geometry like a boat, it seems that the generated mesh consists of tetrahedral elements(not hexahedral). I want to know how to produce a hexahedral mesh? Any suggestion is welcome. Regards, Ali |
|
February 14, 2013, 11:15 |
|
#14 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51 |
Hi,
I think you had a look at your mesh with paraview and slices or clips? You have to use the filters for a correct view of the cells in paraview. ExtractCellsByRegion or you can calulate an new array with cooridnateX and have a look at that with treshhold. Hope that is helpful Tobi |
|
February 15, 2013, 07:15 |
|
#15 |
Member
Ali Khalifesoltani
Join Date: Mar 2011
Location: Esfahan, Iran
Posts: 56
Rep Power: 15 |
Dear Tobias,
Thanks for the reply. I used ExtractCellsByRegion filter and attached a screenshot of my mesh in the central region. It looks like that the mesh contains polyhedral elements.(both 5 & 6) Am I wrong? Cheers, Ali |
|
February 17, 2013, 13:52 |
|
#17 |
Member
Ali Khalifesoltani
Join Date: Mar 2011
Location: Esfahan, Iran
Posts: 56
Rep Power: 15 |
Hi again,
I used ExtractCellsByRegion filter, but still the cells looks like both 5 & 6 hedrals. I would be grateful if you help me on this! regards |
|
February 17, 2013, 14:24 |
|
#18 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
@Ali: When you run paraFoam, you're shown the "Object Inspector", in the lower left part of the ParaView window, which provides one of the following options:
Bruno
__________________
|
|
Tags |
snappyhexmesh hex |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] Openfoam: Meshing, where do my defaultFaces come from | syntex | OpenFOAM Meshing & Mesh Conversion | 19 | December 10, 2018 07:21 |
[snappyHexMesh] No layers in a small gap | bobburnquist | OpenFOAM Meshing & Mesh Conversion | 6 | August 26, 2015 09:38 |
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! | sc298 | OpenFOAM Meshing & Mesh Conversion | 2 | March 27, 2011 21:11 |
[snappyHexMesh] snappy hex mesh error | CFT | OpenFOAM Meshing & Mesh Conversion | 1 | October 9, 2009 07:32 |
How to control Minximum mesh space? | hung | FLUENT | 7 | April 18, 2005 09:38 |