Initial commit for version 2.0.x patch release
[OpenFOAM-2.0.x.git] / applications / solvers / combustion / XiFoam / readCombustionProperties.H
blob58b0626fb415105c78eb5cfc8d05ba0670956cc7
1     Info<< "Reading combustion properties\n" << endl;
3     IOdictionary combustionProperties
4     (
5         IOobject
6         (
7             "combustionProperties",
8             runTime.constant(),
9             mesh,
10             IOobject::MUST_READ_IF_MODIFIED,
11             IOobject::NO_WRITE
12         )
13     );
15     word SuModel
16     (
17         combustionProperties.lookup("SuModel")
18     );
20     dimensionedScalar sigmaExt
21     (
22         combustionProperties.lookup("sigmaExt")
23     );
25     word XiModel
26     (
27         combustionProperties.lookup("XiModel")
28     );
30     dimensionedScalar XiCoef
31     (
32         combustionProperties.lookup("XiCoef")
33     );
35     dimensionedScalar XiShapeCoef
36     (
37         combustionProperties.lookup("XiShapeCoef")
38     );
40     dimensionedScalar uPrimeCoef
41     (
42         combustionProperties.lookup("uPrimeCoef")
43     );
45     ignition ign(combustionProperties, runTime, mesh);