Files
openfoam/applications/solvers/combustion/XiFoam/readCombustionProperties.H
2008-04-15 18:56:58 +01:00

46 lines
883 B
C

Info<< "Reading combustion properties\n" << endl;
IOdictionary combustionProperties
(
IOobject
(
"combustionProperties",
runTime.constant(),
mesh,
IOobject::MUST_READ,
IOobject::NO_WRITE
)
);
word SuModel
(
combustionProperties.lookup("SuModel")
);
dimensionedScalar sigmaExt
(
combustionProperties.lookup("sigmaExt")
);
word XiModel
(
combustionProperties.lookup("XiModel")
);
dimensionedScalar XiCoef
(
combustionProperties.lookup("XiCoef")
);
dimensionedScalar XiShapeCoef
(
combustionProperties.lookup("XiShapeCoef")
);
dimensionedScalar uPrimeCoef
(
combustionProperties.lookup("uPrimeCoef")
);
ignition ign(combustionProperties, runTime, mesh);