CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Mesh Generation & Pre-Processing Software > enGrid

Aspect-ratio Boundary Layer/ Farfield (Rule of thumb)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 14, 2013, 14:41
Question Aspect-ratio Boundary Layer/ Farfield (Rule of thumb)
  #1
New Member
 
Join Date: Mar 2013
Posts: 8
Rep Power: 13
large_eddy is on a distinguished road
Hello folks,

for I have only little experience in CFD I was hoping if someone has good advise how to overcome large jumps in the aspect-ratio at the transition zone from the surface boundary layer to the farfield. I attached a picture where you can see the problem, especially at the sharp bend. I was using Gmsh-->enGrid 1.4 to create the mesh.

The spatial extend of my domain is very high, that's why I chose a pretty rough mesh resolution, to speed up the meshing process. Once all obstacles are overcome I will use higher resolutions for the final mesh.

So how will I create smooth transition zones with little jumps of the aspect-ratio?



aspect_problem.jpg

Last edited by large_eddy; March 14, 2013 at 18:12.
large_eddy is offline   Reply With Quote

Old   March 15, 2013, 10:40
Default
  #2
Senior Member
 
Oliver Gloth
Join Date: Mar 2009
Location: Todtnau, Germany
Posts: 121
Rep Power: 17
ogloth is on a distinguished road
Hi,

the mesh that you show is probably not too bad, but I think I understand your concern and it definitely looks a bit ugly.

Did you try to use enGrid right from the start, also to create the surface mesh? It looks like enGrid was not able to delete small edges in the surface mesh directly adjacent to your boundary layer. If you use enGrid as surface mesher, it will have more information about the mesh density there and it might be able to give a somewhat better transition between boundary layer and far-field.

Cheers,
Oliver
ogloth is offline   Reply With Quote

Old   March 15, 2013, 14:02
Default
  #3
New Member
 
Join Date: Mar 2013
Posts: 8
Rep Power: 13
large_eddy is on a distinguished road
First of all thank you for the help!

I tried to use enGrid for the creation of the surface mesh but it does not work.
When I define the rules for the surface mesh generation and afterwards use the create/improve surface mesh function enGrid crashes (window shuts down immediately).

Is this a common bug, or does that indicate a wrong setting of parameters?
large_eddy is offline   Reply With Quote

Old   March 15, 2013, 14:06
Default
  #4
Senior Member
 
Oliver Gloth
Join Date: Mar 2009
Location: Todtnau, Germany
Posts: 121
Rep Power: 17
ogloth is on a distinguished road
Hmmh -- it is a bug in the sense that it should report an error instead of crashing.

Most likely, however, you have an inconsistent initial triangulation (i.e. not water-tight). Engrid needs a water-tight triangulated geometry as starting point (e.g. from an STL file or exported from Blender). You can check the mesh consistency (simply press the key C).

Cheers,
Oliver
ogloth is offline   Reply With Quote

Old   March 19, 2013, 06:20
Default
  #5
New Member
 
Join Date: Mar 2013
Posts: 8
Rep Power: 13
large_eddy is on a distinguished road
When I check my surface mesh (consiting of 4 patches) for integrity enGrid says that the mesh is OK.
So I really don't understand what the problem is in this case.

When you take a look at my mesh at the beginning of this thread would everybody agree that this is a real simple case? It should represent a plane crossed by a steep valley. Doesn't sound to complex right?

I'm now thinking of using Blender to create STL files.
But it leaves me disappointed that it seems that even though it's simple case, Gmsh-->enGrid-->openFoam won’t do the job.

How would you deal with this simple case?
large_eddy is offline   Reply With Quote

Old   March 19, 2013, 06:42
Default
  #6
Senior Member
 
Oliver Gloth
Join Date: Mar 2009
Location: Todtnau, Germany
Posts: 121
Rep Power: 17
ogloth is on a distinguished road
Hi,

If you can post the mesh which creates the crash, I would have a look at it to see what exactly is happening.

One more thing: When you divide the boundary later, you can specify two critical angles. This "pulls in" nodes which sit on sharp feature edges (e.g. the trailing edge of an airfoil). If you do not intend to export the grid in polyhedral format, this should be avoided. In this case simply set both angles to 360 degrees which should avoid the process altogether. In the example that you posted this behaviour can be observed.

Cheers,
Oliver
ogloth is offline   Reply With Quote

Old   March 20, 2013, 06:07
Default
  #7
New Member
 
Join Date: Mar 2013
Posts: 8
Rep Power: 13
large_eddy is on a distinguished road
Hi to all,

some updates on my problem: First of all I can announce that the crashing problem has disappeared by using a different version of Gmsh and enGrid (i.e. Gmsh 2.7.0 and enGrid 1.3.0). I installed the programs on my home computer and now enGrid works even faster, even though this machine is way older than the one I am using at work.

The problem with bad aspect ratios still holds on, that's why I atteached a picture from the mesh with boundary layer created with enGrid and the *.geo and *.msh file generated with Gmsh. So if someone has time to take a shot to overcome this sawtooth effect at the transition zone I would be really grateful.

So long,
Bennit
Attached Images
File Type: jpg ugly_mesh.jpg (93.4 KB, 93 views)
Attached Files
File Type: gz mesh.tar.gz (1.6 KB, 10 views)

Last edited by large_eddy; March 21, 2013 at 09:59.
large_eddy is offline   Reply With Quote

Reply


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
[Gmsh] Gmsh Boundary Layer - Wing bcorr OpenFOAM Meshing & Mesh Conversion 0 April 18, 2012 14:38
Automobile aero ground boundary layer OR simpleFoam/GAMG and high aspect ratio cells kyle OpenFOAM Running, Solving & CFD 4 January 4, 2011 12:17
[GAMBIT] Viscous layer elements aspect ratio siw ANSYS Meshing & Geometry 0 September 29, 2009 06:10
Boundary Layer Meshing of a nosecone Chris FLUENT 1 March 15, 2005 13:42
New topic on same subject - Flow around race car Tudor Miron CFX 15 April 2, 2004 07:18


All times are GMT -4. The time now is 11:28.