CFD Online Logo CFD Online URL
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

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

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:

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)?

maybee is offline   Reply With Quote


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:57.