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(C2H6, 0);
35 addToRunTimeSelectionTable(liquid, C2H6,);
36 addToRunTimeSelectionTable(liquid, C2H6, Istream);
39 // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
57 rho_(57.499854, 0.27937, 305.32, 0.29187),
58 pv_(51.857, -2598.7, -5.1283, 1.4913e-05, 2.0),
59 hl_(305.32, 701396.740937812, 0.60646, -0.55492, 0.32799, 0.0),
68 h_(0.0, 0.0, 0.0, 0.0, 0.0, 0.0),
69 cpg_(1341.07083471899, 4463.58496840705, 1655.5, 2435.08480212837, 752.87),
78 mu_(-3.4134, 197.05, -1.2193, -9.2023e-26, 10.0),
79 mug_(2.5906e-07, 0.67988, 98.902, 0.0),
80 K_(0.35758, -0.0011458, 6.1866e-07, 0.0, 0.0, 0.0),
81 Kg_(7.3869e-05, 1.1689, 500.73, 0.0),
82 sigma_(305.32, 0.048643, 1.1981, 0.0, 0.0, 0.0),
83 D_(147.18, 20.1, 30.070, 28) // note: Same as nHeptane
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::C2H6::C2H6(Istream& is)
141 // ************************************************************************* //