44 int main(
int argc,
char *argv[])
63 const word UName = setAtmBoundaryLayerDict.lookupOrDefault<
word>(
"U",
"U");
64 const word kName = setAtmBoundaryLayerDict.lookupOrDefault<
word>(
"k",
"k");
65 const word epsilonName =
66 setAtmBoundaryLayerDict.lookupOrDefault<
word>(
"epsilon",
"epsilon");
70 runTime.setTime(
timeDirs[timeI], timeI);
72 Info<<
"Time = " << runTime.userTimeName() <<
nl <<
endl;
108 epsilonIO.headerOk() ?
new volScalarField(epsilonIO, mesh) :
nullptr
113 U.primitiveFieldRef() = atm.U(mesh.C());
116 k.ref().primitiveFieldRef() = atm.k(mesh.C());
120 epsilon.ref().primitiveFieldRef() = atm.epsilon(mesh.C());
130 if (!isA<wallPolyPatch>(patch))
132 U.boundaryFieldRef()[
patchi] == atmp.U(patch.
Cf());
135 k.ref().boundaryFieldRef()[
patchi] ==
141 atmp.epsilon(patch.
Cf());
#define forAll(list, i)
Loop across all elements in list.
Generic GeometricField class.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
This class provides functions to evaluate the velocity and turbulence distributions appropriate for a...
A list of keyword definitions, which are a keyword followed by any number of values (e....
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
const vectorField & Cf() const
Return face centres.
static void addOptions(const bool constant=true, const bool withZero=false)
Add the options handled by timeSelector to argList::validOptions.
static instantList selectIfPresent(Time &runTime, const argList &args)
If any time option provided return the set of times (as select0)
A class for managing temporary objects.
A class for handling words, derived from string.
int main(int argc, char *argv[])
static instantList timeDirs
IOdictionary systemDict(const word &dictName, const argList &args, const objectRegistry &ob, const word ®ionName=polyMesh::defaultRegion)
Ostream & endl(Ostream &os)
Add newline and flush stream.
Foam::argList args(argc, argv)