OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

readChemistryProperties.H

Go to the documentation of this file.
00001 Info<< "Reading chemistry properties\n" << endl;
00002 
00003 IOdictionary chemistryProperties
00004 (
00005     IOobject
00006     (
00007         "chemistryProperties",
00008         runTime.constant(),
00009         mesh,
00010         IOobject::MUST_READ,
00011         IOobject::NO_WRITE,
00012         false
00013     )
00014 );
00015 
00016 Switch turbulentReaction(chemistryProperties.lookup("turbulentReaction"));
00017 
00018 dimensionedScalar Cmix("Cmix", dimless, 1.0);
00019 
00020 if (turbulentReaction)
00021 {
00022     chemistryProperties.lookup("Cmix") >> Cmix;
00023 }
Copyright © 2000-2009 OpenCFD Ltd