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

what is the "iterative refinement'

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 9, 2006, 12:34
Default what is the "iterative refinement'
  #1
ztdep
Guest
 
Posts: n/a
hi: slove Ax=B with iterative refinement! but what is the meaning of the iterative refinement! Regards
  Reply With Quote

Old   August 9, 2006, 15:55
Default Re: what is the "iterative refinement'
  #2
Ananda Himansu
Guest
 
Posts: n/a
initial guess x_0

do i = 1, maxIters

solve A*dx = b-A*x_(i-1)

x_i = x_(i-1)+dx

if (norm(dx) < solutionTolerance) exit

if (norm(b-A*x_i) < residualTolerance) exit

end do

The above pseudocode is for iterative refinement (using delta form, dx). It helps as compared with non-delta form ("solve Ax=b") only if the residual b-A*x_(i-1) is computed using higher-precision arithmetic. It can also help in cases of poorly conditioned coefficient matrices.
  Reply With Quote

Old   August 9, 2006, 18:37
Default Re: what is the "iterative refinement'
  #3
Ananda Himansu
Guest
 
Posts: n/a
I should have said that x_0 = 0 is a suitable initial guess
  Reply With Quote

Old   August 10, 2006, 20:56
Default Re: what is the "iterative refinement'
  #4
ztdep
Guest
 
Posts: n/a
Thank you very much! why not solve the Ax=B directly! what is its advantage! Regards
  Reply With Quote

Old   August 11, 2006, 17:34
Default Re: what is the "iterative refinement'
  #5
Ananda Himansu
Guest
 
Posts: n/a
You may notice that in the iterative refinement scheme, with x_0 = 0, the first iteration of the loop amounts to

solve A*dx = b

x_1 = dx

So basically, the first iteration amounts to saying solve A*x = b.

In exact arithmetic, this is the original task. However, in finite precision computer arithmetic, espectially with a poorly conditioned matrix A, this direct one-step solution is not accurate enough. The iterative refinement improves the accuracy of the answer, provided that the residual is computed accurately enough. Incidentally, in the delta form of the equation, the matrix A can be replaced by an approximation to it which is cheaper to solve.
  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
[snappyHexMesh] Number of cells in mesh don't match with size of cellLevel colinB OpenFOAM Meshing & Mesh Conversion 14 December 12, 2018 08:07
[snappyHexMesh] Boundary layer in a pipe Clementhuon OpenFOAM Meshing & Mesh Conversion 6 March 12, 2012 12:41
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 21:11
[snappyHexMesh] snappyHexMesh aborting Tobi OpenFOAM Meshing & Mesh Conversion 0 November 10, 2010 03:23
[snappyHexMesh] external flow with snappyHexMesh chelvistero OpenFOAM Meshing & Mesh Conversion 11 January 15, 2010 19:43


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