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

[snappyHexMesh] 2D snappyHexMesh with layers

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By grjmell
  • 1 Post By grjmell

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 1, 2011, 14:16
Default 2D snappyHexMesh with layers
  #1
Member
 
Join Date: Nov 2010
Posts: 41
Rep Power: 15
grjmell is on a distinguished road
I've tried to make a 2D snappyHexMesh using the accepted workaround, i.e. using extrudeMesh. This works fine, but only if you dont have layers (addLayers). Since the layers peter out towards the extrusion patch (wall), the extruded mesh does not include any of the layers, but only the castellated mesh...

The first image shows a slice of the 3D mesh after snappyHexMeshing. All good.

The second image shows how the layers are tapered out towards the extrusion patch. Which is the problem.

Third image shows the result after extrusion. No layers!

Is it possible somehow to extrude from a slice (image 1) of the 3D snappyHexMesh, thus allowing layers to be present in the extruded 2D Mesh?? Or another way? Any ideas?
Attached Images
File Type: png afterSnappySlice.png (38.2 KB, 228 views)
File Type: jpg addLayers.jpg (60.5 KB, 192 views)
File Type: png afterExtrude.png (82.3 KB, 179 views)
raj kumar saini likes this.
grjmell is offline   Reply With Quote

Old   December 2, 2011, 13:53
Default
  #2
Member
 
Join Date: Nov 2010
Posts: 41
Rep Power: 15
grjmell is on a distinguished road
actually, all you need to do is set the boundary conditions of the sidewalls to empty then the layers go all the way.
skeptik likes this.
grjmell is offline   Reply With Quote

Old   May 27, 2013, 13:00
Default snap
  #3
Member
 
Join Date: Oct 2012
Posts: 47
Rep Power: 14
sh.d is on a distinguished road
hello
i want to mesh a 2d airfoil in sanappy but it dont snap
can any one help me please?
Attached Files
File Type: gz aerofoil.tar.gz (11.2 KB, 16 views)
sh.d is offline   Reply With Quote

Reply

Tags
addlayers, extrudemesh, 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] Old and busted: snappyHexMesh and add layers with edges Siassei OpenFOAM Meshing & Mesh Conversion 6 August 14, 2018 19:33
[snappyHexMesh] Triangular elements in boundary layers generated by snappyHexMesh mike.franky OpenFOAM Meshing & Mesh Conversion 0 June 3, 2018 10:46
[snappyHexMesh] SnappyHexMesh no layers and no decent mesh for complex geometry pizzaspinate OpenFOAM Meshing & Mesh Conversion 1 February 25, 2015 08:05
[snappyHexMesh] Adding layers goes wrong with SnappyHexMesh Elise OpenFOAM Meshing & Mesh Conversion 1 April 22, 2013 03:32
[snappyHexMesh] SnappyHexMesh doesn't succeed in adding several layers eti0123456789 OpenFOAM Meshing & Mesh Conversion 5 April 9, 2013 03:36


All times are GMT -4. The time now is 22:34.