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

Matrix solver in OpenFoam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 13, 2012, 10:19
Default Matrix solver in OpenFoam
  #1
Member
 
ahmed
Join Date: Sep 2011
Location: Pune-INDIA
Posts: 33
Rep Power: 4
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
Default
  #2
Senior Member
 
Bernhard Linseisen
Join Date: May 2010
Location: Magdeburg/Geneva
Posts: 141
Blog Entries: 1
Rep Power: 6
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
Default
  #3
Senior Member
 
calim_cfd's Avatar
 
mauricio
Join Date: Jun 2011
Posts: 135
Rep Power: 7
calim_cfd is on a distinguished road
linear solvers comprise
Code:
 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
/calim

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

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

regards,
Hassan
luckycfd is offline   Reply With Quote

Reply

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
Blow of compressible solver while using K-epsilon model in openfoam Amit Mathur OpenFOAM 16 October 6, 2013 11:09
thobois class engineTopoChangerMesh error Peter_600 OpenFOAM 3 May 4, 2013 08:19
Steady Solver in OpenFoam wwwjuventuscom OpenFOAM 2 January 4, 2011 19: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 09:05.