1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | foam-extend: Open Source CFD
5 \\ / A nd | 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(C2H6, 0);
34 addToRunTimeSelectionTable(liquid, C2H6,);
35 addToRunTimeSelectionTable(liquid, C2H6, Istream);
38 // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
56 rho_(57.499854, 0.27937, 305.32, 0.29187),
57 pv_(51.857, -2598.7, -5.1283, 1.4913e-05, 2.0),
58 hl_(305.32, 701396.740937812, 0.60646, -0.55492, 0.32799, 0.0),
67 h_(0.0, 0.0, 0.0, 0.0, 0.0, 0.0),
68 cpg_(1341.07083471899, 4463.58496840705, 1655.5, 2435.08480212837, 752.87),
77 mu_(-3.4134, 197.05, -1.2193, -9.2023e-26, 10.0),
78 mug_(2.5906e-07, 0.67988, 98.902, 0.0),
79 K_(0.35758, -0.0011458, 6.1866e-07, 0.0, 0.0, 0.0),
80 Kg_(7.3869e-05, 1.1689, 500.73, 0.0),
81 sigma_(305.32, 0.048643, 1.1981, 0.0, 0.0, 0.0),
82 D_(147.18, 20.1, 30.070, 28) // note: Same as nHeptane
89 const NSRDSfunc5& density,
90 const NSRDSfunc1& vapourPressure,
91 const NSRDSfunc6& heatOfVapourisation,
92 const NSRDSfunc14& heatCapacity,
93 const NSRDSfunc0& enthalpy,
94 const NSRDSfunc7& idealGasHeatCapacity,
95 const NSRDSfunc4& secondVirialCoeff,
96 const NSRDSfunc1& dynamicViscosity,
97 const NSRDSfunc2& vapourDynamicViscosity,
98 const NSRDSfunc0& thermalConductivity,
99 const NSRDSfunc2& vapourThermalConductivity,
100 const NSRDSfunc6& surfaceTension,
101 const APIdiffCoefFunc& vapourDiffussivity
107 hl_(heatOfVapourisation),
110 cpg_(idealGasHeatCapacity),
111 B_(secondVirialCoeff),
112 mu_(dynamicViscosity),
113 mug_(vapourDynamicViscosity),
114 K_(thermalConductivity),
115 Kg_(vapourThermalConductivity),
116 sigma_(surfaceTension),
117 D_(vapourDiffussivity)
121 Foam::C2H6::C2H6(Istream& is)
140 // ************************************************************************* //