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 \*---------------------------------------------------------------------------*/
27 #include "aC10H7CH3.H"
28 #include "addToRunTimeSelectionTable.H"
30 // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
34 defineTypeNameAndDebug(aC10H7CH3, 0);
35 addToRunTimeSelectionTable(liquid, aC10H7CH3,);
36 addToRunTimeSelectionTable(liquid, aC10H7CH3, Istream);
39 // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
41 Foam::aC10H7CH3::aC10H7CH3()
57 rho_(60.92559, 0.22408, 772.04, 0.25709),
58 pv_(73.716, -9103.2, -7.2253, 2.062e-06, 2),
59 hl_(772.04, 511744.022503516, 0.4164, 0, 0, 0),
60 cp_(965.893108298172, 1.16216596343179, 0.00298523206751055, 0, 0, 0),
70 cpg_(743.389592123769, 2703.5864978903, 1548.5, 2031.64556962025, 722.06),
79 mu_(-93.6, 5784, 12, 0, 0),
80 mug_(2.5672e-06, 0.3566, 825.54, 0),
81 K_(0.19758, -0.0001796, 0, 0, 0, 0),
82 Kg_(0.3911, -0.1051, -213.52, 2318300),
83 sigma_(772.04, 0.076, 1.33, 0, 0, 0),
84 D_(147.18, 20.1, 142.2, 28) // note: Same as nHeptane
88 Foam::aC10H7CH3::aC10H7CH3
91 const NSRDSfunc5& density,
92 const NSRDSfunc1& vapourPressure,
93 const NSRDSfunc6& heatOfVapourisation,
94 const NSRDSfunc0& heatCapacity,
95 const NSRDSfunc0& enthalpy,
96 const NSRDSfunc7& idealGasHeatCapacity,
97 const NSRDSfunc4& secondVirialCoeff,
98 const NSRDSfunc1& dynamicViscosity,
99 const NSRDSfunc2& vapourDynamicViscosity,
100 const NSRDSfunc0& thermalConductivity,
101 const NSRDSfunc2& vapourThermalConductivity,
102 const NSRDSfunc6& surfaceTension,
103 const APIdiffCoefFunc& vapourDiffussivity
109 hl_(heatOfVapourisation),
112 cpg_(idealGasHeatCapacity),
113 B_(secondVirialCoeff),
114 mu_(dynamicViscosity),
115 mug_(vapourDynamicViscosity),
116 K_(thermalConductivity),
117 Kg_(vapourThermalConductivity),
118 sigma_(surfaceTension),
119 D_(vapourDiffussivity)
123 Foam::aC10H7CH3::aC10H7CH3(Istream& is)
142 // ************************************************************************* //