diff --git a/src/ODE/sixDOF/finiteRotation/finiteRotation.C b/src/ODE/sixDOF/finiteRotation/finiteRotation.C index c47356307..91bfd416a 100644 --- a/src/ODE/sixDOF/finiteRotation/finiteRotation.C +++ b/src/ODE/sixDOF/finiteRotation/finiteRotation.C @@ -29,7 +29,7 @@ Author Dubravko Matijasevic, FSB Zagreb. All rights reserved. Update by Hrvoje Jasak -\*----------------------------------------------------------------------------*/ +\*---------------------------------------------------------------------------*/ #include "finiteRotation.H" @@ -158,7 +158,7 @@ Foam::tensor Foam::finiteRotation::rotTensorAverage() const ( HamiltonRodriguezRot ( - rotIncrementVector(), + rotIncrementVector(), 0.5*rotIncrementAngle() ).R().T() & rotTensor_ diff --git a/src/ODE/sixDOF/sixDOFqODE/sixDOFqODE.C b/src/ODE/sixDOF/sixDOFqODE/sixDOFqODE.C index 086001906..7949c9f27 100644 --- a/src/ODE/sixDOF/sixDOFqODE/sixDOFqODE.C +++ b/src/ODE/sixDOF/sixDOFqODE/sixDOFqODE.C @@ -102,7 +102,7 @@ Foam::dimensionedVector Foam::sixDOFqODE::OmegaDot const dimensionedVector& omega ) const { - return + return inv(momentOfInertia_) & ( E(omega) diff --git a/src/ODE/sixDOF/sixDOFqODE/sixDOFqODE.H b/src/ODE/sixDOF/sixDOFqODE/sixDOFqODE.H index 5d5fef1a0..bbf1e7392 100644 --- a/src/ODE/sixDOF/sixDOFqODE/sixDOFqODE.H +++ b/src/ODE/sixDOF/sixDOFqODE/sixDOFqODE.H @@ -142,7 +142,7 @@ class sixDOFqODE //- Set ODE coefficients from position and rotation - void setCoeffs(); + void setCoeffs(); // Variables in relative coordinate system (solved for)