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 
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;
static const char tab
Definition: Ostream.H:264
engineTime & runTime
dimensionedScalar sqrt(const dimensionedScalar &ds)
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition: Ostream.H:256
dynamicFvMesh & mesh
Info<< "Total cylinder mass: "<< fvc::domainIntegrate(rho).value()<< endl;autoPtr< OFstream > logSummaryFile
Definition: startSummary.H:3
Info<< "Reading field U\"<< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);volScalarField rho(IOobject("rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), thermo.rho());volVectorField rhoU(IOobject("rhoU", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), rho *U);volScalarField rhoE(IOobject("rhoE", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), rho *(e+0.5 *magSqr(U)));surfaceScalarField pos(IOobject("pos", runTime.timeName(), mesh), mesh, dimensionedScalar("pos", dimless, 1.0));surfaceScalarField neg(IOobject("neg", runTime.timeName(), mesh), mesh, dimensionedScalar("neg", dimless, -1.0));surfaceScalarField phi("phi", fvc::flux(rhoU));Info<< "Creating turbulence model\"<< endl;autoPtr< compressible::turbulenceModel > turbulence(compressible::turbulenceModel::New(rho, U, phi, thermo))
Definition: createFields.H:94
const volScalarField & T
messageStream Info
volScalarField & p