
[Sponsors] 
February 11, 2008, 13:28 
Re: Convergence problem for refined grid

#1 
Guest
Posts: n/a

Hi,
I wrote a 2D CFD code using SIMPLE on collocated grid. I test the code with some simple cases. I found that when the grid is coarse, the solution agrees with the theoretical solution. When I refine the grid, the solution becomes divergent. So what is wrong with my code? How can I improve the convergence? Thank you for any help. 

February 11, 2008, 21:59 
Re: Convergence problem for refined grid

#2 
Guest
Posts: n/a

Are you solving RANS equations on your grid. If yes, how dense was your grid? If you use both infinitely fine grid and turbulence model then you are bound to have problems, because you will be solving reynolds stresses directly and your turbulence model will also take into account effects of turbulence in your flow field. Therefore, you end up with wrong results.
alpha 

February 12, 2008, 00:07 
Re: Convergence problem for refined grid

#3 
Guest
Posts: n/a

Thank you for your answer. Currently, I am only considering Laminar flow and solving a simple flow problem which has theoretical results. The numerical solution with 5 X 5 grid agree well with the theoretical one. However, when I refine grid from 5 X 5 to 60 X 60, the result is even not convergent.
Any input will be appreciated. 

February 12, 2008, 08:42 
Re: Convergence problem for refined grid

#4 
Guest
Posts: n/a

What i dont understand is why would you refine your grid to this extent for a laminar flow. What sort of Reynolds number are you working on? If boundary layer is laminar there is no need for DNS type grid resolution, a coarse grid will be fine.
alpha 

February 12, 2008, 09:49 
Re: Convergence problem for refined grid

#5 
Guest
Posts: n/a

Brief you problem definition, method used,


February 12, 2008, 14:15 
Re: Convergence problem for refined grid

#6 
Guest
Posts: n/a

Looks like you are not conserving mass, maybe because of your numerical scheme. This doesn't show up on a coarse grid, but does when you refine. I assume you are solving incompressible flow. Compute du/dx+dv/dy for each cell, for the coarse and fine simulations (for each time step and see if you are maintaining a divergencefree velocity).


February 12, 2008, 14:32 
Re: Convergence problem for refined grid

#7 
Guest
Posts: n/a

Response to Alpha,
Thank you for your quick response. I agree with you that for laminar flow, coarse grid works fine. In fact, I encountered divergence problem when I calculate turbulent flow (Re =4000) with my code. I can not figure out why. So I go back check my laminar flow simulation. I found that if I use fine mesh, there is some convergence problem even for laminar flow. Therefore, I think I need to solve the divergence problem for laminar flow then go to turbulent flow. 

February 12, 2008, 14:42 
Re: Convergence problem for refined grid

#8 
Guest
Posts: n/a

Hello agg,
I use SIMPLE method on collocate grid. The numerical scheme is UPWIND. To test my code, I use several simple laminar flow cases. For example, flow inside a square container with a moving lid. They show some divergence problem when the grid becomes finer, more or less. Thank you. 

February 12, 2008, 14:53 
Re: Convergence problem for refined grid

#9 
Guest
Posts: n/a

I will check the mass conservation and get back to you later.
Thanks. 

February 12, 2008, 18:43 
Re: Convergence problem for refined grid

#10 
Guest
Posts: n/a

I solve the pressure correction equation derived with massconservation equation. Is there any way to measure how well the mass conversation is satisfied when the grid becomes finer?
Thank you. 

February 13, 2008, 00:05 
Re: Convergence problem for refined grid

#11 
Guest
Posts: n/a

Pressure oscillations plays an important role in colocated grid. Have you used Rhie and Chow interpolation to avoid this problem for calculating mass flux.
continuity eq is your convergence criteria du/dx + dv/dy =0 on integrating over a C.V yields (u_eu_w)dely + (v_nv_s)delx=0 here one has to apply Rhie and Chow interpolationss for calculating flux velocities. Please correct me if I am wrong. San 

February 13, 2008, 00:34 
Re: Convergence problem for refined grid

#12 
Guest
Posts: n/a

Speaking from my own personal experience, if everything else is correct (scheme,Rhie and Chow interpolation etc), most likely you have a careless mistake. You may need to inspect your code.
Btw, you should also check when and where does it diverge. Is it due to momentum or poisson eqn? Hope that helps... 

February 15, 2008, 14:39 
Re: Convergence problem for refined grid

#13 
Guest
Posts: n/a

Hi,
Thank you all for suggestions. I did find several careless mistakes when inpsecting the code. But it is frustrating to see that the result doesn't have obvious improvment. To avoid the pressure's osillations on collocated grid, I utilize A.W. Date's method, not Rhie and Chow's interpolation. The paper for this method is "Complete pressure correction algorithm for solution of incompressible NavierStokes equations on a nonstaggered grid" by A.W.Date, Numerical Heat Transfer B, Vol.29,1996 Do you have any comment on the difference of this two methods? Cheers, 

February 17, 2008, 23:56 
SUMMARY

#14 
Guest
Posts: n/a

Hi,
I finally overcome the divergence problem for the refined grid on Laminar flow. The reason is that the careless mistakes I made in my code. Hope that it will be helpful when others encounter similar problem. Thank you all for help. 

Thread Tools  
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
Convergence  Centurion2011  FLUENT  27  Yesterday 12:58 
Need URGENT HELP for convergence problem of a turbine  Pursuor  CFX  5  October 3, 2011 17:44 
Continuity eq convergence problem  carno  FLUENT  4  February 8, 2008 05:04 
Grid Independence problem for simple pipe geometry  chanchala  FLUENT  13  November 20, 2003 09:24 
convergence problem  Trushar  Phoenics  5  August 27, 2002 23:40 