OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

CourantNos.H

Go to the documentation of this file.
00001 #   include "CourantNo.H"
00002 
00003 {
00004     scalar UrCoNum = max
00005     (
00006         mesh.surfaceInterpolation::deltaCoeffs()*mag(phia - phib)
00007        /mesh.magSf()
00008     ).value()*runTime.deltaT().value();
00009 
00010     Info<< "Max Ur Courant Number = " << UrCoNum << endl;
00011 
00012     CoNum = max(CoNum, UrCoNum);
00013 }
Copyright © 2000-2009 OpenCFD Ltd