OpenFOAM: API Guide
v2112
The open source CFD toolbox
startSummary.H
Go to the documentation of this file.
1
Info
<<
"Total cylinder mass: "
<<
fvc::domainIntegrate
(
rho
).value() <<
endl
;
2
3
autoPtr<OFstream>
logSummaryFile
;
4
5
if
(Pstream::master())
6
{
7
logSummaryFile
.reset
8
(
9
new
OFstream
10
(
11
runTime
.globalPath()
12
/(
"logSummary."
+
runTime
.timeName() +
".dat"
)
13
)
14
);
15
16
logSummaryFile
()
17
<<
"# CA"
<<
" p"
<<
" T"
<<
" u'"
<<
endl
;
18
}
runTime
engineTime & runTime
Definition:
createEngineTime.H:13
Foam::fvc::domainIntegrate
dimensioned< Type > domainIntegrate(const GeometricField< Type, fvPatchField, volMesh > &vf)
Definition:
fvcVolumeIntegrate.C:88
Foam::endl
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition:
Ostream.H:369
rho
rho
Definition:
readInitialConditions.H:88
logSummaryFile
Info<< "Total cylinder mass: "<< fvc::domainIntegrate(rho).value()<< endl;autoPtr< OFstream > logSummaryFile
Definition:
startSummary.H:3
Foam::Info
messageStream Info
Information stream (stdout output on master, null elsewhere)
applications
solvers
combustion
coldEngineFoam
startSummary.H
Generated by
1.8.17
OPENFOAM® is a registered
trademark
of OpenCFD Ltd.