StCourantNo.H File Reference

Calculates and outputs the mean and maximum Courant Numbers. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Variables

 StCoNum = 0.5*gMax(sumPhi/mesh.V().primitiveField())*runTime.deltaTValue()
 
const scalar meanStCoNum
 

Detailed Description

Calculates and outputs the mean and maximum Courant Numbers.

Original source file StCourantNo.H

Definition in file StCourantNo.H.

Variable Documentation

◆ StCoNum

StCoNum = 0.5*gMax(sumPhi/mesh.V().primitiveField())*runTime.deltaTValue()

Definition at line 36 of file StCourantNo.H.

Referenced by if(), and main().

◆ meanStCoNum

const scalar meanStCoNum
Initial value:
=
0.5
*(gSum(sumPhi)/gSum(mesh.V().primitiveField()))
*runTime.deltaTValue()
const DimensionedField< scalar, volMesh > & V() const
Return cell volumes.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
Type gSum(const FieldField< Field, Type > &f)

Definition at line 38 of file StCourantNo.H.