db7fac3f24
git-svn-id: https://openfoam-extend.svn.sourceforge.net/svnroot/openfoam-extend/trunk/Core/OpenFOAM-1.5-dev@1731 e4e07f05-0c2f-0410-a05a-b8ba57e0c909
45 lines
883 B
C++
45 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);
|