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(MB, 0);
35 addToRunTimeSelectionTable(liquid, MB,);
36 addToRunTimeSelectionTable(liquid, MB, Istream);
39 // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
57 rho_(76.6099633, 0.257, 554.5, 0.2772),
58 pv_(107.51, -8112.9, -12.77, 9.2919e-06, 2.0),
59 hl_(554.5, 508307.794738233, 0.392, 0.0, 0.0, 0.0),
60 cp_(1135.77394182096, 2.89818178257762, 0.0, 0.0, 0.0, 0.0),
61 h_(-5255966.14542938, 1135.77394182096, 1.44909089128881, 0.0, 0.0, 0.0),
62 cpg_(875.329227575808, 2849.22600922327, 1570.0, 2029.70636327142, 678.3),
68 -2.85079259397061e+17,
71 mu_(-12.206, 1141.7, 0.15014, 0.0, 0.0),
72 mug_(3.733e-07, 0.6177, 256.5, 0.0),
73 K_(0.2298, -0.0003002, 0.0, 0.0, 0.0, 0.0),
74 Kg_(1333.1, 0.9962, 12317000000.0, 0.0),
75 sigma_(554.5, 0.064084, 1.2418, 0.0, 0.0, 0.0),
76 D_(147.18, 20.1, 102.133, 28.0) // note: Same as nHeptane
83 const NSRDSfunc5& density,
84 const NSRDSfunc1& vapourPressure,
85 const NSRDSfunc6& heatOfVapourisation,
86 const NSRDSfunc0& heatCapacity,
87 const NSRDSfunc0& enthalpy,
88 const NSRDSfunc7& idealGasHeatCapacity,
89 const NSRDSfunc4& secondVirialCoeff,
90 const NSRDSfunc1& dynamicViscosity,
91 const NSRDSfunc2& vapourDynamicViscosity,
92 const NSRDSfunc0& thermalConductivity,
93 const NSRDSfunc2& vapourThermalConductivity,
94 const NSRDSfunc6& surfaceTension,
95 const APIdiffCoefFunc& vapourDiffussivity
101 hl_(heatOfVapourisation),
104 cpg_(idealGasHeatCapacity),
105 B_(secondVirialCoeff),
106 mu_(dynamicViscosity),
107 mug_(vapourDynamicViscosity),
108 K_(thermalConductivity),
109 Kg_(vapourThermalConductivity),
110 sigma_(surfaceTension),
111 D_(vapourDiffussivity)
115 Foam::MB::MB(Istream& is)
134 // ************************************************************************* //