CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

Matrix solver in OpenFoam

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

LinkBack Thread Tools Display Modes
Old   March 13, 2012, 10:19
Default Matrix solver in OpenFoam
Join Date: Sep 2011
Location: Pune-INDIA
Posts: 34
Rep Power: 6
ahmed_khatibs is on a distinguished road
hi to all,
I want to know for my project, Which matrix solver is most commonly used in OpenFoam form this
  • PCG
  • PBiCG
  • GAMG
  • smoothSolver
  • diagonal solver
ahmed_khatibs is offline   Reply With Quote

Old   March 13, 2012, 12:25
Senior Member
Bernhard Linseisen
Join Date: May 2010
Location: Magdeburg/Geneva
Posts: 178
Blog Entries: 1
Rep Power: 7
Linse is on a distinguished road
Hi Ahmed,

I don't know too much about the usage of the different solvers. But to my knowledge the PBiCG points back to the PCG at some point within OpenFOAM...
Linse is offline   Reply With Quote

Old   March 13, 2012, 12:58
Senior Member
calim_cfd's Avatar
Join Date: Jun 2011
Posts: 136
Rep Power: 8
calim_cfd is on a distinguished road
linear solvers comprise
 BICCG/ - Diagonal incomplete LU preconditioned BiCG solver1
 diagonalSolver/ - diagonal solver for both symmetric and asymmetric problems
 GAMG/ - Geometric agglomerated algebraic multigrid solver (also named Generalised geometric-
algebraic multi-grid
in the manual)
 ICC/ - Incomplete Cholesky preconditioned Conjugate Gradients solver2
 PBiCG/ - Preconditioned bi-conjugate gradient solver for asymmetric lduMatrices using a run-
time selectable preconditioner
 PCG/ - Preconditioned conjugate gradient solver for symmetric lduMatrices using a run-time
selectable preconditiioner
 smoothSolver/ - Iterative solver using smoother for symmetric and asymmetric matrices
which uses a run-time selected smoother
now you need to know whether your variable yields a symmetric or asymmetric matrix to choose the right solver..

note that the differences might not be so significant depending on the case and mesh....but for pressure, it's kinda common try the GAMG solver since it seems to be faster.. but as to accuracy i can't tell you which one to pick
Best Regards

"Elune will grant us the strength"
calim_cfd is offline   Reply With Quote

Old   October 3, 2013, 14:12
Join Date: Oct 2012
Location: Iran
Posts: 62
Rep Power: 4
luckycfd is on a distinguished road
Hi ahmed,
please explain more about your question?

luckycfd is offline   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
thobois class engineTopoChangerMesh error Peter_600 OpenFOAM 4 August 2, 2014 09:52
Blow of compressible solver while using K-epsilon model in openfoam Amit Mathur OpenFOAM 16 October 6, 2013 11:09
Steady Solver in OpenFoam wwwjuventuscom OpenFOAM 2 January 4, 2011 20:01
Modified OpenFOAM Forum Structure and New Mailing-List pete Site News & Announcements 0 June 29, 2009 05:56
OpenFOAM Training in Europe and USA hjasak OpenFOAM 0 August 8, 2008 05:33

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