FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

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 }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines