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

Matrix solver in OpenFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 13, 2012, 10:19
Default Matrix solver in OpenFoam
  #1
Member
 
ahmed
Join Date: Sep 2011
Location: Pune-INDIA
Posts: 34
Rep Power: 15
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: Heilbronn
Posts: 183
Blog Entries: 1
Rep Power: 16
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: 172
Rep Power: 18
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, 15:12
Default
  #4
Member
 
Hassan
Join Date: Oct 2012
Location: Iran
Posts: 63
Rep Power: 14
luckycfd is on a distinguished road
Hi ahmed,
please explain more about your question?

regards,
Hassan
luckycfd 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
thobois class engineTopoChangerMesh error Peter_600 OpenFOAM 4 August 2, 2014 10:52
Blow of compressible solver while using K-epsilon model in openfoam Amit Mathur OpenFOAM 16 October 6, 2013 12: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 06:56
OpenFOAM Training in Europe and USA hjasak OpenFOAM 0 August 8, 2008 06:33


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