|
[Sponsors] |
[snappyHexMesh] snappyHexMesh : how to get "full hexa" mesh ? (do NOT generate pyramid, tetra, ...) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 26, 2015, 13:38 |
snappyHexMesh : how to get "full hexa" mesh ? (do NOT generate pyramid, tetra, ...)
|
#1 |
New Member
Franck HOUSSEN
Join Date: Feb 2015
Posts: 7
Rep Power: 11 |
Hello,
With snappyHexMesh (or another OpenFOAM mesher ?), is it possible to get only hexa ? (ie, prevent generation of pyramid, tetra and others elements) I am new to OpenFOAM. I looked into the documentation and tutorials to get basics cases running. I need to generate a mesh made ONLY of hexa (the solver I use can only handle hexa). To get these specific mesh, I tried to prevent pyramid / tetra generation playing on mesh quality controls : I didn't succeed to get a "hexa only" mesh. I looked in the documentation and also here https://openfoamwiki.net/images/f/f0...SlidesOFW7.pdf without success. Can somebody advice me some means to get a "hexa only" mesh ? (tuning ? controls ? stl definition ? other ?) Thanks for help, FGH Note: I attached all what is needed to mesh the case |
|
February 26, 2015, 13:56 |
blockMesh
|
#2 |
Senior Member
|
Dear Franck,
for this simple geometry I strongly suggest to use blockMesh! While this is often not the mesher of choice (it s**** for complex geometries), here it definitely would work perfectly! Simply build your cube from two blocks, with one containing the cut and the other one being fully rectangular. I guess this way it should be a matter of 20 minutes or so even for a meshing newbie. Everything you need is available in the OpenFoam User Guide, so no worries about that minor challenge! Cheers, Bernhard Edit: I did a short effort and built a blockMeshDict similar to what you probably want. You just have to change the dimensions of the points accordingly and name the different patches correctly. And of course the definition of how many cells you need in which directions are all yours. ;-) Last edited by Linse; February 26, 2015 at 14:13. Reason: Added small blockMeshDict-file |
|
February 27, 2015, 06:01 |
|
#3 |
New Member
Franck HOUSSEN
Join Date: Feb 2015
Posts: 7
Rep Power: 11 |
Thanks for the suggestion : I've just tested it, and, it turns out to work fine.
Anyway, the "cubecut" case I attached is, in fact, a voluntary simplification of what I really need (and, for these cases, blockMesh will probably not work). Actually, I need to mesh "more complex" geometries where the cube would be cut by (more or less) curved surfaces : so, for a start, I cut the cube with a plane surface (if I get a correct behavior with this case, I guess I may get what I expect even if the cut is done slightly differently). So I still need to mesh the cubecut in "full hexa" with snappyHexMesh. Is this possible maybe on playing with mesh quality controls ? Or even modifying a bit the code ? FGH |
|
February 27, 2015, 06:35 |
|
#4 |
Senior Member
|
Unfortunately I am not that versed with snappyHexMesh as to hex-exclusive meshing. Maybe it is possible, but I would not know...
As long as you stay with curved cuts: These are possible with blockMesh as well, although probably that is quite the limit of reasonable use of this tool... |
|
April 20, 2016, 22:25 |
|
#5 |
Member
Sami
Join Date: Nov 2012
Location: Cap Town, South Africa
Posts: 87
Rep Power: 14 |
Hi,
Did you find a way to get fully hex mesh ? Thanks, Mhrz |
|
Tags |
hexa, snappy hex mesh |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Difference in Visualization of q criterion in tetra and hexa mesh | raunakjung | Visualization & Post-Processing | 3 | January 10, 2021 06:15 |
decomposePar problem: Cell 0contains face labels out of range | vaina74 | OpenFOAM Pre-Processing | 37 | July 20, 2020 06:38 |
[snappyHexMesh] Error snappyhexmesh - Multiple outside loops | avinashjagdale | OpenFOAM Meshing & Mesh Conversion | 53 | March 8, 2019 10:42 |
[snappyHexMesh] Creating multiple multiple cell zones with snappyHexMesh - a newbie in deep water! | divergence | OpenFOAM Meshing & Mesh Conversion | 0 | January 23, 2019 05:17 |
[snappyHexMesh] snappyHexMesh & Mesh around a missile | sasanghomi | OpenFOAM Meshing & Mesh Conversion | 2 | October 15, 2014 20:54 |