Using Matrix calulations
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! |
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 |
All times are GMT -4. The time now is 16:22. |