Initial commit for version 2.0.x patch release
[OpenFOAM-2.0.x.git] / applications / solvers / combustion / dieselEngineFoam / logSummary.H
blob5a33f487641c3ce1b17e688ef372f236fd83160e
1 Info<< "Mean pressure:" << p.weightedAverage(mesh.V()).value() << endl;
2 Info<< "Mean temperature:" << T.weightedAverage(mesh.V()).value() << endl;
3 Info<< "Mean u':"
4     << (sqrt((2.0/3.0)*turbulence->k()))().weightedAverage(mesh.V()).value()
5     << endl;
7 logSummaryFile
8     << runTime.theta() << tab
9     << p.weightedAverage(mesh.V()).value() << tab
10     << T.weightedAverage(mesh.V()).value() << tab
11     << (sqrt((2.0/3.0)*turbulence->k()))().weightedAverage(mesh.V()).value()
12     << endl;