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(H2O, 0);
34 addToRunTimeSelectionTable(liquid, H2O,);
35 addToRunTimeSelectionTable(liquid, H2O, Istream);
38 // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
56 rho_(98.343885, 0.30542, 647.13, 0.081),
57 pv_(73.649, -7258.2, -7.3037, 4.1653e-06, 2),
58 hl_(647.13, 2889425.47876769, 0.3199, -0.212, 0.25795, 0),
64 -0.000783569247849015,
74 -0.000195892311962254,
93 mu_(-51.964, 3670.6, 5.7331, -5.3495e-29, 10),
94 mug_(2.6986e-06, 0.498, 1257.7, -19570),
95 K_(-0.4267, 0.0056903, -8.0065e-06, 1.815e-09, 0, 0),
96 Kg_(6.977e-05, 1.1243, 844.9, -148850),
97 sigma_(647.13, 0.18548, 2.717, -3.554, 2.047, 0),
98 D_(15.0, 15.0, 18.015, 28)
105 const NSRDSfunc5& density,
106 const NSRDSfunc1& vapourPressure,
107 const NSRDSfunc6& heatOfVapourisation,
108 const NSRDSfunc0& heatCapacity,
109 const NSRDSfunc0& enthalpy,
110 const NSRDSfunc7& idealGasHeatCapacity,
111 const NSRDSfunc4& secondVirialCoeff,
112 const NSRDSfunc1& dynamicViscosity,
113 const NSRDSfunc2& vapourDynamicViscosity,
114 const NSRDSfunc0& thermalConductivity,
115 const NSRDSfunc2& vapourThermalConductivity,
116 const NSRDSfunc6& surfaceTension,
117 const APIdiffCoefFunc& vapourDiffussivity
123 hl_(heatOfVapourisation),
126 cpg_(idealGasHeatCapacity),
127 B_(secondVirialCoeff),
128 mu_(dynamicViscosity),
129 mug_(vapourDynamicViscosity),
130 K_(thermalConductivity),
131 Kg_(vapourThermalConductivity),
132 sigma_(surfaceTension),
133 D_(vapourDiffussivity)
137 Foam::H2O::H2O(Istream& is)
156 // ************************************************************************* //