68int main(
int argc,
char *argv[])
71#include "setRootCase.H"
72#include "createTime.H"
73#include "createMesh.H"
75 Info << argv[0] << endl;
77 instantList Times =
runTime.times();
82 IOdictionary FORCESdict
98 "transportProperties",
106 word pName(FORCESdict.lookup(
"pName"));
107 word UName(FORCESdict.lookup(
"UName"));
109 dictionary forcesDict;
110 forcesDict.add(
"type", functionObjects::forces::typeName);
111 forcesDict.add(
"patches", FORCESdict.lookup(
"patches"));
112 forcesDict.add(
"origin", FORCESdict.lookup(
"pitchAxis"));
113 forcesDict.add(
"pitchAxis", FORCESdict.lookup(
"pitchAxis"));
114 forcesDict.add(
"CofR", FORCESdict.lookup(
"CofR"));
115 forcesDict.add(
"liftDir", FORCESdict.lookup(
"liftDir"));
116 forcesDict.add(
"dragDir", FORCESdict.lookup(
"dragDir"));
117 forcesDict.add(
"magUInf", FORCESdict.lookup(
"magUInf"));
118 forcesDict.add(
"lRef", FORCESdict.lookup(
"lRef"));
119 forcesDict.add(
"Aref", FORCESdict.lookup(
"Aref"));
120 forcesDict.add(
"rhoInf", FORCESdict.lookup(
"rhoInf"));
121 forcesDict.add(
"rho", FORCESdict.lookup(
"rho"));
123 functionObjects::forceCoeffs fc(
"FC",
runTime, forcesDict);
124 functionObjects::forces f(
"Forces",
mesh, forcesDict);
126 for (label
i = 2;
i < Times.size();
i++)
164 Info <<
"End\n" << endl;
IOdictionary transportProperties(IOobject("transportProperties", runTime.constant(), mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE))