Loading [MathJax]/extensions/TeX/AMSsymbols.js
CoolProp
6.7.0
An open-source fluid property and humid air property database
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
p
r
s
t
u
v
w
x
Variables
Typedefs
Enumerations
Enumerator
b
d
f
g
h
i
n
p
q
r
s
t
v
x
y
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
Enumerator
c
e
i
m
n
o
p
r
s
t
v
z
Related Functions
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
p
q
r
s
t
u
v
Variables
Typedefs
b
c
i
m
t
u
v
Enumerations
Enumerator
c
m
t
Macros
_
a
c
d
e
f
i
l
m
n
p
r
t
u
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
include
PCSAFTFluid.h
Go to the documentation of this file.
1
#ifndef PCSAFTFLUID_H
2
#define PCSAFTFLUID_H
3
4
#include <string>
5
#include <vector>
6
#include <map>
7
8
#include "
rapidjson_include.h
"
9
10
namespace
CoolProp
{
11
12
struct
PCSAFTValues
13
{
14
CoolPropDbl
m
;
15
CoolPropDbl
sigma
;
16
CoolPropDbl
u
;
17
CoolPropDbl
uAB
;
18
CoolPropDbl
volA
;
19
std::vector<std::string>
assocScheme
;
20
CoolPropDbl
dipm
;
21
CoolPropDbl
dipnum
;
22
CoolPropDbl
z
;
23
};
24
25
class
PCSAFTFluid
26
{
27
protected
:
28
std::string
name
;
// name of fluid
29
std::string
CAS
;
// CAS number
30
CoolPropDbl
molemass
;
31
std::vector<std::string>
aliases
;
32
PCSAFTValues
params
;
33
34
public
:
35
PCSAFTFluid
(){};
36
PCSAFTFluid
(rapidjson::Value::ValueIterator itr);
37
~PCSAFTFluid
(){};
38
39
std::string
getName
()
const
{
40
return
name
;
41
}
42
std::string
getCAS
()
const
{
43
return
CAS
;
44
}
45
CoolPropDbl
molar_mass
()
const
{
46
return
molemass
;
47
}
48
std::vector<std::string>
getAliases
()
const
{
49
return
aliases
;
50
}
51
CoolPropDbl
getM
()
const
{
52
return
params
.
m
;
53
}
54
CoolPropDbl
getSigma
()
const
{
55
return
params
.
sigma
;
56
}
57
CoolPropDbl
getU
()
const
{
58
return
params
.
u
;
59
}
60
CoolPropDbl
getUAB
()
const
{
61
return
params
.
uAB
;
62
}
63
CoolPropDbl
getVolA
()
const
{
64
return
params
.
volA
;
65
}
66
std::vector<std::string>
getAssocScheme
()
const
{
67
return
params
.
assocScheme
;
68
}
69
CoolPropDbl
getDipm
()
const
{
70
return
params
.
dipm
;
71
}
72
CoolPropDbl
getDipnum
()
const
{
73
return
params
.
dipnum
;
74
}
75
CoolPropDbl
getZ
()
const
{
76
return
params
.
z
;
77
}
78
79
void
calc_water_sigma
(
double
t);
80
};
81
82
}
/* namespace CoolProp */
83
#endif
/* PCSAFTFLUID_H_ */
Generated on Sat Feb 22 2025 01:20:23 for CoolProp by
1.9.1