logSummary.H
Go to the documentation of this file.
1 Info<< "Mean pressure:" << p.weightedAverage(mesh.V()).value() << endl;
2 Info<< "Mean temperature:" << thermo.T().weightedAverage(mesh.V()).value()
3  << endl;
4 Info<< "Mean u':"
5  << (sqrt((2.0/3.0)*turbulence->k()))().weightedAverage(mesh.V()).value()
6  << endl;
7 
8 logSummaryFile
9  << runTime.theta() << tab
10  << p.weightedAverage(mesh.V()).value() << tab
11  << thermo.T().weightedAverage(mesh.V()).value() << tab
12  << (sqrt((2.0/3.0)*turbulence->k()))().weightedAverage(mesh.V()).value()
13  << tab
14  << 1 - b.weightedAverage(mesh.V()).value()
15  << 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
psiReactionThermo & thermo
Definition: createFields.H:31
dynamicFvMesh & mesh
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
Definition: createFields.H:27
messageStream Info
volScalarField & p