1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | foam-extend: Open Source CFD
4 \\ / O peration | Version: 3.2
5 \\ / A nd | Web: http://www.foam-extend.org
6 \\/ M anipulation | For copyright notice see file Copyright
7 -------------------------------------------------------------------------------
9 This file is part of foam-extend.
11 foam-extend 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 3 of the License, or (at your
14 option) any later version.
16 foam-extend is distributed in the hope that it will be useful, but
17 WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 General Public License for more details.
21 You should have received a copy of the GNU General Public License
22 along with foam-extend. If not, see <http://www.gnu.org/licenses/>.
24 \*---------------------------------------------------------------------------*/
27 #include "addToRunTimeSelectionTable.H"
29 // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
33 defineTypeNameAndDebug(IDEA, 0);
34 addToRunTimeSelectionTable(liquid, IDEA,);
35 addToRunTimeSelectionTable(liquid, IDEA, Istream);
38 // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
56 rho_(152.012105, 3.87150382e-1, 618.073893, 4.00790044e-1),
74 cp_(1.6604957e+3, -6.250871e-1, 6.1778552e-3, 0.0, 0.0, 0.0),
75 h_(0.0, 0.0, 0.0, 0.0, 0.0, 0.0),
89 -1.13364022911762e+19,
92 mu_(-6.9645853822e+01, 4.4390635942e+03, 8.4680722718e+00, 0.0, 0.0),
93 mug_(4.2629382158e-08, 8.8144402122e-01, 9.6918097636e+01, 0.0),
94 K_(2.03684e-01, -2.3168e-04, 0.0, 0.0, 0.0, 0.0),
111 D_(147.18, 20.1, 142.2, 28.0) // note: Same as nHeptane
118 const NSRDSfunc5& density,
119 const NSRDSfunc1& vapourPressure,
120 const NSRDSfunc6& heatOfVapourisation,
121 const NSRDSfunc0& heatCapacity,
122 const NSRDSfunc0& enthalpy,
123 const NSRDSfunc7& idealGasHeatCapacity,
124 const NSRDSfunc4& secondVirialCoeff,
125 const NSRDSfunc1& dynamicViscosity,
126 const NSRDSfunc2& vapourDynamicViscosity,
127 const NSRDSfunc0& thermalConductivity,
128 const NSRDSfunc2& vapourThermalConductivity,
129 const NSRDSfunc6& surfaceTension,
130 const APIdiffCoefFunc& vapourDiffussivity
136 hl_(heatOfVapourisation),
139 cpg_(idealGasHeatCapacity),
140 B_(secondVirialCoeff),
141 mu_(dynamicViscosity),
142 mug_(vapourDynamicViscosity),
143 K_(thermalConductivity),
144 Kg_(vapourThermalConductivity),
145 sigma_(surfaceTension),
146 D_(vapourDiffussivity)
150 Foam::IDEA::IDEA(Istream& is)
169 // ************************************************************************* //