32 if (
mesh.nInternalFaces())
36 CoNum = 0.5*
gMax(sumAmaxSf/
mesh.V().field())*runTime.deltaTValue();
39 0.5*(
gSum(sumAmaxSf)/
gSum(
mesh.V().field()))*runTime.deltaTValue();
42 Info<<
"Mean and max Courant Numbers = " Ostream & endl(Ostream &os)
Add newline and flush stream.
Type gSum(const FieldField< Field, Type > &f)
volScalarField scalarField(fieldObject, mesh)
Type gMax(const FieldField< Field, Type > &f)
tmp< GeometricField< Type, fvPatchField, volMesh > > surfaceSum(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)