CFD Online Logo CFD Online URL
Home > Forums > Main CFD Forum

Convergence on non-uniform grid

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   January 29, 2005, 11:55
Default Convergence on non-uniform grid
Posts: n/a
hello I have a code for 3d laminar steady flow simulation, the code uses a collocated grid,and convection terms uses cds scheme,MIM used for pressure,I used the code to solve the cavity flow,I have the following problems: 1. when solving uniform grid steady flow ,the code works very well,but when I use non-uniform grid,even in a relative coarse grid ,the pressure always diverges,I wanna know why?The grid ratio is 1.2 near the wall.

2.I changed the code for unsteady simulation, 2nd runge-kutta for time marching,uniform grid this time for 20*20*20 grid the code works well,but when I refine the grid to 80*80*80 the pressure fails to converge. The converge criteria is the sum of all abs(residules) less than 1e-3.WHy? besides what is the best criteria for converge ?

all simulation done on re=1000,based on lid velocity

I would appreciate any comment,thanks


  Reply With Quote

Old   January 29, 2005, 14:32
Default Re: Convergence on non-uniform grid
Posts: n/a
1) Your code runs OK on a uniform grid. This means that you solver is ok.

2) Were you ever able to run any simulation successfully on an non-uniform grid? If not, goto STEP 3.

3) When you use non-uniform grid, one generally uses tranformation techniques (jacobians). If that is the case may be there is an error somewhere when you compute the derivatives. Also check your pressure poisson equation (if you are solving one). For a non-uniform grid there will be extra terms in the poisson equation.

4) Also use an RMS criterion for checking convergence.
  Reply With Quote

Old   January 31, 2005, 03:23
Default Re: Convergence on non-uniform grid
Chandra Shekhar
Posts: n/a
On non-uniform grid, error in fluxes at opposite faces of a grid doesnt cancel out....and so, it is impossible to have any FD Scheme which is conservative as well as can maintain more than 2nd order accuracy... In your case, to get yr solution converged, try to use highr orger upwinding scheme (3rd order may be sufficient).

good luck!

  Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
chtMultiRegionSimpleFoam javad814 OpenFOAM 1 September 26, 2011 13:30
Problem in running ICEM grid in Openfoam Tarak OpenFOAM 6 September 9, 2011 17:51
Problem with Grid convergence study dialolema CFX 1 June 14, 2010 07:12
NACA0012 Grid Convergence - nor converging aerospain FLUENT 10 April 21, 2010 12:33
uniform grid and beta clustering rvndr Main CFD Forum 0 February 22, 2004 00:19

All times are GMT -4. The time now is 07:38.