OpenFOAM sum row with LDU addressing
Hello to all,
I would like to know how to sum the value of a row in a OpenFOAM matrix through the LDU addressing. Is there any already built in function to do this? I have found for the upperTriangular part, the following: Code:
const scalarField& diag = matrix_.diag(); https://i.ibb.co/DQwdMDP/Untitled.png Can anyone give me a hand with this? Best Regards |
So, I ended up checking Gauss Seidel, and it appears to send the lower adressing contributions to the right hand side vector.
So I did: Code:
const scalarField& diag = matrix_.diag(); |
All times are GMT -4. The time now is 12:59. |