CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Question about the large expansion ratio influence to the numerical accuracy

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By flotus1

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 26, 2012, 09:10
Question Question about the large expansion ratio influence to the numerical accuracy
  #1
Senior Member
 
Anna Tian's Avatar
 
Meimei Wang
Join Date: Jul 2012
Posts: 494
Rep Power: 16
Anna Tian is on a distinguished road
Hi,

I'm wondering how's the large expansion ratio influence the numerical accuracy. In ICEM, expansion ratio is not a criteria for the grid quality test. But in the manual of autogrid5, it tells the expansion ratio need to be lower than 1.5. Sometimes, if we use small wall cell width, the expansion ratio has to be large. But the large wall width can't resolve all the fluid behavior near the wall. May I ask how to balance these two factors?
__________________
Best regards,
Meimei
Anna Tian is offline   Reply With Quote

Old   September 26, 2012, 09:42
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,

I haven't done excessive tests, but I found that for a low-Re turbulence model the difference in layer height should not be much more than a ratio of 1.2 -- even 1.5 as you suggest gives wrong values for the skin-friction and consequently a wrong drag coefficient. If you are in the log-layer region of your boundary layer a higher stretching ratio might be acceptable. Maybe one of the turbulence modelling experts could shed some more light on this.

Of course it also depends on your discretisation, but I assume that most of today's finite volume CFD codes are fairly similar.

It might be a good idea to do some tests and come up with an optimal stretching ratio for the different regions of a boundary layer.

Cheers,
Oliver
ogloth is offline   Reply With Quote

Old   September 26, 2012, 10:13
Default
  #3
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,427
Rep Power: 49
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
Quote:
Originally Posted by Anna Tian View Post
Hi,

In ICEM, expansion ratio is not a criteria for the grid quality test.
This is why you should not rely on a single "quality" estimator for the grid.

Quote:
Sometimes, if we use small wall cell width, the expansion ratio has to be large
I would not subscribe to this statement. If the width of the first cell has to be small due to Yplus-constraints, the adjacent cells have to be of similar size in order to capture the large gradients of the flow near the wall.
There is no way around a high cell count with a small expansion ratio if you want to accurately simulate the flow field near a solid boundary.

This is one of the reasons why CPUs are never fast enough.
flotus1 is offline   Reply With Quote

Old   September 26, 2012, 10:22
Default
  #4
Senior Member
 
Oliver Gloth
Join Date: Mar 2009
Location: Todtnau, Germany
Posts: 121
Rep Power: 17
ogloth is on a distinguished road
Quote:
Originally Posted by flotus1 View Post
There is no way around a high cell count with a small expansion ratio if you want to accurately simulate the flow field near a solid boundary.
That is certainly true! Any layer you can save, however, saves a fair amount of computational time. Different regions of the flow field have different constraints on the stretching ratio. For a hybrid grid (prism + tets/polys) the ratio in the laminar sub-layer is very important. However, the ratio at the transition point between boundary layer mesh and far-field is not as important. Of course you still have some constraints and cannot just jump by a factor of 100 ... ;-)

Do you know of any best practice guide for the stretching in the different regions?

Cheers,
Oliver
ogloth is offline   Reply With Quote

Old   September 26, 2012, 11:32
Default
  #5
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,427
Rep Power: 49
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
To be honest, I have only little experience on flow simulation outside the academic world, but I can share a few thoughts.
Let us limit the discussion to RANS-simulations of turbulent boundary layers.

The expansion ratio within the boundary layer should not be higher than 1.2 in wall-normal direction, I thing we agree on that. This ratio is constrained by numerical accuracy.

Now in the transition between the boundary layer and the far field is constrained by a different consideration. Even if the gradients are small enough to be well-resolved by a mesh with high expansion ratio, you should not exaggerate here.
The key word is volume jump. High volume jumps degrade the convergence behaviour of the simulation. So the smaller mesh size that could be achieved with a high expansion ratio between the far field and the boundary layer leads to a higher number of iterations necessary to converge the computation.
For this reason, even in the far field, I would not go beyond 1.5 for the expansion ratio.
Bulrush and lourencosm like this.
flotus1 is offline   Reply With Quote

