mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
deltaT().value() to deltaTValue()
and
deltaT0().value() to deltaT0Value()
across the whole code - faster to return especially if being used
often, in each call to a submodel for example.
14 lines
279 B
C
14 lines
279 B
C
# include "CourantNo.H"
|
|
|
|
{
|
|
scalar UrCoNum = max
|
|
(
|
|
mesh.surfaceInterpolation::deltaCoeffs()*mag(phia - phib)
|
|
/mesh.magSf()
|
|
).value()*runTime.deltaTValue();
|
|
|
|
Info<< "Max Ur Courant Number = " << UrCoNum << endl;
|
|
|
|
CoNum = max(CoNum, UrCoNum);
|
|
}
|