|
[Sponsors] |
March 26, 2013, 03:49 |
Using Matrix calulations
|
#1 |
New Member
Jane L
Join Date: May 2012
Posts: 23
Rep Power: 13 |
Hi Foamers!
I have a short and very simple question but I didn't find out how to solve it: For calculations with a moving mesh I would like to transform some vectors in the file gen6DoF with rotation matrices. What is the syntax for using matrices in that file? I think I need to use #include "Matrix.H" but I don't know how to define a simple 3x3 matrix. Would be happy if someone can give me a hint! Thanks! |
|
March 26, 2013, 07:40 |
|
#2 |
Senior Member
Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 266
Blog Entries: 1
Rep Power: 18 |
You might want to take a look at the following files:
https://github.com/OpenFOAM/OpenFOAM...simpleMatrix.C https://github.com/OpenFOAM/OpenFOAM.../Test-Matrix.C Hope this helps, Fumiya |
|
|
|
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 |
more equation in block matrix system | yhaomin2007 | OpenFOAM | 1 | September 6, 2012 08:33 |
Force can not converge | colopolo | CFX | 13 | October 4, 2011 22:03 |
OpenFOAM version 1.6 details | lakeat | OpenFOAM Running, Solving & CFD | 42 | August 26, 2009 21:47 |
Elemtary matrix to CSR global matrix | xueying | Main CFD Forum | 2 | September 24, 2002 09:44 |