CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Native Meshers: snappyHexMesh and Others

Using snappyHexMesh to fill cells within predefined boundary

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

LinkBack Thread Tools Display Modes
Old   April 9, 2010, 09:28
Default Using snappyHexMesh to fill cells within predefined boundary
Senior Member
Kevin Smith
Join Date: Mar 2009
Posts: 104
Rep Power: 9
kev4573 is on a distinguished road
Does snappyHexMesh require a background mesh to work? What I'd like to do is predefine all my boundaries (farfield and body-fitted), and then let snappy fill in the cells. As I understand it, snappy lets you import a geometry file (*.stl), but you must place it in a preexisting mesh.

Best regards,

kev4573 is offline   Reply With Quote

Old   April 19, 2010, 08:49
Join Date: Mar 2010
Posts: 38
Rep Power: 8
marine is on a distinguished road
First you have to mesh the domain around your surface with blockMesh and then with the snappyHexMEsh you can choose to keep the external or internal field of your geometry.
marine is offline   Reply With Quote

Old   April 20, 2010, 15:55
Senior Member
Kevin Smith
Join Date: Mar 2009
Posts: 104
Rep Power: 9
kev4573 is on a distinguished road
Okay I guess that answers my question then. I don't know exactly how the snappy algorithm works, but I wonder if it's capability could be extended to total automatic meshing, given all boundary meshes (body and far-field).
kev4573 is offline   Reply With Quote

Old   April 21, 2010, 04:03
Senior Member
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 586
Blog Entries: 5
Rep Power: 15
elvis will become famous soon enough
there is a program called Icon FOAMpro which handles snappyhexmesh in a comfortable way for the customers of of Icon
It is not part of OpenFoam but a seperate product.

Some of the customers are Audi,Volkswagen, Seat and Bombadier.
In an presentation given at OSCIC2009 Slides 21,22,25,29
you will see that snappyhex mesh is the base for Meshing but that some additional features like cell quality optimisation are added by icon.

A perfectly tweaked "dictonary" for snappyhex mesh is important, as automatik meshing of a windtunnel simulation with 47 Mio cells takes them 2,5 hours on a 193 cpu core computer.

If I am not mistaken snappyhex has been used for farfield mesh
but I am not sure.

elvis is online now   Reply With Quote

Old   May 21, 2010, 04:09
Join Date: Nov 2009
Posts: 34
Rep Power: 8
stawrogin is on a distinguished road
Hi Elvis,
looks quite interesting.
Did you ask icon for their snappy-adaptation? Snappy is a part of an opensource system. If icon's snappy is based on OpenCFD's snappy it is opensource as well. They have to provide it to everybody, I think if they give it to their customers.

Best regards

stawrogin is offline   Reply With Quote


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
Wind turbine simulation Saturn CFX 45 February 8, 2016 05:42
Boundary condition for 2d lid driven cavity using ghost cells quarkz Main CFD Forum 9 January 20, 2013 06:54
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 05:05
Concentric tube heat exchanger (Air-Water) Young CFX 5 October 6, 2008 23:17
Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 2 July 15, 2005 04:15

All times are GMT -4. The time now is 10:38.