createIncompressibleRadiationModel.H
Go to the documentation of this file.
1 autoPtr<radiation::radiationModel> radiation
2 (
3 radiation::radiationModel::New(T)
4 );
5
6 dimensionedScalar rhoCpRef
7 (
8 "rhoCpRef",
9 dimDensity*dimEnergy/dimMass/dimTemperature,
10 1.0
11 );
12
13 if (radiation->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,
33 );
34
35 dimensionedScalar CpRef
36 (
37 "CpRef",
38 dimSpecificHeatCapacity,
40 );
41
42 rhoCpRef = rhoRef*CpRef;
43 }
const volScalarField & T
engineTime & runTime
dimensionedScalar rhoCpRef("rhoCpRef", dimDensity *dimEnergy/dimMass/dimTemperature, 1.0)
autoPtr< radiation::radiationModel > radiation(radiation::radiationModel::New(T))
IOdictionary transportProperties(IOobject("transportProperties", runTime.constant(), mesh, IOobject::MUST_READ, IOobject::NO_WRITE))