capillaryCourantNo.H
Go to the documentation of this file.
1 {
2  scalar CoNumSigma = max
3  (
4  sqrt
5  (
6  2*M_PI*sigma*sqr(aMesh.edgeInterpolation::deltaCoeffs())
7  *aMesh.edgeInterpolation::deltaCoeffs()
8  /rhol
9  )
10  ).value()*runTime.deltaT().value();
11 
12  Info<< "Max Capillary Courant Number = " << CoNumSigma << '\n' << endl;
13 }
runTime
engineTime & runTime
Definition: createEngineTime.H:13
Foam::endl
Ostream & endl(Ostream &os)
Definition: Ostream.H:381
rhol
dimensionedScalar rhol("rhol", dimDensity, transportProperties)
aMesh
faMesh aMesh(mesh)
Foam::Info
messageStream Info
Foam::max
label max(const labelHashSet &set, label maxValue=labelMin)
Definition: hashSets.C:40
Foam::sqr
dimensionedSymmTensor sqr(const dimensionedVector &dv)
Definition: dimensionedSymmTensor.C:44
Foam::sqrt
dimensionedScalar sqrt(const dimensionedScalar &ds)
Definition: dimensionedScalar.C:137
sigma
dimensionedScalar sigma("sigma", dimMass/sqr(dimTime), transportProperties)