CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   biCGSTAB Fortran code, unstructured mesh (https://www.cfd-online.com/Forums/main/12167-bicgstab-fortran-code-unstructured-mesh.html)

Nico September 6, 2006 10:01

biCGSTAB Fortran code, unstructured mesh
 
I am looking for a working version of the Conjugate Gradient STABilized solver for unstructured meshes. I can't get mine to work properly.

Thanks

Renato. September 6, 2006 10:14

Re: biCGSTAB Fortran code, unstructured mesh
 
There isn't a BiCGSTAB specific for unstructured meshes. BiCGSTAB is a linear solver suited for ***non symmetric*** linear systens. It doesn't matter what kind of grid the linear system come from. Regarding the Fortran routine, it can be easily found at Van der Vorst's site (take a look in http://www.math.uu.nl/people/vorst/software.html)

Regards

Renato.


Nico September 8, 2006 04:32

Re: biCGSTAB Fortran code, unstructured mesh
 
Thank you. Similarly, do any of you have a link for a fortran routine of a preconditionned (or not) conjugate gradient (CG) solver (symmetric matrices).

Regards,

Nicolas

Márcio September 12, 2006 06:14

Re: biCGSTAB Fortran code, unstructured mesh
 
Try netlib.org.

Renato. September 12, 2006 11:12

Re: biCGSTAB Fortran code, unstructured mesh
 
Hi Nico,

I'm sure you can easily find a PCG routine at netlib as Marcio suggested, but the PCG algorithm is so simple that you can easily implement it by yourself in 30 lines of code. In order to make the implemantion even more easy I'd suggest the use of BLAS routines (also found in netlib) to perform basic operations.

Cheers

Renato.



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