readTransportProperties.H
Go to the documentation of this file.
1Info<< "\nReading transportProperties" << endl;
2
3IOdictionary transportProperties
4(
5 IOobject
6 (
7 "transportProperties",
8 runTime.constant(),
9 mesh,
10 IOobject::MUST_READ,
11 IOobject::NO_WRITE
12 )
13);
14
15dimensionedScalar c0("c0", dimVelocity, transportProperties);
16
17dimensionedScalar rho("rho", dimDensity, transportProperties);
18
19scalar MaxCo =
20 max(mesh.surfaceInterpolation::deltaCoeffs()*c0).value()
21 *runTime.deltaT().value();
22
23Info<< "Max acoustic Courant Number = " << MaxCo << endl;
Y[inertIndex] max(0.0)
dynamicFvMesh & mesh
engineTime & runTime
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
messageStream Info
Information stream (stdout output on master, null elsewhere)
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition: Ostream.H:372
IOdictionary transportProperties(IOobject("transportProperties", runTime.constant(), mesh, IOobject::MUST_READ, IOobject::NO_WRITE))