capillaryCourantNo.H 327 Bytes
Newer Older
shunbo's avatar
shunbo committed
1
2
3
4
5
6
7
8
9
10
11
12
13
{
    scalar CoNumSigma = max
    (
        sqrt
        (
            2*M_PI*sigma*sqr(aMesh.edgeInterpolation::deltaCoeffs())
            *aMesh.edgeInterpolation::deltaCoeffs()
            /rhol
        )
    ).value()*runTime.deltaT().value();

    Info<< "Max Capillary Courant Number = " << CoNumSigma << '\n' << endl;
}