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