createIncompressibleRadiationModel.H
Go to the documentation of this file.
1  autoPtr<radiation::radiationModel> radiation
2  (
4  );
5 
7  (
8  "rhoCpRef",
10  1.0
11  );
12 
14  {
15  IOdictionary transportProperties
16  (
17  IOobject
18  (
19  "transportProperties",
20  runTime.constant(),
21  runTime,
22  IOobject::MUST_READ,
23  IOobject::NO_WRITE,
24  false // do not register!
25  )
26  );
27 
28  dimensionedScalar rhoRef(transportProperties.lookup("rhoRef"));
29  dimensionedScalar CpRef(transportProperties.lookup("CpRef"));
30 
31  rhoCpRef = rhoRef*CpRef;
32  }
const dimensionSet dimEnergy
const dimensionSet dimDensity
const volScalarField & T
Definition: createFields.H:25
autoPtr< BasicCompressibleTurbulenceModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleTurbulenceModel::transportModel &transport, const word &propertiesName)
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
Definition: dimensionSets.H:49
dimensionedScalar rhoCpRef("rhoCpRef", dimDensity *dimEnergy/dimMass/dimTemperature, 1.0)
const Switch radiation() const
Radiation model on/off flag.
autoPtr< radiation::radiationModel > radiation(radiation::radiationModel::New(T))
const dimensionSet dimTemperature(0, 0, 0, 1, 0, 0, 0)
Definition: dimensionSets.H:52
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.