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

How to print out a real matrix for discretised equation ?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 20, 2013, 03:28
Smile How to print out a real matrix for discretised equation ?
  #1
Member
 
X Meng
Join Date: Jun 2012
Location: Scotland
Posts: 89
Rep Power: 13
mxylondon is on a distinguished road
Hi, guys.

As we know, in OpenFOAM, those non-zero matrix coefficients for discretised equation are stored in three arrays.
But it's not comfortable to see the structure of the matrix. So, is that OK to print out them together with zero elements in a real matrix form?

Thank you very much!
mxylondon is offline   Reply With Quote

Old   February 20, 2013, 08:24
Default
  #2
Senior Member
 
fumiya's Avatar
 
Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 266
Blog Entries: 1
Rep Power: 18
fumiya is on a distinguished road
Hi,

The following threads could be of some help:

http://www.cfd-online.com/Forums/ope...e-despair.html
http://www.cfd-online.com/Forums/ope...nt-matrix.html

Hope that helps,
Fumiya
fumiya is offline   Reply With Quote

Old   February 20, 2013, 08:35
Default
  #3
Member
 
X Meng
Join Date: Jun 2012
Location: Scotland
Posts: 89
Rep Power: 13
mxylondon is on a distinguished road
Hi, thank you very much!!!
mxylondon is offline   Reply With Quote

Reply


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
inverse of a matrix or solution of implicit equation romant OpenFOAM Programming & Development 4 August 6, 2013 09:02
defining a term for a domain using DEFINE_ADJUST MASOUD Fluent UDF and Scheme Programming 1 September 24, 2010 05:08
WENO Code (1D Advection Equation) Carolyn Main CFD Forum 6 March 11, 2007 13:21
Real Gas Equation of State Used in Combustion Mode Jake Cannon CFX 2 February 6, 2007 20:46
Two-Phase Buoyant Flow Issue Miguel Baritto CFX 4 August 31, 2006 12:02


All times are GMT -4. The time now is 20:37.