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

iterative methods?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 23, 2015, 08:13
Default iterative methods?
  #1
New Member
 
Join Date: Nov 2015
Posts: 1
Rep Power: 0
sdhsami is on a distinguished road
Dear all
I wish to solve a linear system with a 4000*4000 symmetric sparse matrix.
I was wondering what iterative method could be the best choice so that solving takes the least time?
Thanks
sdhsami is offline   Reply With Quote

Old   November 23, 2015, 08:31
Default
  #2
Member
 
Kaya Onur Dag
Join Date: Apr 2013
Posts: 94
Rep Power: 13
kaya is on a distinguished road
I don't have enough experience on these but the one who has, perhaps going to need more information than your matrix size Perhaps knowing actual physics in the system, magnitude of required residual or parallel / sequential computing etc. will change the answer of your question.

If your system is 3 diagonal you can go with this algorithm called 'TDMA (3-diag-matrix-algorthm)'. Thats a quite efficient way of direct solving 3diag systems, which is no more than looping 1-->4000 & 4000-->1 with about 3-4 floating point operations in each if Im not mistaken.
kaya is offline   Reply With Quote

Old   November 23, 2015, 08:39
Default
  #3
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,773
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by sdhsami View Post
Dear all
I wish to solve a linear system with a 4000*4000 symmetric sparse matrix.
I was wondering what iterative method could be the best choice so that solving takes the least time?
Thanks

that means you have only 4000 unknowns, even the simple Jacobi is suitable for such problem... you have diagonal dominance?

usually, I solve for some millions of unknown with SOR, you do not need to store the entire matrix
FMDenaro is offline   Reply With Quote

Old   November 23, 2015, 17:54
Default
  #4
New Member
 
metu_aee's Avatar
 
Ali Yıldırım
Join Date: Jul 2013
Location: Ankara/Turkey
Posts: 10
Rep Power: 12
metu_aee is on a distinguished road
such system corresponds to very small problem in cfd actually. for those small problems direct methods converges very rapidly. iterative methods are better in larger problems but whatever if you go through the iterative methods than projection based methods, krylov subspace methods are suitable. such as gmres. you can look for detail yousef saad's book iterative methods for sparse linear systems.
__________________
Contact: aliyildirim91@gmail.com
metu_aee is offline   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
Fast iterative methods (for Laplace equation)? pzhang Main CFD Forum 2 September 30, 2008 16:28
ITERATIVE METHODS Paolo Main CFD Forum 5 April 8, 2006 11:06
comments on FDM, FEM, FVM, SM, SEM, DSEM, BEM kenn Main CFD Forum 2 July 18, 2004 18:28
Iterative Methods for the Stokes problem Andreas Main CFD Forum 0 October 18, 2001 08:56
Iterative equation solvers in CFD Vitaly Bulgakov Main CFD Forum 32 March 1, 1999 11:11


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