CourantNo.H File Reference

Calculates and outputs the maximum Courant Number. More...

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

Go to the source code of this file.

Variables

const scalar CoNum
 
const scalar meanCoNum
 
const scalar waveCoNum
 

Detailed Description

Calculates and outputs the maximum Courant Number.

Original source file CourantNo.H

Definition in file CourantNo.H.

Variable Documentation

◆ CoNum

const scalar CoNum
Initial value:
=
0.5*gMax(sumPhi/mesh.V().field())*runTime.deltaTValue()
Type gMax(const FieldField< Field, Type > &f)

Definition at line 36 of file CourantNo.H.

◆ meanCoNum

const scalar meanCoNum
Initial value:
=
0.5*(gSum(sumPhi)/gSum(mesh.V().field()))*runTime.deltaTValue()
Type gSum(const FieldField< Field, Type > &f)

Definition at line 39 of file CourantNo.H.

◆ waveCoNum

const scalar waveCoNum
Initial value:
= 0.25*gMax
(
(
fvc::interpolate(sqrt(h))*mesh.magSf()
)().primitiveField()/mesh.V().field()
)*sqrt(magg).value()*runTime.deltaTValue()
const Type & value() const
Return const reference to value.
const dimensionedScalar h
Planck constant.
tmp< VolField< Type > > surfaceSum(const SurfaceField< Type > &ssf)
static tmp< SurfaceField< Type > > interpolate(const VolField< Type > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
dimensionedScalar sqrt(const dimensionedScalar &ds)

Definition at line 43 of file CourantNo.H.