logSummary.H
Go to the documentation of this file.
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;
6 
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;
autoPtr< compressible::turbulenceModel > turbulence
Definition: createFields.H:23
static const char tab
Definition: Ostream.H:261
dimensionedScalar sqrt(const dimensionedScalar &ds)
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition: Ostream.H:253
dynamicFvMesh & mesh
const volScalarField & T
messageStream Info
volScalarField & p