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

Order of Convergence

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 28, 2005, 13:39
Default Order of Convergence
  #1
Ferreira, VG
Guest
 
Posts: n/a
Hi Dear Friends,

I run my code in three meshes. From this results, I would like to know what is the order of convergence of the numerical method.

Best Regards Ferreira
  Reply With Quote

Old   September 28, 2005, 16:50
Default Re: Order of Convergence
  #2
Mani
Guest
 
Posts: n/a
ok... what is your question? how to find the order of convergence given the results on three meshes?
  Reply With Quote

Old   September 28, 2005, 17:05
Default Re: Order of Convergence
  #3
Tiger
Guest
 
Posts: n/a
Which numerical method are you using? The order of convergence varies depending on which type of scheme you are using. Are you using finite volume or finite element?

~Tiger

  Reply With Quote

Old   September 28, 2005, 17:27
Default Re: Order of Convergence
  #4
agg
Guest
 
Posts: n/a
Here is a reference book:

"Verification and Validation in computational science and engineering" by Patrick J. Roache

ISBN 0-913478-08-3
  Reply With Quote

Old   September 28, 2005, 17:34
Default Re: Order of Convergence
  #5
Renato N. Elias
Guest
 
Posts: n/a
Hi Ferreira,

You can talk about convergence over several aspects: linear/nonlinear solution, relative/absolute residual, relative/absolute solution increment, convergence related with the time integration algorithm, solution scheme, among others...

In order to help with your question we have to know more about your problem... at least your convergence criteria and the order of magnitude that this criteria decays.

Regards

Renato N. Elias

  Reply With Quote

Old   September 28, 2005, 17:51
Default Re: Order of Convergence
  #6
Ferreira
Guest
 
Posts: n/a
Sorry my dears,

My problem is to solve the incompressible Navier-Stokes equations plus mass conservation equation on especific domain. I run my code in three meshes and compared the results with analytical solution. I noted that the numerical solution on coarse and medium meshes converges to numerical solution on fine mesh. And the fine mesh numerical solution is in good agreement with the analytical solution. My numerical code is in finite difference method; convective terms is approximated by second order upwind scheme and viscous/pressure terms by central diffrence.

Thanks, Ferreira

  Reply With Quote

Old   September 29, 2005, 02:36
Default Re: Order of Convergence
  #7
ganesh
Guest
 
Posts: n/a
Dear Ferreira,

I assume that you have a siutable convergence criteria for your code and you are intersted in the steady state solution for some problem at hand. You then have solved the problem on three different grids of sizes say h1,h2 and h3.

We have,

s1 =solution on grid 1 = exact solution + C.h1^p s2= solution on grid 2 = exact solution + C.h2^p s3= solution on grid 3 = exact solution + C.h3^p

where p is the order of accuarcy.

Now by simple subtraction, we have

s1 - s2 = C*(h1^p - h2^p)

s2 - s3 = C*(h2^p - h3^p)

From these, dividing we get a relation R that has only p as the unknown and can be solved for known s1,s2,s3,h1,h2,h3.

A few comments:

1. This is basically the Richardson extrapolation procedure that is widely employed for estimation.

2. h1,h2 and h3 are characrteristic lengths of the grids, so it is necessary that your grids 'nest' in other words, we need to have regular grids such that h=h1=2*h2=4*h3. This can then be used to simplilify the relation R obtained above to a simple algebraic equation in p.

3. The exact solution is not essential for obtaining the order of convergence ie p. The solutions s1, s2 and s3 can be integrated coefficients such as Cl or Cd which are representative of the problem at hand.

However, note that the word 'convergence' encompasses a lot of things as Renato pointed out, and unless very specific it is difficult to answer to the point. I presume that the situation you are poresently faced with is something of the above kind and hence this reply.

Hope this helps.

Regards,

Ganesh

  Reply With Quote

Old   September 29, 2005, 07:27
Default Re: Order of Convergence
  #8
James Date
Guest
 
Posts: n/a
Check out the work done by Fred Stern (Iowa) in this area.
  Reply With Quote

Old   September 29, 2005, 23:18
Default Re: Order of Convergence
  #9
Praveen. C
Guest
 
Posts: n/a
If you have the exact solution then compute the error in some norm (like L1, L2, Linf) and plot error versus log(h) where h is a measure of the grid size. Then the slope of the resulting line will give you the order of accuracy. You can do a least squares fit for error versus log(h).
  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
Convergence Centurion2011 FLUENT 48 June 14, 2022 23:29
Force can not converge colopolo CFX 13 October 4, 2011 22:03
First order in time and Central Difference Convergence problem RameshK Main CFD Forum 7 July 17, 2010 14:13
In what range should the observed order of grid convergence be? jack1980 FLUENT 0 March 9, 2010 09:59
1st - 2nd order - convergence antonio FLUENT 4 December 16, 2004 08:37


All times are GMT -4. The time now is 21:14.