CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Dynamicmeshdict - Rotation tensor in orientation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 16, 2023, 03:01
Exclamation Dynamicmeshdict - Rotation tensor in orientation
  #1
New Member
 
Rohan
Join Date: May 2023
Posts: 20
Rep Power: 3
Rohanbotta is on a distinguished road
Hello, i have run the wingmotion2D tutorial of Openfoam V10, through which ive been trying to learn dynamicmeshdict. The tutorial consists something called orientation which i got to know is a rotation tensor.

centreOfMass (0.4974612746 -0.01671895744 0.125);
momentOfInertia (1.958864357 3.920839234 2.057121362);
orientation
(
0.9953705935 0.09611129781 0
-0.09611129781 0.9953705935 0
0 0 1
);

angularMomentum (0 0 -2);
g (0 -9.81 0);
rho rhoInf;


i tried changing the values in the orientation matrix but it always shows an error: the given orientation is not a rotation tensor, and some equation saying mag(orientation) - sqrt(3) = some value.
It would help me lot if i can learn how to change the orientation correctly and what is the sqrt(3), im assuming its because of rotation about 3axes (i might be wrong).
i changed the values based on a rotation tensor matrix equation i found somewhere which included the angle of rotation about each axis, yet the error continues. i would really appreciate the help to know how to use the orientation in dynamicmeshdict.

Thank you,
Regards
Rohan
Rohanbotta is offline   Reply With Quote

Old   November 17, 2023, 08:05
Default
  #2
New Member
 
Rohan
Join Date: May 2023
Posts: 20
Rep Power: 3
Rohanbotta is on a distinguished road
So, i somehow resolved the error, but now it seems like even if i change the angle in orientation the mesh isnt rotating about that angle but only until the default tutorial setup, i have also tested the force results before and after changing orientation, but they seem to not change at all.
would really appreciate the help.
Thank you
Rohanbotta is offline   Reply With Quote

Reply

Tags
#dynamicmeshdict, #openfoamcase, #pimplefoam


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to assign dynamicMeshDict for 1 full body rotation + 2 ailerons deflection quarkz OpenFOAM Running, Solving & CFD 2 October 31, 2020 05:10
Java Macro -- Passive Pith in Superposing Rotation Motion Weidong Dai STAR-CCM+ 2 August 4, 2018 06:39
dynamicMeshDict settings for multi rotation benoitf OpenFOAM 0 June 14, 2018 11:26
orientation in dynamicMeshDict fluidpage OpenFOAM Running, Solving & CFD 1 April 13, 2018 04:11
Multicomponent fluid Andrea CFX 2 October 11, 2004 06:12


All times are GMT -4. The time now is 14:59.