mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
- prelude to code refactoring
NOTE
no source code change in this commit, only relocation,
renaming and adjustment of Make/{files,options}
13 lines
264 B
C
13 lines
264 B
C
#include "CourantNo.H"
|
|
|
|
{
|
|
scalar UrCoNum = 0.5*gMax
|
|
(
|
|
fvc::surfaceSum(mag(phi1 - phi2))().primitiveField()/mesh.V().field()
|
|
)*runTime.deltaTValue();
|
|
|
|
Info<< "Max Ur Courant Number = " << UrCoNum << endl;
|
|
|
|
CoNum = max(CoNum, UrCoNum);
|
|
}
|