CoolProp
8.0.0
An open-source fluid property and humid air property database
src
Backends
Helmholtz
MixtureParameters.h
Go to the documentation of this file.
1
#ifndef MIXTURE_PARAMETERS_H
2
#define MIXTURE_PARAMETERS_H
3
4
#include "
HelmholtzEOSMixtureBackend.h
"
5
6
namespace
CoolProp
{
7
12
std::string
get_csv_mixture_binary_pairs
();
13
17
bool
is_predefined_mixture
(
const
std::string& name,
Dictionary
& dict);
18
22
std::string
get_csv_predefined_mixtures
();
23
29
void
set_predefined_mixtures
(
const
std::string& string_data);
30
35
std::string
get_mixture_binary_pair_data
(
const
std::string& CAS1,
const
std::string& CAS2,
const
std::string& param);
36
44
void
set_mixture_binary_pair_data
(
const
std::string& CAS1,
const
std::string& CAS2,
const
std::string& param,
const
double
val);
45
52
void
apply_simple_mixing_rule
(
const
std::string& identifier1,
const
std::string& identifier2,
const
std::string& rule);
53
54
class
MixtureParameters
55
{
56
public
:
57
static
void
set_mixture_parameters
(
HelmholtzEOSMixtureBackend
& HEOS);
58
};
59
65
DepartureFunction
*
get_departure_function
(
const
std::string& Name);
66
68
struct
REFPROP_binary_element
69
{
70
std::string
CAS1
,
CAS2
,
model
;
71
double
betaT
,
gammaT
,
betaV
,
gammaV
,
Fij
;
72
std::vector<std::string>
comments
;
73
};
75
struct
REFPROP_departure_function
76
{
77
short
Npower
= 0,
Nspecial
= 0,
Nterms_power
= 0,
Nterms_special
= 0;
78
std::string
model
;
79
std::vector<double>
a
,
t
,
d
,
e
,
eta
,
epsilon
,
beta
,
gamma
;
80
std::vector<std::string>
comments
;
81
};
82
91
void
set_departure_functions
(
const
std::string& string_data);
92
98
void
set_interaction_parameters
(
const
std::string& string_data);
99
100
}
/* namespace CoolProp */
101
#endif
Generated by
1.9.4