openfoam/applications/utilities/preProcessing/boxTurb/readBoxTurbDict.H
Mark Olesen d58c142404 ENH: use restricted dictionary lookup for utilities (issue #762)
- get<label>, get<scalar> instead of readLabel, readScalar, etc.
2018-07-24 08:08:30 +02:00

18 lines
371 B
C

Info<< "Reading boxTurbDict\n" << endl;
IOdictionary boxTurbDict
(
IOobject
(
"boxTurbDict",
runTime.constant(),
mesh,
IOobject::MUST_READ_IF_MODIFIED,
IOobject::NO_WRITE
)
);
scalar Ea(boxTurbDict.get<scalar>("Ea"));
scalar k0(boxTurbDict.get<scalar>("k0"));