Go to the documentation of this file.
64 const bool loadFromFiles
76 if (!isA<fvMesh>(obr_))
80 <<
"No fvMesh available, deactivating " << name_ <<
nl
88 const fvMesh&
mesh = refCast<const fvMesh>(obr_);
97 mesh.time().timeName(),
104 zeroGradientFvPatchScalarField::typeName
108 mesh.objectRegistry::store(CourantNoPtr);
125 log_.readIfPresent(
"log",
dict);
138 const fvMesh&
mesh = refCast<const fvMesh>(obr_);
155 Co.correctBoundaryConditions();
178 <<
type() <<
" " << name_ <<
" output:" <<
nl
tmp< GeometricField< Type, fvPatchField, volMesh > > surfaceSum(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
virtual void end()
Execute at the final time-loop, currently does nothing.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
DimensionedInternalField & dimensionedInternalField()
Return dimensioned internal field.
virtual void write()
Calculate the CourantNo and write.
A class for handling words, derived from string.
tmp< volScalarField::DimensionedInternalField > byRho(const tmp< volScalarField::DimensionedInternalField > &Co) const
Divide Co by rho if required.
dimensionedScalar deltaT() const
Return time step.
A class for managing temporary objects.
const dimensionSet dimDensity
bool readIfPresent(const word &, T &, bool recursive=false, bool patternMatch=true) const
Find an entry if present, and assign to T.
bool read(const char *, int32_t &)
rDeltaT dimensionedInternalField()
This function object calculates and outputs the Courant number as a volScalarField....
Ostream & endl(Ostream &os)
Add newline and flush stream.
dimensioned< scalar > mag(const dimensioned< Type > &)
virtual const word & name() const
Return name of the set of CourantNo.
Registry of regIOobjects.
const DimensionedField< scalar, volMesh > & V() const
Return cell volumes.
virtual void timeSet()
Called when time was set at the end of the Time::operator++.
Surface integrate surfaceField creating a volField. Surface sum a surfaceField creating a volField.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Generic dimensioned Type class.
Mesh data needed to do the Finite Volume discretisation.
virtual void execute()
Execute, currently does nothing.
virtual void read(const dictionary &)
Read the CourantNo data.
CourantNo(const CourantNo &)
Disallow default bitwise copy construct.
virtual ~CourantNo()
Destructor.
const Time & time() const
Return the top-level database.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
Generic GeometricField class.
defineTypeNameAndDebug(combustionModel, 0)
#define WarningInFunction
Report a warning using Foam::Warning.
word name(const complex &)
Return a string representation of a complex.