Bugfix: zero rotation for translative velocity

This commit is contained in:
Hrvoje Jasak 2017-05-17 18:31:31 +01:00
parent 87cb2ac5fa
commit 37ab92b905
2 changed files with 3 additions and 4 deletions

View file

@ -147,7 +147,7 @@ Foam::solidBodyMotionFunctions::translation::velocity() const
septernion TV septernion TV
( (
rampFactor()*velocity_, rampFactor()*velocity_,
quaternion::I/time_.deltaT().value() quaternion::zero/time_.deltaT().value()
); );
Info<< "solidBodyMotionFunctions::translation::transformation(): " Info<< "solidBodyMotionFunctions::translation::transformation(): "

View file

@ -90,8 +90,7 @@ public:
); );
// Destructor //- Destructor
virtual ~translation(); virtual ~translation();