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

Good library to solve huge linear system

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 17, 2000, 16:58
Default Good library to solve huge linear system
  #1
Ricardo Bonon
Guest
 
Posts: n/a
Hello everybody,

I am developing some unsteady, viscous, unstructured triangular mesh codes to simulate the filling of a cavity with plastic material.

I am in need of a good, reliable, free, well documented library of functions to solve linear systems.

Iīve tried to work whit a C library called LASPack (not LAPACK), and itīs well documented and free, but has some difficulties to solve systems of more than 5000 variables.

Could you advise me about a good library to solve this problem. I would prefer a C library. Thank you.
  Reply With Quote

Old   May 18, 2000, 05:12
Default Re: Good library to solve huge linear system
  #2
Jens
Guest
 
Posts: n/a
I use aztec from sandia labs http://www.cs.sandia.gov/CRF/aztec1.html but i have not yet made experiences with more than 5000 variables

cheers
  Reply With Quote

Old   May 18, 2000, 09:08
Default Re: Good library to solve huge linear system
  #3
Sergei Chernyshenko
Guest
 
Posts: n/a
Try SuperLU, http://www.nersc.gov/~xiaoye/SuperLU/
  Reply With Quote

Old   May 19, 2000, 06:24
Default Re: Good library to solve huge linear system
  #4
Frank Bramkamp
Guest
 
Posts: n/a
The PETSc library from Argonne does a good job. It has C and fortran interfaces. You can use it in a uni-processor and parallel environment.

It is designed for sparse matrizes. 5000 unknowns is no problem. My problems have about 100000 unknowns, which is still a small problem. PETSc has got GMRES, BiCGSTAB ..various preconditioners (ILU, jacobi etc), and all kinds of stuff what one needs for solving large, sparse systems of linear equations.

You can also define a matrix free GMRES context, include your own preconditioners etc...

I don't have the address at hand right now, but if you look for "petsc", you should easily find it. The manual is a bit short sometimes (lots of functions), but the basic usage is not too difficult and there are many examples one should have a look at. The online manual is also extensive.

I guess it's similar to the atztec solver from sandia. I have the feeling that more people use petsc, though.

Hope this is useful.

Frank
  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
Submarine with SimpleFoam alex_rubel OpenFOAM 20 February 25, 2011 06:34
New linear system solvers chegdan OpenFOAM Running, Solving & CFD 11 April 30, 2010 10:22
Linearized NS euqations: how to solve them?(problem with Matrix operations..) matteoL OpenFOAM Running, Solving & CFD 0 November 18, 2009 06:58
OpenFOAM141dev linking error on IBM AIX 52 matthias OpenFOAM Installation 24 April 28, 2008 15:49
Vibrating system analysis - a good introduction? Bren Main CFD Forum 0 November 20, 2007 12:40


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