View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001306 | OpenFOAM | Bug | public | 2014-05-27 10:52 | 2014-05-28 11:57 |
Reporter | feymark | Assigned To | henry | ||
Priority | high | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Linux | OS | Arch Linux | OS Version | (please specify) |
Summary | 0001306: rotatingMotion uses wrong quaternion | ||||
Description | In $WM_PROJECT_DIR/src/dynamicFvMesh/solidBodyMotionFvMesh/solidBodyMotionFunctions/rotatingMotion/rotatingMotion.C we have, // Rotation around axis vector eulerAngles = omega_->integrate(0, t)*axis_; quaternion R(eulerAngles.x(), eulerAngles.y(), eulerAngles.z()); septernion TR(septernion(origin_)*R*septernion(-origin_)); clearly these are not the correct euler angles. What should be used is, // Rotation around axis scalar angle = omega_->integrate(0, t); quaternion R(axis_, angle); septernion TR(septernion(origin_)*R*septernion(-origin_)); Regards, Andreas | ||||
Steps To Reproduce | Try any type of rotation other than around a single axis. | ||||
Tags | No tags attached. | ||||