|
[Sponsors] |
May 5, 2014, 11:45 |
print coefficent of the linear system
|
#1 |
New Member
Marcel Vonlanthen
Join Date: Nov 2012
Location: Zurich, Switzerland
Posts: 28
Rep Power: 14 |
Dear foamer,
I am modifying the pimpleFoam solver to achieve a LES nesting (common operation in NWP models (numerical weather perdition)). For debug purpose, I would like to print the matrix of the linear system Ax=b. According this page http://openfoamwiki.net/index.php/Op...es_in_OpenFOAM, those coefficients should be accessible with Code:
scalarField *lowerPtr_; scalarField *diagPtr_; scalarField *upperPtr_; Once those scalarField available, how to know the location of their conponant in the matrix (from scalarField(1D datas) to a matrix (2D data))? Cheers, Marcel |
|
Tags |
linear system, openfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to add AttachDetachFvMesh to layeredEngineMesh solver? | RJ87 | OpenFOAM | 8 | July 5, 2013 01:31 |
no solution in second order schemes | immortality | OpenFOAM Running, Solving & CFD | 14 | May 23, 2013 02:39 |
Solving Linear System of Equations in UDF | mohsen zendehbad | FLUENT | 5 | May 8, 2010 11:39 |
Good library to solve huge linear system | Ricardo Bonon | Main CFD Forum | 3 | May 19, 2000 07:24 |
solver for linear system with large sparse matrix | Yangang Bao | Main CFD Forum | 1 | October 25, 1999 05:22 |