CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

print coefficent of the linear system

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   May 5, 2014, 10:45
Default print coefficent of the linear system
New Member
Marcel Vonlanthen
Join Date: Nov 2012
Location: Zurich, Switzerland
Posts: 28
Rep Power: 6
Sylv is on a distinguished road
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, those coefficients should be accessible with
scalarField *lowerPtr_; scalarField *diagPtr_; scalarField *upperPtr_;
But I'dont really know the object which holds those pointer. Any idea?

Once those scalarField available, how to know the location of their conponant in the matrix (from scalarField(1D datas) to a matrix (2D data))?


Sylv is offline   Reply With Quote


linear system, openfoam

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add AttachDetachFvMesh to layeredEngineMesh solver? RJ87 OpenFOAM 8 July 5, 2013 00:31
no solution in second order schemes immortality OpenFOAM Running, Solving & CFD 14 May 23, 2013 01:39
Solving Linear System of Equations in UDF mohsen zendehbad FLUENT 5 May 8, 2010 10:39
Good library to solve huge linear system Ricardo Bonon Main CFD Forum 3 May 19, 2000 06:24
solver for linear system with large sparse matrix Yangang Bao Main CFD Forum 1 October 25, 1999 04:22

All times are GMT -4. The time now is 15:45.