OpenFOAM
4.1
The OpenFOAM Foundation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
applications
solvers
lagrangian
sprayFoam
sprayEngineFoam
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
;
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
mesh
dynamicFvMesh & mesh
Definition:
createDynamicFvMesh.H:18
T
const volScalarField & T
Definition:
createFieldRefs.H:2
Foam::Info
messageStream Info
p
volScalarField & p
Definition:
createFieldRefs.H:4
Generated by
1.8.11