
[Sponsors] 
February 12, 2002, 11:58 
How to obtain....

#1 
Guest
Posts: n/a

Hi,
How to obtain a gridindependent solution in Fluent? OR how to ensure that solution obtained is independent of grid/mesh size? Thanx. Sharad 

February 13, 2002, 03:06 
Re: How to obtain....

#2 
Guest
Posts: n/a

Hi,
You have to adapt your mesh e.g. by gradient. Then start the iteration and get a new solution. If the values in your flow field differ only by 03 % the solution should by mesh independent. Armin 

February 13, 2002, 06:22 
Re: How to obtain....

#3 
Guest
Posts: n/a

Dear Armin,
Thanx for reply. Please elaborate what do you mean by "You have to adapt your mesh e.g. by gradient." Please explain in detail. Sharad Dugad 

February 13, 2002, 11:46 
Re: How to obtain....

#4 
Guest
Posts: n/a

I mean you should refine your mesh. For example by gradient or iso value etc. It depends on your problem what is suggestive.
Armin 

February 13, 2002, 12:03 
Re: How to obtain....

#5 
Guest
Posts: n/a

Basically to ensure a gridindependent solution, you must run each Fluent simulation with two different grids. These grids must be significantly different from one another. That means you cannot just alter one or two cells. If you run Fluent on two completely different grids and you get the same answer, then you are gridindependent. If you get two significantly different answers, then which do you trust? Answer: neither can be trusted since the result depended on the grid (and you must create a 3rd, 4th, 5th,… grid until you find some that give you the same result).
Here are great methods to generate two completely different grids: 1) Use different cell shapes. If you used rectangles in one grid, try triangles with the second grid. 2) Use a lot more cells in one grid than the other. If one mesh used 10,000 cells, have the other mesh use 20,000 cells. Unfortunately many people don't take the time or effort to do either of those methods. Armin Gips mentioned a method that is quicker and easier, but doesn't guarantee that you are gridindependent. Simulation errors most likely occur where there is a large gradient (where there is a large change in a variable over a short distance in space). Fluent has a menu that will add extra cells where there are large gradients (go to the adapt menu and select gradient). Then you must have a Fluent solution, then choose what variable Fluent use when it looks for gradients, then you must tell Fluent what to consider a large gradient, then you must tell Fluent to Adapt. Fluent will then double the cells anywhere where the variable gradient is large. Finally, you must iterate again. Unfortunately, there is no guarantee that you altered the grid in the right spot  or you may have just altered only one or two cells. However, this is better than doing nothing. Be realistic when you check for grid independence. Suppose you are interested in a temperature at a point. If that temperature goes from 300K to 300.1 K with different grids then you should realize that 0.1K is not a significant change. If changing the grid altered the temperature from 300K to 302K, then this may or may not be significant (this depends on your required solution accuracy). If changing the grid altered the temperature from 300K to 1000K, then you most likely have really bad grids and need to create a good grid before you can even hope to trust the Fluent results. 

February 13, 2002, 12:05 
Re: How to obtain....

#6 
Guest
Posts: n/a

I forgot to mention one thing.
A grid independent solution is a must for any simulation. However, it doesn't guarantee that you can trust your simulation results. If you used a bad model, then you will get gridindependent bad results. Only if you use a good model and you get gridindependent results can you trust your simulations. 

February 13, 2002, 13:14 
Re: How to obtain....

#7 
Guest
Posts: n/a

Dear Scott,
Thanx a lot for your elaborate answers. I would appreciate if you please elaborate, in a similar manner, what Armin Gips meant to say. I did not understand what he mentioned. Could you please explain how to go about his "shortcut" way? Thanking you again. Sharad Dugad 

Thread Tools  
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
Obtain the processor id in parallel code  albcem  OpenFOAM Programming & Development  4  August 7, 2009 13:35 
How to obtain diffusion flux  Gavin  CDadapco  1  May 3, 2006 14:41 
Can we obtain PHASE from the solution of an d.e. ?  Demidov  Main CFD Forum  0  March 5, 2005 04:52 
how to obtain a profile ...  olivier  FLUENT  2  December 13, 2001 07:21 
How to obtain xvelocity of Cells  Will  FLUENT  1  April 18, 2001 05:17 