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

How to print out a real matrix for discretised equation ?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 20, 2013, 04:28
Smile How to print out a real matrix for discretised equation ?
  #1
Member
 
Xiangyin Meng
Join Date: Jun 2012
Location: London
Posts: 69
Rep Power: 5
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, 09:24
Default
  #2
Senior Member
 
Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 170
Rep Power: 7
fumiya is on a distinguished road
Hi,

The following threads could be of some help:

boundary conditions in fvMatrix multiplication make me despair
Accessing Coefficient Matrix

Hope that helps,
Fumiya
fumiya is offline   Reply With Quote

Old   February 20, 2013, 09:35
Default
  #3
Member
 
Xiangyin Meng
Join Date: Jun 2012
Location: London
Posts: 69
Rep Power: 5
mxylondon is on a distinguished road
Hi, thank you very much!!!
mxylondon is offline   Reply With Quote

Reply

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
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 14:21
Real Gas Equation of State Used in Combustion Mode Jake Cannon CFX 2 February 6, 2007 21:46
Two-Phase Buoyant Flow Issue Miguel Baritto CFX 4 August 31, 2006 12:02


All times are GMT -4. The time now is 01:08.