FreeFOAM The Cross-Platform CFD Toolkit
readThermodynamicProperties.H
Go to the documentation of this file.
1  Info<< "Reading thermodynamicProperties\n" << endl;
2 
3  IOdictionary thermodynamicProperties
4  (
5  IOobject
6  (
7  "thermodynamicProperties",
8  runTime.constant(),
9  mesh,
10  IOobject::MUST_READ,
11  IOobject::NO_WRITE
12  )
13  );
14 
15  dimensionedScalar psil(thermodynamicProperties.lookup("psil"));
16 
17  dimensionedScalar rholSat(thermodynamicProperties.lookup("rholSat"));
18 
19  dimensionedScalar psiv(thermodynamicProperties.lookup("psiv"));
20 
21  dimensionedScalar pSat(thermodynamicProperties.lookup("pSat"));
22 
23  dimensionedScalar rhovSat("rhovSat", psiv*pSat);
24 
25  dimensionedScalar rhol0("rhol0", rholSat - pSat*psil);
26 
27  dimensionedScalar rhoMin(thermodynamicProperties.lookup("rhoMin"));