mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
sixDoFRigidBodyMotion: write state including orientation
e.g.
6-DoF rigid body motion
Centre of rotation: (0.5 0.449959005542 0.1)
Centre of mass: (0.499992877433 0.449959005542 0.349999999899)
Orientation: (0.999999999594 0 -2.84902661966e-05 0 1 0 2.84902661966e-05 0 0.999999999594)
Linear velocity: (0 -0.0028756594439 0)
Angular velocity: (0 -0.00244725501844 0)
This commit is contained in:
@ -331,10 +331,12 @@ void Foam::sixDoFRigidBodyMotion::updateAcceleration
|
|||||||
|
|
||||||
void Foam::sixDoFRigidBodyMotion::status() const
|
void Foam::sixDoFRigidBodyMotion::status() const
|
||||||
{
|
{
|
||||||
Info<< "Centre of rotation: " << centreOfRotation() << nl
|
Info<< "6-DoF rigid body motion" << nl
|
||||||
<< "Centre of mass: " << centreOfMass() << nl
|
<< " Centre of rotation: " << centreOfRotation() << nl
|
||||||
<< "Linear velocity: " << v() << nl
|
<< " Centre of mass: " << centreOfMass() << nl
|
||||||
<< "Angular velocity: " << omega()
|
<< " Orientation: " << orientation() << nl
|
||||||
|
<< " Linear velocity: " << v() << nl
|
||||||
|
<< " Angular velocity: " << omega()
|
||||||
<< endl;
|
<< endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user