fvMatrix - internalCoeffs_ and boundaryCoeffs_ ?
Hi *,
I have read the following wiki article to lduMatrix and lduAddressing: http://openfoamwiki.net/index.php/Matrices_in_OpenFOAM This article is a good starting point for understanding the lduMatrix and the corresponding lduAddressing. Unfortunately this article does not cover the fvMatrix which has lduMatrix as a base class. I also searched at this forum but did not find an answer. And here are my questions concerning the fvMatrix: - What is the meaning and the usage of the members internalCoeffs_ and boundaryCoeffs_? - What does "pseudo-matrix coeff" mean and for what is it used? fvMatrix.H, lines 129-135: Code:
//- Boundary scalar field containing pseudo-matrix coeffs Alicja |
Hi, ala, internalCoeffs_ and boundaryCoeffs_ are the contribution of BC to matrix coefficients, they are calculated in diff operators and applied at solving time, for example, for divergence (gaussConvectionScheme.C):
Code:
00067 template<class Type> |
Hi Santiago,
thanks for your reply. Ok, so that are matrix contributions from BC. I took a look at fvMatrix.C, at the functions - addToInternalField() - addBoundaryDiag() - addBoundarySource(): Code:
00061 template<class Type> Now i don't know, why are this coefficients separately stored (as boundaryCoeffs and as internalCoeffs) and not immediately added to the 'real' matrix, and i have to (?) add this coefficients firstly during the solve( ) process. Regards, Ala |
Quote:
Is it possible to apply different boundary condition for the different operator? Any suggestions? Thanks, Rdf |
Hmm, the BC's are intended to be selected just by patch...
|
All times are GMT -4. The time now is 11:02. |