From b7a50c0c93ded1af062bee77679ebe173c488d00 Mon Sep 17 00:00:00 2001 From: andy Date: Mon, 24 Sep 2012 12:39:32 +0100 Subject: [PATCH] ENH: Updated sixDoF BC after change to forces calculation --- .../sixDoFRigidBodyDisplacementPointPatchVectorField.C | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/postProcessing/functionObjects/forces/pointPatchFields/derived/sixDoFRigidBodyDisplacement/sixDoFRigidBodyDisplacementPointPatchVectorField.C b/src/postProcessing/functionObjects/forces/pointPatchFields/derived/sixDoFRigidBodyDisplacement/sixDoFRigidBodyDisplacementPointPatchVectorField.C index 351e5120de..fb15396f0f 100644 --- a/src/postProcessing/functionObjects/forces/pointPatchFields/derived/sixDoFRigidBodyDisplacement/sixDoFRigidBodyDisplacementPointPatchVectorField.C +++ b/src/postProcessing/functionObjects/forces/pointPatchFields/derived/sixDoFRigidBodyDisplacement/sixDoFRigidBodyDisplacementPointPatchVectorField.C @@ -218,7 +218,7 @@ void sixDoFRigidBodyDisplacementPointPatchVectorField::updateCoeffs() forces f("forces", db(), forcesDict); - forces::forcesMoments fm = f.calcForcesMoment(); + f.calcForcesMoment(); // Get the forces on the patch faces at the current positions @@ -232,8 +232,8 @@ void sixDoFRigidBodyDisplacementPointPatchVectorField::updateCoeffs() motion_.updateForce ( - fm.first().first() + fm.first().second() + g_*motion_.mass(), - fm.second().first() + fm.second().second(), + f.forceEff() + g_*motion_.mass(), + f.momentEff(), t.deltaTValue() );