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;
dimensionedScalar sqrt(const dimensionedScalar &ds)
messageStream Info
autoPtr< compressible::turbulenceModel > turbulence
Definition: createFields.H:23
dynamicFvMesh & mesh
const volScalarField & T
Definition: createFields.H:25
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition: Ostream.H:251
volScalarField & p
Definition: createFields.H:51
static const char tab
Definition: Ostream.H:259