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(IDEA, 0);
35 addToRunTimeSelectionTable(liquid, IDEA,);
36 addToRunTimeSelectionTable(liquid, IDEA, Istream);
39 // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
57 rho_(152.012105, 3.87150382e-1, 618.073893, 4.00790044e-1),
75 cp_(1.6604957e+3, -6.250871e-1, 6.1778552e-3, 0.0, 0.0, 0.0),
76 h_(0.0, 0.0, 0.0, 0.0, 0.0, 0.0),
90 -1.13364022911762e+19,
93 mu_(-6.9645853822e+01, 4.4390635942e+03, 8.4680722718e+00, 0.0, 0.0),
94 mug_(4.2629382158e-08, 8.8144402122e-01, 9.6918097636e+01, 0.0),
95 K_(2.03684e-01, -2.3168e-04, 0.0, 0.0, 0.0, 0.0),
112 D_(147.18, 20.1, 142.2, 28.0) // note: Same as nHeptane
119 const NSRDSfunc5& density,
120 const NSRDSfunc1& vapourPressure,
121 const NSRDSfunc6& heatOfVapourisation,
122 const NSRDSfunc0& heatCapacity,
123 const NSRDSfunc0& enthalpy,
124 const NSRDSfunc7& idealGasHeatCapacity,
125 const NSRDSfunc4& secondVirialCoeff,
126 const NSRDSfunc1& dynamicViscosity,
127 const NSRDSfunc2& vapourDynamicViscosity,
128 const NSRDSfunc0& thermalConductivity,
129 const NSRDSfunc2& vapourThermalConductivity,
130 const NSRDSfunc6& surfaceTension,
131 const APIdiffCoefFunc& vapourDiffussivity
137 hl_(heatOfVapourisation),
140 cpg_(idealGasHeatCapacity),
141 B_(secondVirialCoeff),
142 mu_(dynamicViscosity),
143 mug_(vapourDynamicViscosity),
144 K_(thermalConductivity),
145 Kg_(vapourThermalConductivity),
146 sigma_(surfaceTension),
147 D_(vapourDiffussivity)
151 Foam::IDEA::IDEA(Istream& is)
170 // ************************************************************************* //