All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
H2OI.H
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration | Website: https://openfoam.org
5  \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
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 inline Foam::scalar Foam::H2O::rho(scalar p, scalar T) const
27 {
28  return rho_.f(p, T);
29 }
30 
31 
32 inline Foam::scalar Foam::H2O::pv(scalar p, scalar T) const
33 {
34  return pv_.f(p, T);
35 }
36 
37 
38 inline Foam::scalar Foam::H2O::hl(scalar p, scalar T) const
39 {
40  return hl_.f(p, T);
41 }
42 
43 
44 inline Foam::scalar Foam::H2O::Cp(scalar p, scalar T) const
45 {
46  return Cp_.f(p, T);
47 }
48 
49 
50 inline Foam::scalar Foam::H2O::h(scalar p, scalar T) const
51 {
52  return h_.f(p, T);
53 }
54 
55 
56 inline Foam::scalar Foam::H2O::Cpg(scalar p, scalar T) const
57 {
58  return Cpg_.f(p, T);
59 }
60 
61 
62 inline Foam::scalar Foam::H2O::B(scalar p, scalar T) const
63 {
64  return B_.f(p, T);
65 }
66 
67 
68 inline Foam::scalar Foam::H2O::mu(scalar p, scalar T) const
69 {
70  return mu_.f(p, T);
71 }
72 
73 
74 inline Foam::scalar Foam::H2O::mug(scalar p, scalar T) const
75 {
76  return mug_.f(p, T);
77 }
78 
79 
80 inline Foam::scalar Foam::H2O::kappa(scalar p, scalar T) const
81 {
82  return kappa_.f(p, T);
83 }
84 
85 
86 inline Foam::scalar Foam::H2O::kappag(scalar p, scalar T) const
87 {
88  return kappag_.f(p, T);
89 }
90 
91 
92 inline Foam::scalar Foam::H2O::sigma(scalar p, scalar T) const
93 {
94  return sigma_.f(p, T);
95 }
96 
97 
98 inline Foam::scalar Foam::H2O::D(scalar p, scalar T) const
99 {
100  return D_.f(p, T);
101 }
102 
103 
104 inline Foam::scalar Foam::H2O::D(scalar p, scalar T, scalar Wb) const
105 {
106  return D_.f(p, T, Wb);
107 }
108 
109 
110 // ************************************************************************* //
scalar sigma(scalar p, scalar T) const
Surface tension [N/m].
Definition: H2OI.H:92
scalar rho(scalar p, scalar T) const
Liquid density [kg/m^3].
Definition: H2OI.H:26
scalar f(scalar, scalar T) const
Evaluate the function and return the result.
scalar Cp(scalar p, scalar T) const
Liquid heat capacity [J/kg/K].
Definition: H2OI.H:44
scalar f(scalar, scalar T) const
Evaluate the function and return the result.
scalar kappag(scalar p, scalar T) const
Vapour thermal conductivity [W/m/K].
Definition: H2OI.H:86
scalar f(scalar, scalar T) const
Evaluate the function and return the result.
scalar D(scalar p, scalar T) const
Vapour diffusivity [m^2/s].
Definition: H2OI.H:98
scalar f(scalar, scalar T) const
Evaluate the function and return the result.
scalar h(scalar p, scalar T) const
Liquid enthalpy [J/kg].
Definition: H2OI.H:50
scalar f(scalar, scalar T) const
Evaluate the function and return the result.
scalar kappa(scalar p, scalar T) const
Liquid thermal conductivity [W/m/K].
Definition: H2OI.H:80
scalar mu(scalar p, scalar T) const
Liquid viscosity [Pa s].
Definition: H2OI.H:68
scalar f(scalar, scalar T) const
Evaluate the function and return the result.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
const volScalarField & T
scalar hl(scalar p, scalar T) const
Heat of vapourisation [J/kg].
Definition: H2OI.H:38
scalar Cpg(scalar p, scalar T) const
Ideal gas heat capacity [J/kg/K].
Definition: H2OI.H:56
scalar mug(scalar p, scalar T) const
Vapour viscosity [Pa s].
Definition: H2OI.H:74
scalar f(scalar, scalar T) const
Evaluate the function and return the result.
volScalarField & p
scalar f(scalar p, scalar T) const
API vapour mass diffusivity function using properties from.
scalar B(scalar p, scalar T) const
Second Virial Coefficient [m^3/kg].
Definition: H2OI.H:62
scalar pv(scalar p, scalar T) const
Vapour pressure [Pa].
Definition: H2OI.H:32