db7fac3f24
git-svn-id: https://openfoam-extend.svn.sourceforge.net/svnroot/openfoam-extend/trunk/Core/OpenFOAM-1.5-dev@1731 e4e07f05-0c2f-0410-a05a-b8ba57e0c909
27 lines
770 B
C
27 lines
770 B
C
Info<< "Reading thermodynamicProperties\n" << endl;
|
|
|
|
IOdictionary thermodynamicProperties
|
|
(
|
|
IOobject
|
|
(
|
|
"thermodynamicProperties",
|
|
runTime.constant(),
|
|
mesh,
|
|
IOobject::MUST_READ,
|
|
IOobject::NO_WRITE
|
|
)
|
|
);
|
|
|
|
dimensionedScalar psil(thermodynamicProperties.lookup("psil"));
|
|
|
|
dimensionedScalar rholSat(thermodynamicProperties.lookup("rholSat"));
|
|
|
|
dimensionedScalar psiv(thermodynamicProperties.lookup("psiv"));
|
|
|
|
dimensionedScalar pSat(thermodynamicProperties.lookup("pSat"));
|
|
|
|
dimensionedScalar rhovSat("rhovSat", psiv*pSat);
|
|
|
|
dimensionedScalar rhol0("rhol0", rholSat - pSat*psil);
|
|
|
|
dimensionedScalar rhoMin(thermodynamicProperties.lookup("rhoMin"));
|