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

readThermodynamicProperties.H

Go to the documentation of this file.
00001     Info<< "Reading thermodynamicProperties\n" << endl;
00002 
00003     IOdictionary thermodynamicProperties
00004     (
00005         IOobject
00006         (
00007             "thermodynamicProperties",
00008             runTime.constant(),
00009             mesh,
00010             IOobject::MUST_READ,
00011             IOobject::NO_WRITE
00012         )
00013     );
00014 
00015     dimensionedScalar psil(thermodynamicProperties.lookup("psil"));
00016 
00017     dimensionedScalar rholSat(thermodynamicProperties.lookup("rholSat"));
00018 
00019     dimensionedScalar psiv(thermodynamicProperties.lookup("psiv"));
00020 
00021     dimensionedScalar pSat(thermodynamicProperties.lookup("pSat"));
00022 
00023     dimensionedScalar rhovSat("rhovSat", psiv*pSat);
00024 
00025     dimensionedScalar rhol0("rhol0", rholSat - pSat*psil);
00026 
00027     dimensionedScalar rhoMin(thermodynamicProperties.lookup("rhoMin"));
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines