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

readBoxTurbDict.H

Go to the documentation of this file.
00001     Info<< "Reading boxTurbDict\n" << endl;
00002 
00003     IOdictionary boxTurbDict
00004     (
00005         IOobject
00006         (
00007             "boxTurbDict",
00008             runTime.constant(),
00009             mesh,
00010             IOobject::MUST_READ,
00011             IOobject::NO_WRITE
00012         )
00013     );
00014 
00015     scalar Ea(readScalar(boxTurbDict.lookup("Ea")));
00016 
00017     scalar k0(readScalar(boxTurbDict.lookup("k0")));
Copyright © 2000-2009 OpenCFD Ltd