1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | foam-extend: Open Source CFD
4 \\ / O peration | Version: 3.2
5 \\ / A nd | Web: http://www.foam-extend.org
6 \\/ M anipulation | 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(Ar, 0);
34 addToRunTimeSelectionTable(liquid, Ar,);
35 addToRunTimeSelectionTable(liquid, Ar, Istream);
39 // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
57 rho_(151.922244, 0.286, 150.86, 0.2984),
58 pv_(39.233, -1051.7, -3.5895, 5.0444e-05, 2),
59 hl_(150.86, 218509.061780314, 0.352, 0.0, 0.0, 0.0),
60 cp_(4562.43116050866, -70.7770101131471, 0.367477721037349, 0.0, 0.0, 0.0),
70 cpg_(520.326424351657, 0.0, 0.0, 0.0, 0.0, 0.0),
79 mu_(-8.868, 204.3, -0.3831, -1.3e-22, 10.0),
80 mug_(8.386e-07, 0.6175, 75.377, -432.5),
81 K_(0.1819, -0.0003176, -4.11e-06, 0.0, 0.0, 0.0),
82 Kg_(0.0001236, 0.8262, -132.8, 16000),
83 sigma_(150.86, 0.03823, 1.2927, 0.0, 0.0, 0.0),
84 D_(147.18, 20.1, 39.948, 28) // note: Same as nHeptane
91 const NSRDSfunc5& density,
92 const NSRDSfunc1& vapourPressure,
93 const NSRDSfunc6& heatOfVapourisation,
94 const NSRDSfunc0& heatCapacity,
95 const NSRDSfunc0& enthalpy,
96 const NSRDSfunc0& 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::Ar::Ar(Istream& is)
142 // ************************************************************************* //