OpenFOAM: API Guide
v2112
The open source CFD toolbox
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_IF_MODIFIED,
11
IOobject::NO_WRITE
12
)
13
);
14
15
dimensionedScalar
psil(
"psil"
,
dimCompressibility
, thermodynamicProperties);
16
17
dimensionedScalar
rholSat(
"rholSat"
,
dimDensity
, thermodynamicProperties);
18
19
dimensionedScalar
psiv(
"psiv"
,
dimCompressibility
, thermodynamicProperties);
20
21
dimensionedScalar
pSat(
"pSat"
,
dimPressure
, thermodynamicProperties);
22
23
dimensionedScalar
rhovSat(
"rhovSat"
, psiv*pSat);
24
25
dimensionedScalar
rhol0(
"rhol0"
, rholSat - pSat*psil);
26
27
const
dimensionedScalar
rhoMin
(
"rhoMin"
,
dimDensity
, thermodynamicProperties);
runTime
engineTime & runTime
Definition:
createEngineTime.H:13
Foam::dimPressure
const dimensionSet dimPressure
Foam::dimDensity
const dimensionSet dimDensity
Foam::endl
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition:
Ostream.H:369
Foam::dimCompressibility
const dimensionSet dimCompressibility
Foam::Info
messageStream Info
Information stream (stdout output on master, null elsewhere)
rhoMin
const dimensionedScalar rhoMin
Definition:
setRegionFluidFields.H:67
Foam::dimensionedScalar
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Definition:
dimensionedScalarFwd.H:42
mesh
dynamicFvMesh & mesh
Definition:
createDynamicFvMesh.H:6
applications
solvers
multiphase
cavitatingFoam
readThermodynamicProperties.H
Generated by
1.8.17
OPENFOAM® is a registered
trademark
of OpenCFD Ltd.