Go to the documentation of this file.
53 if (phiHeader.headerOk())
66 zeroGradientFvPatchScalarField::typeName
72 if (
phi.dimensions() == dimensionSet(1, 0, -1, 0, 0))
74 Info<<
" Calculating compressible Co" <<
endl;
89 Co.dimensionedInternalField() =
90 (0.5*runTime.deltaT())
93 Co.correctBoundaryConditions();
95 else if (
phi.dimensions() == dimensionSet(0, 3, -1, 0, 0))
97 Info<<
" Calculating incompressible Co" <<
endl;
99 Co.dimensionedInternalField() =
100 (0.5*runTime.deltaT())
103 Co.correctBoundaryConditions();
108 <<
"Incorrect dimensions of phi: " <<
phi.dimensions()
tmp< GeometricField< Type, fvPatchField, volMesh > > surfaceSum(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
void calc(const argList &args, const Time &runTime, const fvMesh &mesh)
Ostream & endl(Ostream &os)
Add newline and flush stream.
const Type & value() const
Return const reference to value.
dimensioned< scalar > mag(const dimensioned< Type > &)
virtual Ostream & write(const token &)=0
Write next token to stream.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Function prototype for all simple post-processing functions e.g. calcDivPhi, calcMagU etc.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
errorManip< error > abort(error &err)
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
bool optionFound(const word &opt) const
Return true if the named option is found.
Foam::argList args(argc, argv)