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;
120 volScalarField::Boundary& Vbf = V.boundaryFieldRef();
127 Info<<
"Writing cellVolumes and patch faceAreas to " << V.name()
128 <<
" in " << runTime.timeName() <<
endl;
#define forAll(list, i)
Loop across all elements in list.
static const char *const componentNames[]
Ostream & endl(Ostream &os)
Add newline and flush stream.
const volVectorField & C() const
Return cell centres as volVectorField.
tmp< GeometricField< cmptType, PatchField, GeoMesh > > component(const direction) const
Return a component of the field.
static const direction nComponents
Number of components in this vector space.
virtual readUpdateState readUpdate()
Update the mesh based on the mesh files saved in time.
A class for handling words, derived from string.
This boundary condition is not designed to be evaluated; it is assmued that the value is assigned via...
static instantList select0(Time &runTime, const argList &args)
Return the set of times selected based on the argList options.
Internal & ref()
Return a reference to the dimensioned internal field.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const DimensionedField< scalar, volMesh > & V() const
Return cell volumes.
virtual bool write() const
Write using setting from DB.
virtual Ostream & write(const token &)=0
Write next token to stream.
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.