Bugfix: zero rotation for translative velocity
This commit is contained in:
parent
87cb2ac5fa
commit
37ab92b905
2 changed files with 3 additions and 4 deletions
|
@ -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(): "
|
||||||
|
|
|
@ -90,8 +90,7 @@ public:
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
// Destructor
|
//- Destructor
|
||||||
|
|
||||||
virtual ~translation();
|
virtual ~translation();
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in a new issue