N2I.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 | Copyright (C) 2011 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::N2::rho(scalar p, scalar T) const
27 {
28  return rho_.f(p, T);
29 }
30 
31 
32 inline Foam::scalar Foam::N2::pv(scalar p, scalar T) const
33 {
34  return pv_.f(p, T);
35 }
36 
37 
38 inline Foam::scalar Foam::N2::hl(scalar p, scalar T) const
39 {
40  return hl_.f(p, T);
41 }
42 
43 
44 inline Foam::scalar Foam::N2::Cp(scalar p, scalar T) const
45 {
46  return Cp_.f(p, T);
47 }
48 
49 
50 inline Foam::scalar Foam::N2::h(scalar p, scalar T) const
51 {
52  return h_.f(p, T);
53 }
54 
55 
56 inline Foam::scalar Foam::N2::Cpg(scalar p, scalar T) const
57 {
58  return Cpg_.f(p, T);
59 }
60 
61 
62 inline Foam::scalar Foam::N2::B(scalar p, scalar T) const
63 {
64  return B_.f(p, T);
65 }
66 
67 
68 inline Foam::scalar Foam::N2::mu(scalar p, scalar T) const
69 {
70  return mu_.f(p, T);
71 }
72 
73 
74 inline Foam::scalar Foam::N2::mug(scalar p, scalar T) const
75 {
76  return mug_.f(p, T);
77 }
78 
79 
80 inline Foam::scalar Foam::N2::K(scalar p, scalar T) const
81 {
82  return K_.f(p, T);
83 }
84 
85 
86 inline Foam::scalar Foam::N2::Kg(scalar p, scalar T) const
87 {
88  return Kg_.f(p, T);
89 }
90 
91 
92 inline Foam::scalar Foam::N2::sigma(scalar p, scalar T) const
93 {
94  return sigma_.f(p, T);
95 }
96 
97 
98 inline Foam::scalar Foam::N2::D(scalar p, scalar T) const
99 {
100  return D_.f(p, T);
101 }
102 
103 
104 inline Foam::scalar Foam::N2::D(scalar p, scalar T, scalar Wb) const
105 {
106  return D_.f(p, T, Wb);
107 }
108 
109 
110 // ************************************************************************* //
scalar f(scalar, scalar T) const
Evaluate the function and return the result.
Definition: NSRDSfunc4.H:105
scalar hl(scalar p, scalar T) const
Heat of vapourisation [J/kg].
Definition: N2I.H:38
scalar h(scalar p, scalar T) const
Liquid Enthalpy [J/(kg)].
Definition: N2I.H:50
scalar K(scalar p, scalar T) const
Liquid thermal conductivity [W/(m K)].
Definition: N2I.H:80
scalar rho(scalar p, scalar T) const
Liquid density [kg/m^3].
Definition: N2I.H:26
scalar mu(scalar p, scalar T) const
Liquid viscosity [Pa s].
Definition: N2I.H:68
scalar f(scalar, scalar T) const
Evaluate the function and return the result.
Definition: NSRDSfunc6.H:106
scalar f(scalar, scalar T) const
Evaluate the function and return the result.
Definition: NSRDSfunc7.H:105
scalar Cp(scalar p, scalar T) const
Liquid heat capacity [J/(kg K)].
Definition: N2I.H:44
scalar f(scalar, scalar T) const
Evaluate the function and return the result.
Definition: NSRDSfunc0.H:106
scalar f(scalar, scalar T) const
Evaluate the function and return the result.
Definition: NSRDSfunc5.H:104
scalar f(scalar, scalar T) const
Evaluate the function and return the result.
Definition: NSRDSfunc2.H:104
scalar Kg(scalar p, scalar T) const
Vapour thermal conductivity [W/(m K)].
Definition: N2I.H:86
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
const volScalarField & T
scalar pv(scalar p, scalar T) const
Vapour pressure [Pa].
Definition: N2I.H:32
scalar sigma(scalar p, scalar T) const
Surface tension [N/m].
Definition: N2I.H:92
scalar B(scalar p, scalar T) const
Second Virial Coefficient [m^3/kg].
Definition: N2I.H:62
scalar f(scalar, scalar T) const
Evaluate the function and return the result.
Definition: NSRDSfunc1.H:105
volScalarField & p
scalar f(scalar p, scalar T) const
API vapour mass diffusivity function using properties from.
scalar Cpg(scalar p, scalar T) const
Ideal gas heat capacity [J/(kg K)].
Definition: N2I.H:56
scalar D(scalar p, scalar T) const
Vapour diffussivity [m2/s].
Definition: N2I.H:98
scalar mug(scalar p, scalar T) const
Vapour viscosity [Pa s].
Definition: N2I.H:74