H2OI.H
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration |
5  \\ / A nd | www.openfoam.com
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8  Copyright (C) 2011-2017 OpenFOAM Foundation
9 -------------------------------------------------------------------------------
10 License
11  This file is part of OpenFOAM.
12 
13  OpenFOAM is free software: you can redistribute it and/or modify it
14  under the terms of the GNU General Public License as published by
15  the Free Software Foundation, either version 3 of the License, or
16  (at your option) any later version.
17 
18  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
19  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21  for more details.
22 
23  You should have received a copy of the GNU General Public License
24  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
25 
26 \*---------------------------------------------------------------------------*/
27 
28 inline Foam::scalar Foam::H2O::rho(scalar p, scalar T) const
29 {
30  return rho_.f(p, T);
31 }
32 
33 
34 inline Foam::scalar Foam::H2O::pv(scalar p, scalar T) const
35 {
36  return pv_.f(p, T);
37 }
38 
39 
40 inline Foam::scalar Foam::H2O::hl(scalar p, scalar T) const
41 {
42  return hl_.f(p, T);
43 }
44 
45 
46 inline Foam::scalar Foam::H2O::Cp(scalar p, scalar T) const
47 {
48  return Cp_.f(p, T);
49 }
50 
51 
52 inline Foam::scalar Foam::H2O::h(scalar p, scalar T) const
53 {
54  return h_.f(p, T);
55 }
56 
57 
58 inline Foam::scalar Foam::H2O::Cpg(scalar p, scalar T) const
59 {
60  return Cpg_.f(p, T);
61 }
62 
63 
64 inline Foam::scalar Foam::H2O::B(scalar p, scalar T) const
65 {
66  return B_.f(p, T);
67 }
68 
69 
70 inline Foam::scalar Foam::H2O::mu(scalar p, scalar T) const
71 {
72  return mu_.f(p, T);
73 }
74 
75 
76 inline Foam::scalar Foam::H2O::mug(scalar p, scalar T) const
77 {
78  return mug_.f(p, T);
79 }
80 
81 
82 inline Foam::scalar Foam::H2O::kappa(scalar p, scalar T) const
83 {
84  return kappa_.f(p, T);
85 }
86 
87 
88 inline Foam::scalar Foam::H2O::kappag(scalar p, scalar T) const
89 {
90  return kappag_.f(p, T);
91 }
92 
93 
94 inline Foam::scalar Foam::H2O::sigma(scalar p, scalar T) const
95 {
96  return sigma_.f(p, T);
97 }
98 
99 
100 inline Foam::scalar Foam::H2O::D(scalar p, scalar T) const
101 {
102  return D_.f(p, T);
103 }
104 
105 
106 inline Foam::scalar Foam::H2O::D(scalar p, scalar T, scalar Wb) const
107 {
108  return D_.f(p, T, Wb);
109 }
110 
111 
112 // ************************************************************************* //
p
volScalarField & p
Definition: createFieldRefs.H:8
Foam::H2O::B
scalar B(scalar p, scalar T) const
Second Virial Coefficient [m^3/kg].
Definition: H2OI.H:64
Foam::H2O::Cp
scalar Cp(scalar p, scalar T) const
Liquid heat capacity [J/(kg K)].
Definition: H2OI.H:46
Foam::H2O::kappag
scalar kappag(scalar p, scalar T) const
Vapour thermal conductivity [W/(m K)].
Definition: H2OI.H:88
Foam::NSRDSfunc5::f
scalar f(scalar, scalar T) const
Evaluate the function and return the result.
Definition: NSRDSfunc5.H:103
Foam::H2O::pv
scalar pv(scalar p, scalar T) const
Vapour pressure [Pa].
Definition: H2OI.H:34
Foam::H2O::rho
scalar rho(scalar p, scalar T) const
Liquid density [kg/m^3].
Definition: H2OI.H:28
Foam::T
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
Definition: FieldFieldFunctions.C:58
T
const volScalarField & T
Definition: createFieldRefs.H:2
Foam::H2O::Cpg
scalar Cpg(scalar p, scalar T) const
Ideal gas heat capacity [J/(kg K)].
Definition: H2OI.H:58
Foam::H2O::h
scalar h(scalar p, scalar T) const
Liquid Enthalpy [J/(kg)].
Definition: H2OI.H:52
Foam::H2O::kappa
scalar kappa(scalar p, scalar T) const
Liquid thermal conductivity [W/(m K)].
Definition: H2OI.H:82
Foam::H2O::mu
scalar mu(scalar p, scalar T) const
Liquid viscosity [Pa s].
Definition: H2OI.H:70
Foam::H2O::D
scalar D(scalar p, scalar T) const
Vapour diffusivity [m2/s].
Definition: H2OI.H:100
Foam::H2O::hl
scalar hl(scalar p, scalar T) const
Heat of vapourisation [J/kg].
Definition: H2OI.H:40
Foam::H2O::mug
scalar mug(scalar p, scalar T) const
Vapour viscosity [Pa s].
Definition: H2OI.H:76
Foam::H2O::sigma
scalar sigma(scalar p, scalar T) const
Surface tension [N/m].
Definition: H2OI.H:94