CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (https://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   possible bug in SDA.C (https://www.cfd-online.com/Forums/openfoam-bugs/87952-possible-bug-sda-c.html)

pablodecastillo May 3, 2011 18:09

possible bug in SDA.C
 
Hello,

In the member function Foam::septernion Foam::solidBodyMotionFunctions::SDA::transformatio n() const

the transformation is defined like septernion TR(septernion(CofG_ + T)*R*septernion(-CofG_));, it looks because there is a translation and rotation around of CofG, so to back with the translation would be better septernion TR(septernion(CofG_ + T)*R*septernion(-CofG_ - T));

what do you think?

Pablo

pablodecastillo May 4, 2011 02:48

The formulation is correct, there is no a bug.

If i add - T there is no translation.

Pablo


All times are GMT -4. The time now is 23:51.