FreeFOAM The Cross-Platform CFD Toolkit
C7H16.C
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration |
5  \\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd.
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8 License
9  This file is part of OpenFOAM.
10 
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
13  the Free Software Foundation, either version 3 of the License, or
14  (at your option) any later version.
15 
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
19  for more details.
20 
21  You should have received a copy of the GNU General Public License
22  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
23 
24 \*---------------------------------------------------------------------------*/
25 
26 #include "C7H16.H"
28 
29 // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
30 
31 namespace Foam
32 {
33  defineTypeNameAndDebug(C7H16, 0);
34  addToRunTimeSelectionTable(liquid, C7H16,);
35  addToRunTimeSelectionTable(liquid, C7H16, Istream);
36 }
37 
38 // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
39 
41 :
42  liquid
43  (
44  100.204,
45  540.20,
46  2.74e+6,
47  0.428,
48  0.261,
49  182.57,
50  1.8269e-1,
51  371.58,
52  0.0,
53  0.3495,
54  1.52e+4
55  ),
56  rho_(61.38396836, 0.26211, 540.2, 0.28141),
57  pv_(87.829, -6996.4, -9.8802, 7.2099e-06, 2.0),
58  hl_(540.20, 499121.791545248, 0.38795, 0.0, 0.0, 0.0),
59  cp_
60  (
61  540.20,
62  6.11976102401216,
63  3137.69909384855,
64  182.274175063868,
65  -254.530511150515
66  ),
67  h_
68  (
69  -3.1469964e+6,
70  7.3072e+3,
71  -3.52884e+1,
72  1.10637e-1,
73  -1.634831e-4,
74  9.64941e-8
75  ),
76  cpg_(1199.05392998284, 3992.85457666361, 1676.6, 2734.42177956968, 756.4),
77  B_
78  (
79  0.00274040956448844,
80  -2.90407568560137,
81  -440900.562851782,
82  -8.78208454752305e+17,
83  1.28238393676899e+20
84  ),
85  mu_(-24.451, 1533.1, 2.0087, 0.0, 0.0),
86  mug_(6.672e-08, 0.82837, 85.752, 0.0),
87  K_(0.215, -0.000303, 0.0, 0.0, 0.0, 0.0),
88  Kg_(-0.070028, 0.38068, -7049.9, -2400500.0),
89  sigma_(540.20, 0.054143, 1.2512, 0.0, 0.0, 0.0),
90  D_(147.18, 20.1, 100.204, 28.0)
91 {}
92 
93 
95 (
96  const liquid& l,
97  const NSRDSfunc5& density,
98  const NSRDSfunc1& vapourPressure,
99  const NSRDSfunc6& heatOfVapourisation,
100  const NSRDSfunc14& heatCapacity,
101  const NSRDSfunc0& enthalpy,
102  const NSRDSfunc7& idealGasHeatCapacity,
103  const NSRDSfunc4& secondVirialCoeff,
104  const NSRDSfunc1& dynamicViscosity,
105  const NSRDSfunc2& vapourDynamicViscosity,
106  const NSRDSfunc0& thermalConductivity,
107  const NSRDSfunc2& vapourThermalConductivity,
108  const NSRDSfunc6& surfaceTension,
109  const APIdiffCoefFunc& vapourDiffussivity
110 )
111 :
112  liquid(l),
113  rho_(density),
114  pv_(vapourPressure),
115  hl_(heatOfVapourisation),
116  cp_(heatCapacity),
117  h_(enthalpy),
118  cpg_(idealGasHeatCapacity),
119  B_(secondVirialCoeff),
120  mu_(dynamicViscosity),
121  mug_(vapourDynamicViscosity),
122  K_(thermalConductivity),
123  Kg_(vapourThermalConductivity),
124  sigma_(surfaceTension),
125  D_(vapourDiffussivity)
126 {}
127 
128 
130 :
131  liquid(is),
132  rho_(is),
133  pv_(is),
134  hl_(is),
135  cp_(is),
136  h_(is),
137  cpg_(is),
138  B_(is),
139  mu_(is),
140  mug_(is),
141  K_(is),
142  Kg_(is),
143  sigma_(is),
144  D_(is)
145 {}
146 
147 
148 // ************************ vim: set sw=4 sts=4 et: ************************ //