CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: snappyHexMesh and Others

2D snappyHexMesh with layers

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By grjmell

Reply
 
LinkBack Thread Tools Display Modes
Old   December 1, 2011, 14:16
Default 2D snappyHexMesh with layers
  #1
Member
 
Greg Melling
Join Date: Nov 2010
Posts: 41
Rep Power: 6
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, 158 views)
File Type: jpg addLayers.jpg (60.5 KB, 129 views)
File Type: png afterExtrude.png (82.3 KB, 118 views)
grjmell is offline   Reply With Quote

Old   December 2, 2011, 13:53
Default
  #2
Member
 
Greg Melling
Join Date: Nov 2010
Posts: 41
Rep Power: 6
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, 12:00
Default snap
  #3
Member
 
Join Date: Oct 2012
Posts: 47
Rep Power: 4
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, 6 views)
sh.d is offline   Reply With Quote

Reply

Tags
addlayers, extrudemesh, snappyhexmesh

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Add Layers in snappyHexMesh shchepan OpenFOAM Native Meshers: snappyHexMesh and Others 16 May 11, 2015 09:19
snappyHexMesh - layers in 3d pipe bifurcation nihil OpenFOAM Native Meshers: snappyHexMesh and Others 13 April 9, 2013 08:32
SnappyHexMesh doesn't succeed in adding several layers eti0123456789 OpenFOAM Native Meshers: snappyHexMesh and Others 5 April 9, 2013 02:36
defining layers in snappyhexmesh Leilders OpenFOAM 22 March 10, 2011 06:15
no boundary layers using snappyHexMesh thorsten OpenFOAM Native Meshers: snappyHexMesh and Others 1 October 22, 2009 06:01


All times are GMT -4. The time now is 09:35.