src/postProcessing/functionObjects: Moving the functionObjects into the "functionObjects" namespace

This commit is contained in:
Henry Weller
2016-05-01 14:48:30 +01:00
parent a3aa589263
commit 09262f5273
26 changed files with 375 additions and 146 deletions

View File

@ -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());