Removed unnecessary return statement
[foam-extend-3.2.git] / applications / solvers / multiphase / cavitatingFoam / readThermodynamicProperties.H
blobd3fbb9307aa853f5123b03f25290b208bc0cee7c
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 psil(thermodynamicProperties.lookup("psil"));
17     dimensionedScalar rholSat(thermodynamicProperties.lookup("rholSat"));
19     dimensionedScalar psiv(thermodynamicProperties.lookup("psiv"));
21     dimensionedScalar pSat(thermodynamicProperties.lookup("pSat"));
23     dimensionedScalar rhovSat("rhovSat", psiv*pSat);
25     dimensionedScalar rhol0("rhol0", rholSat - pSat*psil);
27     dimensionedScalar rhoMin(thermodynamicProperties.lookup("rhoMin"));