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

Number of cells

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 1, 2002, 06:06
Default Number of cells
  #1
Christian Holm
Guest
 
Posts: n/a
I have been wondering. When do you know that your model has enough cells? I mean, I know that the solution should be "grid independent", but in praxis there are not always time to re-calculate the case with an increase in cells and if the model is large/complicated a restriction in cell number is sometimes required due to calculation time.

I know that if you are looking for separation, the cell-density near the walls should be dense, i.e. the number of cells should be increased in areas where you expect large gradients. BUT….. When do you know when there are enough cells.

Christian

(Maybe the answer is: "When the solution looks as expected" or "Judge independently from case to case based on the physical design and expected flow pattern").
  Reply With Quote

Old   February 1, 2002, 10:30
Default Re: Number of cells
  #2
yangqing
Guest
 
Posts: n/a
just try it!
  Reply With Quote

Old   February 1, 2002, 11:55
Default Re: Number of cells
  #3
Anup
Guest
 
Posts: n/a
If you can capture what you are looking for, then the grid size is sufficient. Otherwise increase grid size. Grid should be clustered at walls because of steep gradients. After you do a lot of simulations it also comes by judgement.

Anup.
  Reply With Quote

Old   February 1, 2002, 12:10
Default Re: Number of cells
  #4
Jongdae Kim
Guest
 
Posts: n/a
Hi! Christian,

My topic is Large Eddy Simulation of turbulent flow around square prism. Re=22000 based on the inlet velocity and prism dimension.

Depends on the objectives, I run my code with different input data files. For the simple mean quantities such as mean drag and lift coefficients, mean velocities and turbulent intensities, I use somewhat coarse grid (even though in this case, the # of grid points are almost 500,000).

For the calculation of fully three dimensional flow characteristics, I need more grid points. In this case I'm using almost one million cells.

For the bodies with complex geometry, it is almost impossible to get grid independent solution.

Let's consider the trubulent flow around bridge deck, we should consider several things as follows : the cell sizes on the surface of deck, streamwise/lateral/spanwise computational domain sizes.

So we should compromise with the reality.

1. We have to consider what we want to get from the simulation. Physical viewpoint.

2. We have to consider how the results should accurate.

3. Considering the computer you can use, We should decide the number of cells. This is an economical viewpoint.

Conclusively, trial and error is the only choice. Why? Nobody knows the results before running the case.
  Reply With Quote

Old   February 4, 2002, 06:09
Default Re: Number of cells
  #5
Jing
Guest
 
Posts: n/a
In the DNS or LES method, the number of the grid should be in the order of the Reynolds number power 9/4 to insure the grid independence.

In the Reynold time-averaged method, it is difficult to judge if the grid is independent. As the small vortex is omitted in the time-averaged method. With the refinement of the grid, more and more detailed flowfield information can be captured. Therefore, the criteria may be the accuracy of the solution that you wish.
  Reply With Quote

Old   February 4, 2002, 08:53
Default Re: Number of cells
  #6
Matthias
Guest
 
Posts: n/a
i´m using the reynolds averaged navier-stokes equations with the k-eps-modell and a logarithmical wall function for turbulent internal flows. I never reach the results desired in the first run. So therefore i try first a coarse mesh with a maximum of 50000 nodes. Then i plot the residuals of pressure and the other solution variables for locating areas of mesh refinement. After the second run the results sometimes match, if not i put even more nodes in the modell.

But if the simulations are similar (physically) i use in the first run the mesh-topology used in modells before.
  Reply With Quote

Old   February 4, 2002, 23:12
Default Re: Number of cells
  #7
Greg Perkins
Guest
 
Posts: n/a
A number of respondents have concentrated on the grid-independent aspect of this. But there is another.

Implicit in their assumptions is that the governing equations/physical models are known and/or exact or at least good enough. This is a good assumption for aerodyanmic flows or flows with heat transfer etc.

However, in many multiphase/chemical processes the physical models themselves are often poorly understood. In this case, uncertainty in these aspects may dominate the problem, whether you have a grid-independent solution or not.

I suppose, what I'm getting at it, achieving a grid-independent solution is still advisable, however, it may not be the only aspect that's important in the model.

Greg
  Reply With Quote

Old   February 6, 2002, 11:48
Default Re: Number of cells
  #8
Tingguang
Guest
 
Posts: n/a
As I have heard, there is a algorithm based on Richardson Extrapolation. With this method, you can compare the solution of 3 gridsize. From them, you can get the order of accuracy of the solution. Then you can get Grid Convergence Index (GCI) for your method. This can be done on any simple benchmark problem to test your program. For this case, there is no specific requirement on grids unless you provided the detail of the objects. That is all I can provide. If you find more information on grid dependence evaluation, please let me know. I am also in need of it. Tingguang
  Reply With Quote

Old   February 20, 2002, 07:37
Default Re: Number of cells
  #9
Nicola Maceli
Guest
 
Posts: n/a
For some applications of Richardson extrapolation an easy introduction with some examples would be: http://www.iihr.uiowa.edu/gothenburg...F/iihr_407.pdf, but on the net you can find a lot of resources about cfd validation.
  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
mesh file for flow over a circular cylinder Ardalan Main CFD Forum 7 December 15, 2020 13:06
How to let the mesh motion solver just solve a small region near a moving boundary? zhajingjing OpenFOAM Running, Solving & CFD 9 April 28, 2016 04:15
how to obtain the total number of cells coiby FLUENT 6 January 27, 2011 19:58
SOS! HELP! max number of cells :( Jas Phoenics 4 February 14, 2004 10:12
meshing F1 front wing Steve FLUENT 0 April 17, 2003 12:37


All times are GMT -4. The time now is 17:37.