mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
src/postProcessing/functionObjects: Moving the functionObjects into the "functionObjects" namespace
This commit is contained in:
@ -250,13 +250,13 @@ void Foam::rigidBodyMeshMotion::solve()
|
||||
const label bodyID = bodyMeshes_[bi].bodyID_;
|
||||
|
||||
dictionary forcesDict;
|
||||
forcesDict.add("type", forces::typeName);
|
||||
forcesDict.add("type", functionObjects::forces::typeName);
|
||||
forcesDict.add("patches", bodyMeshes_[bi].patches_);
|
||||
forcesDict.add("rhoInf", rhoInf_);
|
||||
forcesDict.add("rhoName", rhoName_);
|
||||
forcesDict.add("CofR", vector::zero);
|
||||
|
||||
forces f("forces", db(), forcesDict);
|
||||
functionObjects::forces f("forces", db(), forcesDict);
|
||||
f.calcForcesMoment();
|
||||
|
||||
fx[bodyID] = spatialVector(f.momentEff(), f.forceEff());
|
||||
|
||||
Reference in New Issue
Block a user