Hi,
The resulting algebraic
Hi,
The resulting algebraic equation for a general variable (phi) linking its value at the center of a control volume P with the values of neighbouring cells (n) are: A_p *Phi_p=Sum_n(A_n * Phi_n ) + S_(phi) with : A_p=Sum_n(A_n)+ S_p My question is: How can I get the coefficient A_n ? thanks for your help. best regards olivier |
Have a look at lduMatrix.H - t
Have a look at lduMatrix.H - the member function you want is called diag()
Enjoy, Hrv |
HI Jasak,
I have some confu
HI Jasak,
I have some confusion: I think that Ap is calculated in O.FOAM as: Ap=diag()/mesh.V(); and you said that A_n=diag() but in the theory Ap=Sum_n(A_n)+ S_p; how come ? thanks for your help. olivier |
All times are GMT -4. The time now is 18:59. |