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
27 \*---------------------------------------------------------------------------*/
30 #include <OpenFOAM/addToRunTimeSelectionTable.H>
32 // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
36 defineTypeNameAndDebug(iC3H8O, 0);
37 addToRunTimeSelectionTable(liquid, iC3H8O,);
38 addToRunTimeSelectionTable(liquid, iC3H8O, Istream);
41 // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
43 Foam::iC3H8O::iC3H8O()
59 rho_(70.91328, 0.26475, 508.31, 0.243),
60 pv_(92.935, -8177.1, -10.031, 3.9988e-06, 2.0),
61 hl_(508.31, 948149.627263046, 0.087, 0.3007, 0.0, 0.0),
67 -0.000235057241746539,
77 -5.87643104366347e-05,
80 cpg_(789.73642172524, 3219.8482428115, 1124, 1560.83599574015, 460.0),
89 mu_(-8.23, 2282.2, -0.98495, 0.0, 0.0),
90 mug_(1.993e-07, 0.7233, 178.0, 0.0),
91 K_(0.2029, -0.0002278, 0.0, 0.0, 0.0, 0.0),
92 Kg_(-80.642, -1.4549, -604.42, 0.0),
93 sigma_(0.03818, -3.818e-05, -6.51e-08, 0.0, 0.0, 0.0),
94 D_(4.75e-10, 1.75, 0.0, 0.0, 0.0)
101 const NSRDSfunc5& density,
102 const NSRDSfunc1& vapourPressure,
103 const NSRDSfunc6& heatOfVapourisation,
104 const NSRDSfunc0& heatCapacity,
105 const NSRDSfunc0& enthalpy,
106 const NSRDSfunc7& idealGasHeatCapacity,
107 const NSRDSfunc4& secondVirialCoeff,
108 const NSRDSfunc1& dynamicViscosity,
109 const NSRDSfunc2& vapourDynamicViscosity,
110 const NSRDSfunc0& thermalConductivity,
111 const NSRDSfunc2& vapourThermalConductivity,
112 const NSRDSfunc0& surfaceTension,
113 const NSRDSfunc1& vapourDiffussivity
119 hl_(heatOfVapourisation),
122 cpg_(idealGasHeatCapacity),
123 B_(secondVirialCoeff),
124 mu_(dynamicViscosity),
125 mug_(vapourDynamicViscosity),
126 K_(thermalConductivity),
127 Kg_(vapourThermalConductivity),
128 sigma_(surfaceTension),
129 D_(vapourDiffussivity)
133 Foam::iC3H8O::iC3H8O(Istream& is)
152 // ************************ vim: set sw=4 sts=4 et: ************************ //