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 
13  if (!isType<radiation::noRadiation>(radiation()))
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
29  (
30  "rhoRef",
31  dimDensity,
32  transportProperties
33  );
34 
35  dimensionedScalar CpRef
36  (
37  "CpRef",
39  transportProperties
40  );
41 
42  rhoCpRef = rhoRef*CpRef;
43  }
engineTime & runTime
const dimensionSet dimSpecificHeatCapacity(dimGasConstant)
Definition: dimensionSets.H:71
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
const dimensionSet dimTemperature(0, 0, 0, 1, 0, 0, 0)
Definition: dimensionSets.H:52
const volScalarField & T
const dimensionSet dimEnergy
const dimensionSet dimDensity
dimensionedScalar rhoCpRef("rhoCpRef", dimDensity *dimEnergy/dimMass/dimTemperature, 1.0)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
Definition: dimensionSets.H:49
autoPtr< radiation::radiationModel > radiation(radiation::radiationModel::New(T))