initial commit for version 1.6.x patch release
[OpenFOAM-1.6.x.git] / applications / solvers / lagrangian / porousExplicitSourceReactingParcelFoam / readChemistryProperties.H
blobab51afe28361cdf65bc74af68961a6732535d6b3
1 Info<< "Reading chemistry properties\n" << endl;
3 IOdictionary chemistryProperties
5     IOobject
6     (
7         "chemistryProperties",
8         runTime.constant(),
9         mesh,
10         IOobject::MUST_READ,
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;