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

Numerics in OpenFoam - PBiCG vs. PCG

Register Blogs Community New Posts Updated Threads Search

Rate this Entry

Numerics in OpenFoam - PBiCG vs. PCG

Posted August 18, 2016 at 15:13 by kindle
Updated February 23, 2017 at 04:13 by kindle

So the numerical scheme (fvScheme) will affect the property of the matrix to invert and we should choose properly the solver/solving algorithm (fvSolution) in order to solve it properly. Depending on the form of matrix depended on structured or unstructured mesh something like that.

Quote:
Originally Posted by thg View Post
Hi Frog,

Meindert already mentioned, the difference between a PCG or a PBiCG,...
you can find in any textbook about linear iterative solvers like
Wessling, Saad, Trefethen, Stran,.... I think the book from Saad you find free on the www.

But I think your problems are a bit different.

Sine OF is a segregated solver, for every field (variable) there has to be solved a
linear system (i.e. for U, p,...) you have AU=b, Bp=c, A;B matrices.

Your choice of the numerical schemes
(entries for the operator discretization in fvSchemes, i.e.
(linear, upwind, limitedLinear,...)
for the operators is respobsible of the coefficients of this matrices.
So the choice of operators regarding f.i. U are responsible for the
properties/coefficients of the matrix A

The choice of your solution/solving algorithm (i.e. entries in fvSolution)
is responsible which iterative solver is used to solve your linear system.

So choosing f.i. PCG for U and PBiCG for p,
AU=b is solved iteratively bc PCG, Bp=c with PBiCG
and so forth.

Being also a mathematician, as a book enlighting CFD and numerics, I would also recommend Ferziger/Peric: Computational methods for fluid dynamics

Th.
Posted in Solver
Views 1631 Comments 0 Edit Tags Email Blog Entry
« Prev     Main     Next »
Total Comments 0

Comments

 

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