Skip to content
Snippets Groups Projects
Commit b7a50c0c authored by andy's avatar andy
Browse files

ENH: Updated sixDoF BC after change to forces calculation

parent 4ad23cfe
Branches
Tags
No related merge requests found
......@@ -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()
);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment