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;
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());
This class provides functions to evaluate the velocity and turbulence distributions appropriate for a...
#define forAll(list, i)
Loop across all elements in list.
A list of keyword definitions, which are a keyword followed by any number of values (e...
Ostream & endl(Ostream &os)
Add newline and flush stream.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
label k
Boltzmann constant.
IOdictionary systemDict(const word &dictName, const argList &args, const objectRegistry &ob, const word ®ionName=polyMesh::defaultRegion)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
A class for handling words, derived from string.
const vectorField & Cf() const
Return face centres.
static instantList selectIfPresent(Time &runTime, const argList &args)
If any time option provided return the set of times (as select0)
readUpdateState readUpdate(const stitchType stitch=stitchType::geometric)
Update the mesh based on the mesh files saved in time.
const volVectorField & C() const
Return cell centres.
A class for managing temporary objects.
Foam::argList args(argc, argv)
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
static void addOptions(const bool constant=true, const bool withZero=false)
Add the options handled by timeSelector to argList::validOptions.
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.