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

logSummary.H

Go to the documentation of this file.
00001 Info<< "Mean pressure:" << p.weightedAverage(mesh.V()).value() << endl;
00002 Info<< "Mean temperature:" << T.weightedAverage(mesh.V()).value() << endl;
00003 Info<< "Mean u':" << (sqrt((2.0/3.0)*turbulence->k()))().weightedAverage(mesh.V()).value() << endl;
00004 
00005 logSummaryFile
00006     << runTime.theta() << tab
00007     << p.weightedAverage(mesh.V()).value() << tab
00008     << T.weightedAverage(mesh.V()).value() << tab
00009     << (sqrt((2.0/3.0)*turbulence->k()))().weightedAverage(mesh.V()).value()
00010     << endl;
00011 
00012 // ************************ vim: set sw=4 sts=4 et: ************************ //
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines