CoolProp
6.6.1dev
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
45
void
set_mixture_binary_pair_data
(
const
std::string& CAS1,
const
std::string& CAS2,
const
std::string& param,
const
double
val);
46
53
void
apply_simple_mixing_rule
(
const
std::string& identifier1,
const
std::string& identifier2,
const
std::string& rule);
54
55
class
MixtureParameters
56
{
57
public
:
58
static
void
set_mixture_parameters
(
HelmholtzEOSMixtureBackend
& HEOS);
59
};
60
66
DepartureFunction
*
get_departure_function
(
const
std::string& Name);
67
69
struct
REFPROP_binary_element
70
{
71
std::string
CAS1
,
CAS2
,
model
;
72
double
betaT
,
gammaT
,
betaV
,
gammaV
,
Fij
;
73
std::vector<std::string>
comments
;
74
};
76
struct
REFPROP_departure_function
77
{
78
short
Npower
,
Nspecial
,
Nterms_power
,
Nterms_special
;
79
std::string
model
;
80
std::vector<double>
a
,
t
,
d
,
e
,
eta
,
epsilon
,
beta
,
gamma
;
81
std::vector<std::string>
comments
;
82
};
83
92
void
set_departure_functions
(
const
std::string& string_data);
93
99
void
set_interaction_parameters
(
const
std::string& string_data);
100
101
}
/* namespace CoolProp */
102
#endif
Generated on Fri Oct 4 2024 09:06:32 for CoolProp by
1.9.1