createIncompressibleRadiationModel.H
Go to the documentation of this file.
1  autoPtr<radiationModel> radiation(radiationModel::New(T));
2 
4  (
5  "rhoCpRef",
7  1.0
8  );
9 
10  if (!isType<radiationModels::noRadiation>(radiation()))
11  {
12  IOdictionary physicalProperties
13  (
14  IOobject
15  (
16  "physicalProperties",
17  runTime.constant(),
18  runTime,
19  IOobject::MUST_READ,
20  IOobject::NO_WRITE,
21  false // Do not register
22  )
23  );
24 
25  dimensionedScalar rhoRef
26  (
27  "rhoRef",
28  dimDensity,
29  physicalProperties
30  );
31 
32  dimensionedScalar CpRef
33  (
34  "CpRef",
36  physicalProperties
37  );
38 
39  rhoCpRef = rhoRef*CpRef;
40  }
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
const dimensionSet dimSpecificHeatCapacity
const dimensionSet dimDensity
const dimensionSet dimEnergy
const dimensionSet dimMass
dimensionedScalar rhoCpRef("rhoCpRef", dimDensity *dimEnergy/dimMass/dimTemperature, 1.0)
const volScalarField & T
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
autoPtr< radiationModel > radiation(radiationModel::New(T))
const dimensionSet dimTemperature