C3H6OI.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-2021 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::C3H6O::rho(scalar p, scalar T) const
27 {
28  return rho_.value(T);
29 }
30 
31 
32 inline Foam::scalar Foam::C3H6O::pv(scalar p, scalar T) const
33 {
34  return pv_.value(T);
35 }
36 
37 
38 inline Foam::scalar Foam::C3H6O::hl(scalar p, scalar T) const
39 {
40  return hl_.value(T);
41 }
42 
43 
44 inline Foam::scalar Foam::C3H6O::Cp(scalar p, scalar T) const
45 {
46  return Cp_.value(T);
47 }
48 
49 
50 inline Foam::scalar Foam::C3H6O::Hs(scalar p, scalar T) const
51 {
52  return Ha(p, T) - Hf();
53 }
54 
55 
56 inline Foam::scalar Foam::C3H6O::Hf() const
57 {
58  return Hf_;
59 }
60 
61 
62 inline Foam::scalar Foam::C3H6O::Ha(scalar p, scalar T) const
63 {
64  return h_.value(T);
65 }
66 
67 
68 inline Foam::scalar Foam::C3H6O::Cpg(scalar p, scalar T) const
69 {
70  return Cpg_.value(T);
71 }
72 
73 
74 inline Foam::scalar Foam::C3H6O::B(scalar p, scalar T) const
75 {
76  return B_.value(T);
77 }
78 
79 
80 inline Foam::scalar Foam::C3H6O::mu(scalar p, scalar T) const
81 {
82  return mu_.value(T);
83 }
84 
85 
86 inline Foam::scalar Foam::C3H6O::mug(scalar p, scalar T) const
87 {
88  return mug_.value(T);
89 }
90 
91 
92 inline Foam::scalar Foam::C3H6O::kappa(scalar p, scalar T) const
93 {
94  return kappa_.value(T);
95 }
96 
97 
98 inline Foam::scalar Foam::C3H6O::kappag(scalar p, scalar T) const
99 {
100  return kappag_.value(T);
101 }
102 
103 
104 inline Foam::scalar Foam::C3H6O::sigma(scalar p, scalar T) const
105 {
106  return sigma_.value(T);
107 }
108 
109 
110 inline Foam::scalar Foam::C3H6O::D(scalar p, scalar T) const
111 {
112  return D_.value(p, T);
113 }
114 
115 
116 inline Foam::scalar Foam::C3H6O::D(scalar p, scalar T, scalar Wb) const
117 {
118  return D_.value(p, T, Wb);
119 }
120 
121 
122 // ************************************************************************* //
virtual scalar value(scalar p, scalar T) const
API vapour mass diffusivity function using properties from.
Definition: APIdiffCoef.H:105
virtual scalar value(scalar T) const
Evaluate the function and return the result.
Definition: NSRDS5.H:114
scalar kappa(scalar p, scalar T) const
Liquid thermal conductivity [W/m/K].
Definition: C3H6OI.H:92
scalar Ha(scalar p, scalar T) const
Liquid absolute enthalpy [J/kg].
Definition: C3H6OI.H:62
scalar sigma(scalar p, scalar T) const
Surface tension [N/m].
Definition: C3H6OI.H:104
scalar B(scalar p, scalar T) const
Second Virial Coefficient [m^3/kg].
Definition: C3H6OI.H:74
scalar Hs(scalar p, scalar T) const
Liquid sensible enthalpy [J/kg].
Definition: C3H6OI.H:50
scalar D(scalar p, scalar T) const
Vapour diffusivity [m^2/s].
Definition: C3H6OI.H:110
scalar kappag(scalar p, scalar T) const
Vapour thermal conductivity [W/m/K].
Definition: C3H6OI.H:98
scalar pv(scalar p, scalar T) const
Vapour pressure [Pa].
Definition: C3H6OI.H:32
scalar Cpg(scalar p, scalar T) const
Ideal gas heat capacity [J/kg/K].
Definition: C3H6OI.H:68
scalar mu(scalar p, scalar T) const
Liquid viscosity [Pa s].
Definition: C3H6OI.H:80
virtual scalar value(scalar T) const
Evaluate the function and return the result.
Definition: NSRDS0.H:116
virtual scalar value(scalar T) const
Evaluate the function and return the result.
Definition: NSRDS1.H:115
scalar rho(scalar p, scalar T) const
Liquid density [kg/m^3].
Definition: C3H6OI.H:26
virtual scalar value(scalar T) const
Evaluate the function and return the result.
Definition: NSRDS6.H:116
scalar Cp(scalar p, scalar T) const
Liquid heat capacity [J/kg/K].
Definition: C3H6OI.H:44
virtual scalar value(scalar T) const
Evaluate the function and return the result.
Definition: NSRDS7.H:115
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: C3H6OI.H:86
scalar hl(scalar p, scalar T) const
Heat of vapourisation [J/kg].
Definition: C3H6OI.H:38
scalar Hf() const
Liquid heat of formation [J/kg].
Definition: C3H6OI.H:56
virtual scalar value(scalar T) const
Evaluate the function and return the result.
Definition: NSRDS2.H:114
volScalarField & p
scalar value(scalar T) const
Evaluate the function and return the result.
Definition: NSRDS4.H:115