1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 \\ / A nd | Copyright (C) 1991-2009 OpenCFD Ltd.
7 -------------------------------------------------------------------------------
9 This file is part of OpenFOAM.
11 OpenFOAM is free software; you can redistribute it and/or modify it
12 under the terms of the GNU General Public License as published by the
13 Free Software Foundation; either version 2 of the License, or (at your
14 option) any later version.
16 OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21 You should have received a copy of the GNU General Public License
22 along with OpenFOAM; if not, write to the Free Software Foundation,
23 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25 \*---------------------------------------------------------------------------*/
28 #include "addToRunTimeSelectionTable.H"
30 // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
34 defineTypeNameAndDebug(C7H16, 0);
35 addToRunTimeSelectionTable(liquid, C7H16,);
36 addToRunTimeSelectionTable(liquid, C7H16, Istream);
39 // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
57 rho_(61.38396836, 0.26211, 540.2, 0.28141),
58 pv_(87.829, -6996.4, -9.8802, 7.2099e-06, 2.0),
59 hl_(540.20, 499121.791545248, 0.38795, 0.0, 0.0, 0.0),
68 h_(-3.1469964e+6,7.3072e+3,-3.52884e+1,1.10637e-1,-1.634831e-4,9.64941e-8),
69 cpg_(1199.05392998284, 3992.85457666361, 1676.6, 2734.42177956968, 756.4),
75 -8.78208454752305e+17,
78 mu_(-24.451, 1533.1, 2.0087, 0.0, 0.0),
79 mug_(6.672e-08, 0.82837, 85.752, 0.0),
80 K_(0.215, -0.000303, 0.0, 0.0, 0.0, 0.0),
81 Kg_(-0.070028, 0.38068, -7049.9, -2400500.0),
82 sigma_(540.20, 0.054143, 1.2512, 0.0, 0.0, 0.0),
83 D_(147.18, 20.1, 100.204, 28.0) // note: Same as C7H16
90 const NSRDSfunc5& density,
91 const NSRDSfunc1& vapourPressure,
92 const NSRDSfunc6& heatOfVapourisation,
93 const NSRDSfunc14& heatCapacity,
94 const NSRDSfunc0& enthalpy,
95 const NSRDSfunc7& idealGasHeatCapacity,
96 const NSRDSfunc4& secondVirialCoeff,
97 const NSRDSfunc1& dynamicViscosity,
98 const NSRDSfunc2& vapourDynamicViscosity,
99 const NSRDSfunc0& thermalConductivity,
100 const NSRDSfunc2& vapourThermalConductivity,
101 const NSRDSfunc6& surfaceTension,
102 const APIdiffCoefFunc& vapourDiffussivity
108 hl_(heatOfVapourisation),
111 cpg_(idealGasHeatCapacity),
112 B_(secondVirialCoeff),
113 mu_(dynamicViscosity),
114 mug_(vapourDynamicViscosity),
115 K_(thermalConductivity),
116 Kg_(vapourThermalConductivity),
117 sigma_(surfaceTension),
118 D_(vapourDiffussivity)
122 Foam::C7H16::C7H16(Istream& is)
141 // ************************************************************************* //