COMP: Updated dependent code following changes to forces/forceCoeffs FOs

This commit is contained in:
Andrew Heather 2022-04-13 12:34:55 +01:00 committed by Andrew Heather
parent 6a4f7c9c68
commit de5f75eb13
4 changed files with 4 additions and 4 deletions

View File

@ -304,7 +304,7 @@ void Foam::rigidBodyMeshMotion::solve()
forcesDict.add("CofR", vector::zero);
functionObjects::forces f("forces", db(), forcesDict);
f.calcForcesMoment();
f.calcForcesMoments();
fx[bodyID] = ramp*spatialVector(f.momentEff(), f.forceEff());
}

View File

@ -228,7 +228,7 @@ void Foam::rigidBodyMeshMotionSolver::solve()
forcesDict.add("CofR", vector::zero);
functionObjects::forces f("forces", db(), forcesDict);
f.calcForcesMoment();
f.calcForcesMoments();
fx[bodyID] = spatialVector(f.momentEff(), f.forceEff());
}

View File

@ -221,7 +221,7 @@ void sixDoFRigidBodyDisplacementPointPatchVectorField::updateCoeffs()
functionObjects::forces f("forces", db(), forcesDict);
f.calcForcesMoment();
f.calcForcesMoments();
// Get the forces on the patch faces at the current positions

View File

@ -247,7 +247,7 @@ void Foam::sixDoFRigidBodyMotionSolver::solve()
functionObjects::forces f("forces", db(), forcesDict);
f.calcForcesMoment();
f.calcForcesMoments();
motion_.update
(