|
[Sponsors] |
OF 1.6 extend. GGI - rotation around two axis - C++ newbie needs help |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Member
Andreas Wendy
Join Date: Aug 2012
Posts: 73
Rep Power: 14 ![]() |
Hi everybody,
i have a problem and i hope you can help me. i am planing to simulate an gyro-copter including the auto rotation. i was able to implement some rigid body movement into the mixerggi library and can simulate a rotation around one fixed axis. but i also want to simulate the flapping hinge. for that i need to make a rotation around a second axis. i know what i have to implement but i dont know how. the plan is the following: reading out he forces using forces library <- works recalculate an ne rpm for rotation <- works rotate the rotor around z-axis <- works change the rotation axis for flapping hinge <- does not work (see below) rotate rotor for flapping hinge <- should work change rotation axis back to z-axis and start to next time step. here to the problem with the rotation for the flapping hinge: when the rotor is rotating around the z-axis the coordinate system for the flapping hinge will change by each time step. so i have to compute this axis manually. i think i can do this. but i can not store these data in the variable of the mixerGgi script. the variables (classes) are: csPtr_().axis() csPtr_().origin() i am able to change the origin but not the axis. has anyone an idea to solve this problem? here is the declaration: //- Return coordinate system const coordinateSystem& cs() const { return csPtr_(); } how can i change it? why can i change the origin but not the axis? both have the same declaration or? i added the c-file and header. Best wishes Andreas |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Member
Andreas Wendy
Join Date: Aug 2012
Posts: 73
Rep Power: 14 ![]() |
push...
nobody got an idea? |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Create a GeometricField of a given type on given patch? | philippose | OpenFOAM Programming & Development | 4 | August 12, 2013 12:41 |
parallel computing with GGI (OF 1.6 extend) | A.Wendy | OpenFOAM Running, Solving & CFD | 1 | November 18, 2012 17:27 |
OF16ext GGI - divergence after a rotation of ~ 180 degree | A.Wendy | OpenFOAM Running, Solving & CFD | 1 | October 17, 2012 06:41 |
Axis of rotation for centrifugal compressor | Mattia | FLUENT | 4 | October 22, 2007 11:05 |
Axis of rotation | Dunga | CFX | 4 | May 11, 2003 10:44 |