porousCourantNo.H File Reference

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

Go to the source code of this file.

Functions

 if (porosityEnabled)
 

Variables

scalar CoNum = 0
 
scalar meanCoNum = 0
 
 else
 

Detailed Description

Calculates and outputs the mean and maximum Courant Numbers.

Original source file porousCourantNo.H

Definition in file porousCourantNo.H.

Function Documentation

◆ if()

if ( porosityEnabled  )

Definition at line 40 of file porousCourantNo.H.

References CoNum, Foam::gMax(), Foam::gSum(), meanCoNum, mesh, runTime, and tporosity.

Here is the call graph for this function:

Variable Documentation

◆ CoNum

scalar CoNum = 0

Definition at line 31 of file porousCourantNo.H.

Referenced by if().

◆ meanCoNum

meanCoNum = 0

Definition at line 32 of file porousCourantNo.H.

Referenced by if().

◆ else

else
Initial value:
{
CoNum = 0.5*gMax(sumPhi/mesh.V().field())*runTime.deltaTValue()

Definition at line 53 of file porousCourantNo.H.

runTime
engineTime & runTime
Definition: createEngineTime.H:13
CoNum
scalar CoNum
Definition: porousCourantNo.H:31
mesh
dynamicFvMesh & mesh
Definition: createDynamicFvMesh.H:6
Foam::gMax
Type gMax(const FieldField< Field, Type > &f)
Definition: FieldFieldFunctions.C:592