All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
liquidI.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) 2019 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::liquid::rho(scalar p, scalar T) const
27 {
28  return rho_->f(p, T);
29 }
30 
31 
32 inline Foam::scalar Foam::liquid::pv(scalar p, scalar T) const
33 {
34  return pv_->f(p, T);
35 }
36 
37 
38 inline Foam::scalar Foam::liquid::hl(scalar p, scalar T) const
39 {
40  return hl_->f(p, T);
41 }
42 
43 
44 inline Foam::scalar Foam::liquid::Cp(scalar p, scalar T) const
45 {
46  return Cp_->f(p, T);
47 }
48 
49 
50 inline Foam::scalar Foam::liquid::h(scalar p, scalar T) const
51 {
52  return h_->f(p, T);
53 }
54 
55 
56 inline Foam::scalar Foam::liquid::Cpg(scalar p, scalar T) const
57 {
58  return Cpg_->f(p, T);
59 }
60 
61 
62 inline Foam::scalar Foam::liquid::B(scalar p, scalar T) const
63 {
64  return B_->f(p, T);
65 }
66 
67 
68 inline Foam::scalar Foam::liquid::mu(scalar p, scalar T) const
69 {
70  return mu_->f(p, T);
71 }
72 
73 
74 inline Foam::scalar Foam::liquid::mug(scalar p, scalar T) const
75 {
76  return mug_->f(p, T);
77 }
78 
79 
80 inline Foam::scalar Foam::liquid::kappa(scalar p, scalar T) const
81 {
82  return kappa_->f(p, T);
83 }
84 
85 
86 inline Foam::scalar Foam::liquid::kappag(scalar p, scalar T) const
87 {
88  return kappag_->f(p, T);
89 }
90 
91 
92 inline Foam::scalar Foam::liquid::sigma(scalar p, scalar T) const
93 {
94  return sigma_->f(p, T);
95 }
96 
97 
98 inline Foam::scalar Foam::liquid::D(scalar p, scalar T) const
99 {
100  return D_->f(p, T);
101 }
102 
103 
104 inline Foam::scalar Foam::liquid::D(scalar p, scalar T, scalar Wb) const
105 {
106  // Currently ignoring the Wb argument
107  return D_->f(p, T);
108 }
109 
110 
111 // ************************************************************************* //
scalar kappag(scalar p, scalar T) const
Vapour thermal conductivity [W/m/K].
Definition: liquidI.H:86
scalar hl(scalar p, scalar T) const
Heat of vapourisation [J/kg].
Definition: liquidI.H:38
scalar mu(scalar p, scalar T) const
Liquid viscosity [Pa s].
Definition: liquidI.H:68
scalar Cpg(scalar p, scalar T) const
Ideal gas heat capacity [J/kg/K].
Definition: liquidI.H:56
scalar B(scalar p, scalar T) const
Second Virial Coefficient [m^3/kg].
Definition: liquidI.H:62
scalar rho(scalar p, scalar T) const
Liquid density [kg/m^3].
Definition: liquidI.H:26
scalar Cp(scalar p, scalar T) const
Liquid heat capacity [J/kg/K].
Definition: liquidI.H:44
scalar D(scalar p, scalar T) const
Vapour diffusivity [m^2/s].
Definition: liquidI.H:98
scalar kappa(scalar p, scalar T) const
Liquid thermal conductivity [W/m/K].
Definition: liquidI.H:80
scalar h(scalar p, scalar T) const
Liquid enthalpy [J/kg].
Definition: liquidI.H:50
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
const volScalarField & T
scalar mug(scalar p, scalar T) const
Vapour viscosity [Pa s].
Definition: liquidI.H:74
scalar pv(scalar p, scalar T) const
Vapour pressure [Pa].
Definition: liquidI.H:32
volScalarField & p
scalar sigma(scalar p, scalar T) const
Surface tension [N/m].
Definition: liquidI.H:92