mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
24 lines
468 B
C
24 lines
468 B
C
Info<< "Reading chemistry properties\n" << endl;
|
|
|
|
IOdictionary chemistryProperties
|
|
(
|
|
IOobject
|
|
(
|
|
"chemistryProperties",
|
|
runTime.constant(),
|
|
mesh,
|
|
IOobject::MUST_READ_IF_MODIFIED,
|
|
IOobject::NO_WRITE,
|
|
false
|
|
)
|
|
);
|
|
|
|
Switch turbulentReaction(chemistryProperties.lookup("turbulentReaction"));
|
|
|
|
dimensionedScalar Cmix("Cmix", dimless, 1.0);
|
|
|
|
if (turbulentReaction)
|
|
{
|
|
chemistryProperties.lookup("Cmix") >> Cmix;
|
|
}
|