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 rho0
00016 (
00017 thermodynamicProperties.lookup("rho0")
00018 );
00019
00020 dimensionedScalar p0
00021 (
00022 thermodynamicProperties.lookup("p0")
00023 );
00024
00025 dimensionedScalar psi
00026 (
00027 thermodynamicProperties.lookup("psi")
00028 );
00029
00030
00031 dimensionedScalar rhoO("rhoO", rho0 - psi*p0);
00032
00033