35 if (
mesh.nInternalFaces())
44 sumAmaxSf/
mesh.V().field()/rDeltaT.primitiveField()
49 minCoNum = 0.5*CoLimits.min();
50 CoNum = 0.5*CoLimits.max();
53 Info<<
"Courant Numbers: " 54 <<
"min = " << minCoNum <<
", " 66 Info<<
"Mean and max Courant Numbers = "
Ostream & endl(Ostream &os)
Add newline and flush stream.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Type gSum(const FieldField< Field, Type > &f)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
MinMax< Type > gMinMax(const FieldField< Field, Type > &f)
Type gAverage(const FieldField< Field, Type > &f, const label comm)
The global arithmetic average of a FieldField.
Type gMax(const FieldField< Field, Type > &f)
messageStream Info
Information stream (stdout output on master, null elsewhere)
tmp< GeometricField< Type, fvPatchField, volMesh > > surfaceSum(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
tmp< volScalarField > trDeltaT