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

[snappyHexMesh] SnappyHex add layers, is it adding hex's?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 4, 2013, 11:52
Default SnappyHex add layers, is it adding hex's?
  #1
New Member
 
Madeleine P. Vincent
Join Date: May 2011
Posts: 29
Rep Power: 14
Madeleine P. Vincent is on a distinguished road
Hi all,

I have a relatively simple solid structure that consists of a 16-sided tube. I want to simulate fluid flow around it. I've created the STL file of the 16-sided structure and a BlockMesh mesh that contains the structure. So far so good.

Now I'd like to add layers to capture finer structures and resolve the BL correctly. I added an "addLayers" section to my SnappyHexMeshDict. And indeed layers are added. When I zoom in using paraFoam, I can see the additional layers.

However, what I see makes me question whether they are actual hexahedra that are getting added. When I view "Surface With Edges", the surface of the pole shows rectangles, which I would expect for hexahedra. But when I add a slice to view, it appears that they may not be hex's, rather that they are 6-sided triangular (or wedge) prisms.

When I view the structure clipped, however, they all appear to be hexahedra, since square shapes show up both on the surface of the structure and along the clip plane. And this is the same for a clip normal to the X and Y directions.

So, according to clipping, it looks like the hex's are being added as expected. I suspect, therefore, that it is just a difficulty for paraFoam to display the hex's properly on slices.

Can anyone confirm this?

And, I suppose to add weight to the argument that they are indeed hex's, the addLayers algorithm wouldn't add non-hex's right? I.e., if layers are being added, then they are hex's.

Thanks for your help,
Madeleine.
Madeleine P. Vincent is offline   Reply With Quote

Old   July 18, 2016, 09:05
Default
  #2
New Member
 
Saumitra Joshi
Join Date: Dec 2012
Posts: 14
Rep Power: 13
Zaphod'sSecondHead is on a distinguished road
Quote:
Originally Posted by Madeleine P. Vincent View Post
But when I add a slice to view, it appears that they may not be hex's, rather that they are 6-sided triangular (or wedge) prisms.

When I view the structure clipped, however, they all appear to be hexahedra, since square shapes show up both on the surface of the structure and along the clip plane. And this is the same for a clip normal to the X and Y directions.

So, according to clipping, it looks like the hex's are being added as expected. I suspect, therefore, that it is just a difficulty for paraFoam to display the hex's properly on slices.
Indeed, this is a rendering option in ParaView, which you can disable by unchecking the "Decompose Polyhedra" checkbox. This checkbox can be found in the "Properties" panel of your case.
Zaphod'sSecondHead is offline   Reply With Quote

Reply

Tags
addlayers, hexahedral mesh, snappyhexmesh


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
[snappyHexMesh] How to add layers on the whole geometry surface meithid OpenFOAM Meshing & Mesh Conversion 1 January 24, 2017 05:41
[snappyHexMesh] Adding Layers in edges ch_jaehnel OpenFOAM Meshing & Mesh Conversion 0 November 2, 2016 07:19
conjugateHeatFoam + interFoam farhagim OpenFOAM Programming & Development 15 July 19, 2016 07:55
[snappyHexMesh] fail adding layers Tensian OpenFOAM Meshing & Mesh Conversion 2 November 4, 2013 11:22
Adding jpeg picture file in OpenFoam post in add a message window kumar2 OpenFOAM 1 March 22, 2006 22:17


All times are GMT -4. The time now is 21:37.