|
[Sponsors] |
September 2, 2009, 18:28 |
need to learn meshing
|
#1 |
New Member
Ganesh S Swamy
Join Date: Sep 2009
Posts: 6
Rep Power: 17 |
Hi all,
I am using Gambit to mesh a part in my project. I am having problems using boundary layers. Can some one teach me howto use Boundary layers for 3D meshing please. Thank you |
|
September 3, 2009, 00:11 |
|
#2 | |
Senior Member
Chris
Join Date: Jul 2009
Location: Ohio, USA
Posts: 169
Rep Power: 17 |
Quote:
The diagram shows a boundary layer mesh applied to a 3D flat plate (imagine that the z-direction is out of the page.) Notice that there are two faces perpendicular to the plate, one coincident with the leading edge and one coincident with the trailing edge. These are the faces onto which the boundary layer grows. The second thing to know is that, in my opinion, for a structured (hex) grid, the boundary layer mesh is just a fancy way of grading edges. By this I mean that, for a structured grid, you can achieve the same results by either applying a boundary layer mesh or grading the edges manually yourself (via edge meshing with first length and interval count.) If you are using an unstructured (tet) grid, then the boundary layer tool is necessary, as it allows for the generation of a structured (hex) mesh in the boundary layer and an unstructed (tet) mesh outside of the boundary layer. This is pretty hard to explain without actually having pictures from Gambit to post. Unfortunately, I don't have it in front of me right now. I'll post more tomorrow for you when I can get in front of Gambit and get some pictures. I hope this can at least answer some of your questions until then. |
||
September 3, 2009, 03:11 |
|
#3 | |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
Quote:
Indeed Gambit will inflate this source and will create the BL, which sourrounds your source (here your surface... and the BL is a surrounding volume) Picking an edge as source is ok for 2D case
__________________
In memory of my friend Hervé: CFD engineer & freerider |
||
September 3, 2009, 12:39 |
|
#4 | |
Senior Member
Chris
Join Date: Jul 2009
Location: Ohio, USA
Posts: 169
Rep Power: 17 |
Quote:
First, I created a flat plate, and then I built a volume on top of the plate (see pictures 1 and 2.) Then, I created a boundary layer, using an edge as a source and attaching it to (i.e., having it grow on) a face (see picture 3.) (To get the mesh to “grow in a different direction”, shift-middle click the edge, and the mesh will grow from the same edge onto another face.) Next, I meshed the edges of the volume, and you can see in picture 3 that the BL grades the edge mesh such that the interval size increases with increasing distance from the plate. Finally, I meshed the volume using a Hex/Map scheme. After the volume was successfully meshed, I cut a plane offset from the y-z plane through the mesh (picture 4.) You can see that the manner in which I used the BL mesh tool allowed for the creation of a volume mesh that is fine at the surface of the plate and grows with increasing distance from the plate. Keep in mind that the BL mesh tool is just a way of grading an edge mesh, and that you could achieve the same results by using a First Length/Interval count edge mesh scheme, where the first length is the height of the first cell of the “boundary layer”, and the mesh size increases with increasing distance from the plate (i.e., the edge mesh arrow points away from the plate.) This is actually the way I have been creating “boundary layer” meshes lately, as it allows for, in my opinion, more control over the mesh, and you don’t end up with a large jump in the mesh size at the top of the boundary layer. |
||
September 3, 2009, 14:25 |
|
#5 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
I agree with you Chris, because you are working here with Hexa-
But I am pretty sure it won't work with unstructured grid.
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
September 3, 2009, 16:21 |
|
#6 |
Senior Member
Chris
Join Date: Jul 2009
Location: Ohio, USA
Posts: 169
Rep Power: 17 |
I think you're right, Max.
|
|
September 20, 2009, 20:50 |
|
#7 |
New Member
Ganesh S Swamy
Join Date: Sep 2009
Posts: 6
Rep Power: 17 |
Thank you Chris.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Best Meshing scheme for Cylinder | Nutrex | Main CFD Forum | 4 | July 29, 2008 12:03 |
Meshing locks workbench window. | andy2o | CFX | 0 | February 1, 2008 06:01 |
Singularity of grid?Volume meshing vs face meshing | Ken | Main CFD Forum | 0 | September 4, 2003 12:09 |
Volume Meshing & Face Meshing? singularity of grid | ken | FLUENT | 0 | September 4, 2003 12:08 |
Is conformal meshing really an advantage? | Alvin Szeto | Main CFD Forum | 19 | June 27, 2003 08:23 |