CoolProp
4.2.5
An open-source fluid property and humid air property database
|
#include <Mixtures.h>
Public Member Functions | |
GERG2008ReducingFunction (std::vector< Fluid * > pFluids, STLMatrix beta_v, STLMatrix gamma_v, STLMatrix beta_T, STLMatrix gamma_T) | |
GERG2008ReducingFunction (std::vector< Fluid * > pFluids) | |
Default destructor | ~GERG2008ReducingFunction () |
The reduced temperature double | Tr (const std::vector< double > &x) |
The reduced temperature. More... | |
The derivative of reduced temperature with respect to component i mole fraction double | dTrdxi__constxj (const std::vector< double > &x, int i) |
The derivative of reduced temperature with respect to component i mole fraction. More... | |
The molar reducing density double | rhorbar (const std::vector< double > &x) |
The molar reducing density. More... | |
Derivative of the molar reducing density with respect to component i mole fraction double | drhorbardxi__constxj (const std::vector< double > &x, int i) |
Derivative of the molar reducing density with respect to component i mole fraction. More... | |
double | dvrbardxi__constxj (const std::vector< double > &x, int i) |
double | d2vrbardxi2__constxj (const std::vector< double > &x, int i) |
double | d2rhorbardxi2__constxj (const std::vector< double > &x, int i) |
double | d2vrbardxidxj (const std::vector< double > &x, int i, int j) |
double | d2rhorbardxidxj (const std::vector< double > &x, int i, int j) |
double | d2Trdxi2__constxj (const std::vector< double > &x, int i) |
double | d2Trdxidxj (const std::vector< double > &x, int i, int j) |
Set the coefficients based on reducing parameters loaded from JSON void | set_coeffs_from_map (int i, int j, std::map< std::string, double >) |
Set the coefficients based on reducing parameters loaded from JSON. More... | |
double | c_Y_ij (int i, int j, std::vector< std::vector< double > > *beta, std::vector< std::vector< double > > *gamma, std::vector< std::vector< double > > *Y_c) |
double | c_Y_ji (int j, int i, std::vector< std::vector< double > > *beta, std::vector< std::vector< double > > *gamma, std::vector< std::vector< double > > *Y_c) |
double | f_Y_ij (const std::vector< double > &x, int i, int j, std::vector< std::vector< double > > *beta) |
double | dfYkidxi__constxk (const std::vector< double > &x, int k, int i, std::vector< std::vector< double > > *beta) |
double | dfYikdxi__constxk (const std::vector< double > &x, int i, int k, std::vector< std::vector< double > > *beta) |
double | d2fYkidxi2__constxk (const std::vector< double > &x, int k, int i, std::vector< std::vector< double > > *beta) |
double | d2fYikdxi2__constxk (const std::vector< double > &x, int i, int k, std::vector< std::vector< double > > *beta) |
double | d2fYijdxidxj (const std::vector< double > &x, int i, int k, std::vector< std::vector< double > > *beta) |
Public Member Functions inherited from ReducingFunction | |
ReducingFunction () | |
virtual | ~ReducingFunction () |
double | d_ndTrdni_dxj__constxi (const std::vector< double > &x, int i, int j) |
double | d_ndrhorbardni_dxj__constxi (const std::vector< double > &x, int i, int j) |
double | ndrhorbardni__constnj (const std::vector< double > &x, int i) |
double | ndTrdni__constnj (const std::vector< double > &x, int i) |
Protected Attributes | |
STLMatrix | v_c |
STLMatrix | T_c |
STLMatrix | beta_v |
\( \beta_{v,ij} \) from GERG-2008 More... | |
STLMatrix | gamma_v |
\( \gamma_{v,ij} \) from GERG-2008 More... | |
STLMatrix | beta_T |
\( \beta_{T,ij} \) from GERG-2008 More... | |
STLMatrix | gamma_T |
\( \gamma_{T,ij} \) from GERG-2008 More... | |
std::vector< Fluid * > | pFluids |
List of pointers to fluids. More... | |
Protected Attributes inherited from ReducingFunction | |
unsigned int | N |
The Reducing parameter model used by the GERG-2008 formulation to yield the reducing parameters \( \bar\rho_r \) and \( T_r \) and derivatives thereof
Definition at line 62 of file Mixtures.h.
|
inline |
Definition at line 73 of file Mixtures.h.
|
inline |
Definition at line 82 of file Mixtures.h.
|
inline |
Definition at line 103 of file Mixtures.h.
double GERG2008ReducingFunction::c_Y_ij | ( | int | i, |
int | j, | ||
std::vector< std::vector< double > > * | beta, | ||
std::vector< std::vector< double > > * | gamma, | ||
std::vector< std::vector< double > > * | Y_c | ||
) |
Definition at line 1716 of file Mixtures.cpp.
double GERG2008ReducingFunction::c_Y_ji | ( | int | j, |
int | i, | ||
std::vector< std::vector< double > > * | beta, | ||
std::vector< std::vector< double > > * | gamma, | ||
std::vector< std::vector< double > > * | Y_c | ||
) |
Definition at line 1720 of file Mixtures.cpp.
double GERG2008ReducingFunction::d2fYijdxidxj | ( | const std::vector< double > & | x, |
int | i, | ||
int | k, | ||
std::vector< std::vector< double > > * | beta | ||
) |
Definition at line 1739 of file Mixtures.cpp.
double GERG2008ReducingFunction::d2fYikdxi2__constxk | ( | const std::vector< double > & | x, |
int | i, | ||
int | k, | ||
std::vector< std::vector< double > > * | beta | ||
) |
Definition at line 1729 of file Mixtures.cpp.
double GERG2008ReducingFunction::d2fYkidxi2__constxk | ( | const std::vector< double > & | x, |
int | k, | ||
int | i, | ||
std::vector< std::vector< double > > * | beta | ||
) |
Definition at line 1734 of file Mixtures.cpp.
|
virtual |
Implements ReducingFunction.
Definition at line 1675 of file Mixtures.cpp.
|
virtual |
Implements ReducingFunction.
Definition at line 1681 of file Mixtures.cpp.
|
virtual |
Implements ReducingFunction.
Definition at line 1603 of file Mixtures.cpp.
|
virtual |
Implements ReducingFunction.
Definition at line 1617 of file Mixtures.cpp.
double GERG2008ReducingFunction::d2vrbardxi2__constxj | ( | const std::vector< double > & | x, |
int | i | ||
) |
Definition at line 1660 of file Mixtures.cpp.
double GERG2008ReducingFunction::d2vrbardxidxj | ( | const std::vector< double > & | x, |
int | i, | ||
int | j | ||
) |
Definition at line 1645 of file Mixtures.cpp.
double GERG2008ReducingFunction::dfYikdxi__constxk | ( | const std::vector< double > & | x, |
int | i, | ||
int | k, | ||
std::vector< std::vector< double > > * | beta | ||
) |
Definition at line 1711 of file Mixtures.cpp.
double GERG2008ReducingFunction::dfYkidxi__constxk | ( | const std::vector< double > & | x, |
int | k, | ||
int | i, | ||
std::vector< std::vector< double > > * | beta | ||
) |
Definition at line 1706 of file Mixtures.cpp.
|
virtual |
Derivative of the molar reducing density with respect to component i mole fraction.
Implements ReducingFunction.
Definition at line 1656 of file Mixtures.cpp.
|
virtual |
The derivative of reduced temperature with respect to component i mole fraction.
Implements ReducingFunction.
Definition at line 1588 of file Mixtures.cpp.
double GERG2008ReducingFunction::dvrbardxi__constxj | ( | const std::vector< double > & | x, |
int | i | ||
) |
Definition at line 1629 of file Mixtures.cpp.
double GERG2008ReducingFunction::f_Y_ij | ( | const std::vector< double > & | x, |
int | i, | ||
int | j, | ||
std::vector< std::vector< double > > * | beta | ||
) |
Definition at line 1724 of file Mixtures.cpp.
|
virtual |
The molar reducing density.
Implements ReducingFunction.
Definition at line 1689 of file Mixtures.cpp.
|
virtual |
Set the coefficients based on reducing parameters loaded from JSON.
Implements ReducingFunction.
Reimplemented in LemmonAirHFCReducingFunction.
Definition at line 1746 of file Mixtures.cpp.
|
virtual |
|
protected |
\( \beta_{T,ij} \) from GERG-2008
Definition at line 69 of file Mixtures.h.
|
protected |
\( \beta_{v,ij} \) from GERG-2008
Definition at line 67 of file Mixtures.h.
|
protected |
\( \gamma_{T,ij} \) from GERG-2008
Definition at line 70 of file Mixtures.h.
|
protected |
\( \gamma_{v,ij} \) from GERG-2008
Definition at line 68 of file Mixtures.h.
|
protected |
List of pointers to fluids.
Definition at line 71 of file Mixtures.h.
|
protected |
Definition at line 66 of file Mixtures.h.
|
protected |
Definition at line 65 of file Mixtures.h.