CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

Using Matrix calulations

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

LinkBack Thread Tools Display Modes
Old   March 26, 2013, 04:49
Default Using Matrix calulations
New Member
Jane L
Join Date: May 2012
Posts: 21
Rep Power: 7
Jane L is on a distinguished road
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!

Jane L is offline   Reply With Quote

Old   March 26, 2013, 08:40
Senior Member
Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 217
Blog Entries: 1
Rep Power: 11
fumiya is on a distinguished road
You might want to take a look at the following files:

Hope this helps,
fumiya 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

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

All times are GMT -4. The time now is 13:04.