CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   Reconstructing Coefficient Matrix from lduAddressing Object (

cliffoi December 7, 2007 08:16

Hi all, I am looking into a p
Hi all,
I am looking into a possible block solver implementation for a set of closely coupled equations in FOAM 1.3. For the time being I am trying to understand how the fvMatrix, lduMatrix and lduAddressing classes work. I have started with a simple problem, trying to reconstruct the coefficient matrix of an existing fvMatrix object using its lduAddressing object. I then pack this new matrix into a simpleMatrix object, copy the source term across, and solve for the field. However, I find that the solution does not match the fvMatrix::solve() solution.
Am I missing something here; the model is not decomposed, the matrix is symmetric and the mesh is symmetric.


All times are GMT -4. The time now is 02:07.