|
[Sponsors] |
matrix creation and accessing (writing/reading) of different matrixelements |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 3, 2014, 09:12 |
matrix creation and accessing (writing/reading) of different matrixelements
|
#1 |
Senior Member
Join Date: Jan 2012
Posts: 166
Rep Power: 14 |
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 |
|
|
|