OpenFOAM: API Guide
v2112
The open source CFD toolbox
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)
Add newline and flush stream.
Definition:
Ostream.H:369
rhol
dimensionedScalar rhol("rhol", dimDensity, transportProperties)
aMesh
faMesh aMesh(mesh)
Foam::Info
messageStream Info
Information stream (stdout output on master, null elsewhere)
Foam::max
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
Definition:
hashSets.C:47
Foam::sqr
dimensionedSymmTensor sqr(const dimensionedVector &dv)
Definition:
dimensionedSymmTensor.C:51
Foam::sqrt
dimensionedScalar sqrt(const dimensionedScalar &ds)
Definition:
dimensionedScalar.C:144
sigma
dimensionedScalar sigma("sigma", dimMass/sqr(dimTime), transportProperties)
applications
solvers
finiteArea
liquidFilmFoam
capillaryCourantNo.H
Generated by
1.8.17
OPENFOAM® is a registered
trademark
of OpenCFD Ltd.