Old   September 26, 2012, 11:57
Default
  #6
Senior Member
 
Oliver Gloth
Join Date: Mar 2009
Location: Todtnau, Germany
Posts: 121
Rep Power: 17
ogloth is on a distinguished road
Quote:
Originally Posted by flotus1 View Post
The expansion ratio within the boundary layer should not be higher than 1.2 in wall-normal direction, I thing we agree on that. This ratio is constrained by numerical accuracy.
Is this true for the whole boundary layer, or only for the viscous sub-layer? In the log-layer the gradients are not as steep. Assume the following:

We go from highly an-isotropic cells (ratio 5000) to iso-tropic cells in the far field. With the standard 1.2 ratio we end up with appr. 48 layers in the boundary layer. If we could use a ratio of 1.5 starting from y+ = 30, the number of layers would reduce to 33. This could be a huge reduction in the overall mesh size ... could be tested with the standard flat plate case.

Cheers,
Oliver
ogloth is offline   Reply With Quote

Old   September 26, 2012, 13:00
Default
  #7
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
using a stretching law, transition from a cell to the adjacent one must be smoot and regular, so that the derivatives of the stretching law are O(1).

You can also see paragraph 3.3.4 in the book of Ferziger and Peric
FMDenaro is offline   Reply With Quote

Old   September 27, 2012, 03:30
Default
  #8
Senior Member
 
Oliver Gloth
Join Date: Mar 2009
Location: Todtnau, Germany
Posts: 121
Rep Power: 17
ogloth is on a distinguished road
Good morning,

Quote:
Originally Posted by FMDenaro View Post
using a stretching law, transition from a cell to the adjacent one must be smoot and regular, so that the derivatives of the stretching law are O(1).

You can also see paragraph 3.3.4 in the book of Ferziger and Peric
How do you derive this rule and what does it guarantee if you fulfil this requirement?

I had a quick look at the chapter you mentioned. What Peric does is trying to "save" the second order accuracy for stretched grids, because formally the discretisation is only first order accurate. He even gives the example of singularities in the stretching law. Peric argues that a non-equidistant grid will be 2nd order accurate if you refine the grid by dividing all cells in a half. The argument is that the region with formally 1st order become smaller and consequently the global truncation error will decrease like for a 2nd order scheme.

A similar argument holds if we have one or two singularities in our stretching law for the boundary layer grid. The discussion is somewhat academical, however. In practice we are not going to refine the grid which means that we have to live with the truncation error we have. The singularity in the stretching law is no problem: The truncation error for the second derivative at any point i is O(dx_i+i - dx_i), no matter what the stretching of the neighbouring steps is.

I still think it would be a worthwhile activity to look at the boundary layer grid and try to find a minimal point distribution which still delivers the correct skin friction. For a steady RANS simulation with a low-Re model the boundary layer can easily be 50% or more of the total cell count. Any saving here would be good!

Cheers,
Oliver

Last edited by ogloth; September 27, 2012 at 03:50.
ogloth is offline   Reply With Quote

Old   September 27, 2012, 05:54
Question
  #9
Senior Member
 
Anna Tian's Avatar
 
Meimei Wang
Join Date: Jul 2012
Posts: 494
Rep Power: 16
Anna Tian is on a distinguished road
But what about the influence of large expansion ratio at the other places of the fluid domain instead of close to the wall? Will that largely influence the numerical accuracy?
__________________
Best regards,
Meimei
Anna Tian 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
Simple question? On mesh aspect ratio on boundaries TfG Main CFD Forum 19 February 5, 2014 16:01
question about element volume ratio lian CFX 0 March 21, 2008 16:22
Question about eddy viscosity ratio limit Piti CFX 2 January 17, 2008 17:49
Question to turbulence viscosity ratio Claud FLUENT 0 October 17, 2006 02:18
Question...Turbulence Intensity & Viscosity ratio Jay FLUENT 1 October 6, 2005 05:41


All times are GMT -4. The time now is 01:46.