OpenFOAM
4.1
The OpenFOAM Foundation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
applications
solvers
combustion
engineFoam
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
;
turbulence
autoPtr< compressible::turbulenceModel > turbulence
Definition:
createFields.H:23
Foam::tab
static const char tab
Definition:
Ostream.H:261
Foam::sqrt
dimensionedScalar sqrt(const dimensionedScalar &ds)
Definition:
dimensionedScalar.C:142
Foam::endl
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition:
Ostream.H:253
thermo
psiReactionThermo & thermo
Definition:
createFields.H:31
mesh
dynamicFvMesh & mesh
Definition:
createDynamicFvMesh.H:18
Foam::constant::physicoChemical::b
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
Definition:
createFields.H:27
Foam::Info
messageStream Info
p
volScalarField & p
Definition:
createFieldRefs.H:4
Generated by
1.8.11