Go to the documentation of this file.
42 int main(
int argc,
char *argv[])
56 runTime.setTime(
timeDirs[timeI], timeI);
58 Info<<
"Time = " << runTime.timeName() <<
endl;
80 Info<<
"Writing components of cellCentre positions to volScalarFields"
81 <<
" ccx, ccy, ccz in " << runTime.timeName() <<
endl;
117 V.dimensionedInternalField() =
mesh.
V();
118 forAll(V.boundaryField(), patchI)
120 V.boundaryField()[patchI] =
121 V.boundaryField()[patchI].patch().magSf();
123 Info<<
"Writing cellVolumes and patch faceAreas to " << V.name()
124 <<
" in " << runTime.timeName() <<
endl;
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
tmp< GeometricField< cmptType, PatchField, GeoMesh > > component(const direction) const
Return a component of the field.
A class for handling words, derived from string.
#define forAll(list, i)
Loop across all elements in list.
@ nComponents
Number of components in this vector space.
Ostream & endl(Ostream &os)
Add newline and flush stream.
static const char * componentNames[]
virtual readUpdateState readUpdate()
Update the mesh based on the mesh files saved in time.
const DimensionedField< scalar, volMesh > & V() const
Return cell volumes.
virtual Ostream & write(const token &)=0
Write next token to stream.
int main(int argc, char *argv[])
Generic dimensioned Type class.
This boundary condition is not designed to be evaluated; it is assmued that the value is assigned via...
static instantList timeDirs
const volVectorField & C() const
Return cell centres as volVectorField.
static void addOptions(const bool constant=true, const bool withZero=false)
Add the options handled by timeSelector to argList::validOptions.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
static instantList select0(Time &runTime, const argList &args)
Return the set of times selected based on the argList options.
Generic GeometricField class.
Foam::argList args(argc, argv)