OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

CourantNo.H File Reference

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

Go to the source code of this file.


Functions

 if (mesh.nInternalFaces())

Variables

scalar CoNum = 0.0
scalar meanCoNum = 0.0
scalar acousticCoNum = 0.0

Detailed Description

Calculates and outputs the mean and maximum Courant Numbers.

Original source file CourantNo.H

Definition in file CourantNo.H.


Function Documentation

if ( mesh.  nInternalFaces()  ) 

Definition at line 26 of file CourantNo.H.

References acousticCoNum, CoNum, Foam::fvc::interpolate(), Foam::mag(), Foam::max(), meanCoNum, mesh, psi, Foam::sqrt(), and Foam::sum().

Here is the call graph for this function:


Variable Documentation

scalar CoNum = 0.0

Definition at line 22 of file CourantNo.H.

scalar meanCoNum = 0.0

Definition at line 23 of file CourantNo.H.

scalar acousticCoNum = 0.0

Definition at line 24 of file CourantNo.H.

Referenced by if().

Copyright © 2000-2009 OpenCFD Ltd