ENH: directMappedFixedValue: use different tag
[OpenFOAM-2.0.x.git] / applications / solvers / combustion / fireFoam / readChemistryProperties.H
blobf0bcf7597fcf71f1e9b8ee2dbc879200a85fa2cc
1 Info<< "Reading chemistry properties\n" << endl;
3 IOdictionary chemistryProperties
5     IOobject
6     (
7         "chemistryProperties",
8         runTime.constant(),
9         mesh,
10         IOobject::MUST_READ_IF_MODIFIED,
11         IOobject::NO_WRITE,
12         false
13     )
16 Switch turbulentReaction(chemistryProperties.lookup("turbulentReaction"));
18 dimensionedScalar Cmix("Cmix", dimless, 1.0);
20 if (turbulentReaction)
22     chemistryProperties.lookup("Cmix") >> Cmix;