CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   How to get A() and H() from blockLduMatrix (https://www.cfd-online.com/Forums/openfoam-programming-development/119000-how-get-h-blockldumatrix.html)

pbohorquez June 7, 2013 18:34

How to get A() and H() from blockLduMatrix
 
Hi,

I have defined a fvVectorMatrix equation for the velocity and it includes coupled terms. After solving it in a coupled way (predictor step), I want to recover the segregated functionalities. There are some operators in blockMatrix/BlockLduMatrix/BlockLduMatrix.H that I would like to use in the corrector stage similar to the segregated approach. That is, the old operators
volScalarField rUA = 1.0/UEqn.A();
W = rUA*UEqn.H();
There are son functions as Amul(TypeField& Ax, cons TypeFiled& x), H(...), Tmul(...), etc that I don't know how to employ to this end.

Could you please give me a hint?
Thanks, Patricio


All times are GMT -4. The time now is 11:58.