CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   Assembling a fvMatrix for a preconditioner (

srinath July 30, 2008 07:23

Hello I would like to add a

I would like to add a preconditioner to some of the existing compressible flow solvers.
I am new to programming in OpenFoam, so any thoughts would be helpful.

I want to assemble a sparse matrix at every centroid. Let's call the matrix A
Entries of the matrix will be functions of flow variables like density, pressure etc.
I can't seem to find a suitable constructor. Could someone help


All times are GMT -4. The time now is 21:10.