FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

CourantNos.H

Go to the documentation of this file.
00001 #   include <finiteVolume/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 }
00014 
00015 // ************************ vim: set sw=4 sts=4 et: ************************ //
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines