FreeFOAM The Cross-Platform CFD Toolkit
readChemistryProperties.H
Go to the documentation of this file.
1 Info<< "Reading chemistry properties\n" << endl;
2 
3 IOdictionary chemistryProperties
4 (
5  IOobject
6  (
7  "chemistryProperties",
8  runTime.constant(),
9  mesh,
10  IOobject::MUST_READ,
11  IOobject::NO_WRITE,
12  false
13  )
14 );
15 
16 Switch turbulentReaction(chemistryProperties.lookup("turbulentReaction"));
17 
18 dimensionedScalar Cmix("Cmix", dimless, 1.0);
19 
20 if (turbulentReaction)
21 {
22  chemistryProperties.lookup("Cmix") >> Cmix;
23 }