CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

print coefficent of the linear system

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 5, 2014, 10:45
Default print coefficent of the linear system
  #1
New Member
 
Marcel Vonlanthen
Join Date: Nov 2012
Location: Zurich, Switzerland
Posts: 28
Rep Power: 13
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 http://openfoamwiki.net/index.php/Op...es_in_OpenFOAM, those coefficients should be accessible with
Code:
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))?

Cheers,
Marcel




Sylv is offline   Reply With Quote

Reply

Tags
linear system, openfoam


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 Off
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 21:16.