Merge branch 'master' of ssh://git.code.sf.net/p/foam-extend/foam-extend-3.2
[foam-extend-3.2.git] / applications / solvers / multiphase / barotropicCavitatingFoam / readThermodynamicProperties.H
blobc057c442b12a8c113e4e7e1a3ead7206fddcc7cf
1     Info<< "Reading thermodynamicProperties\n" << endl;
3     IOdictionary thermodynamicProperties
4     (
5         IOobject
6         (
7             "thermodynamicProperties",
8             runTime.constant(),
9             mesh,
10             IOobject::MUST_READ,
11             IOobject::NO_WRITE
12         )
13     );
15     dimensionedScalar rhogSat
16     (
17         thermodynamicProperties.lookup("rhogSat")
18     );
20     dimensionedScalar rholSat
21     (
22         thermodynamicProperties.lookup("rholSat")
23     );
25     dimensionedScalar pSat
26     (
27         thermodynamicProperties.lookup("pSat")
28     );
30     dimensionedScalar psig
31     (
32         thermodynamicProperties.lookup("psig")
33     );
35     dimensionedScalar psil
36     (
37         thermodynamicProperties.lookup("psil")
38     );