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

matrix creation and accessing (writing/reading) of different matrixelements

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 3, 2014, 08:12
Default matrix creation and accessing (writing/reading) of different matrixelements
  #1
Senior Member
 
Join Date: Jan 2012
Posts: 159
Rep Power: 5
maybee is on a distinguished road
hi,

I have a sourceterm consisting of matrices and matrixoperations beetween them.

Therefore I have searched about what OpenFOAM is capable of regarding matrices and found:

http://foam.sourceforge.net/docs/cpp...9.html#details

http://openfoamwiki.net/index.php/Op...es_in_OpenFOAM

http://openfoamwiki.net/index.php/Op...x_coefficients

My questions are:

1. Does OpenFOAM provide all the necessary functions for matrix-operations (+,-,*,:, matrix transpose...)?

2. Can someone please give me a brief example how to create a desired matrix and access the different elements for writing and reading (returning)?

greetings
maybee
maybee 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



All times are GMT -4. The time now is 22:12.