This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/applications/solvers/combustion/XiFoam/readCombustionProperties.H

46 lines
883 B
C
Raw Normal View History

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);