teqp 0.22.0
|
#include <multifluid_ecs_mutant.hpp>
Public Member Functions | |
template<typename ArrayLike > | |
Reducing_ECS (const ArrayLike &Tc, const ArrayLike &vc, const nlohmann::json &jj) | |
template<typename TTYPE , typename RHOTYPE , typename MoleFractions > | |
auto | get_tr (const TTYPE &temperature, const RHOTYPE &density, const MoleFractions &molefraction) const |
template<typename TTYPE , typename RHOTYPE , typename MoleFractions > | |
auto | get_dr (const TTYPE &temperature, const RHOTYPE &density, const MoleFractions &molefraction) const |
Public Attributes | |
Eigen::ArrayXd | Tc |
Eigen::ArrayXd | vc |
Implementation of the polynomial extended corresponding states (pECS) mixture model
The mixture model depends on coefficients for a temperature and density polynomial.
Only valid for binary mixtures.
The pECS reducing function follow the mathematical operations:
\(F(\bar x, Y, T, \rho ) = \sum_{i=1}^{N} x_{i}^{2} Y_{\mathrm{c},i} + \sum_{i=1}^{N-1}\sum_{j=i+1}^{N} 2 x_{i} x_{j} Y_{ij} f_{Y}(T,\rho).\)
\(f_{T,v} = \sum_{i}^{n} \sum_{j}^{m-i} c_{ij,T,v} \tau_{\mathrm{ECS}}^{i} \delta_{\mathrm{ECS}}^{j}\)
\(\tau_{\mathrm{ECS}} = \frac{Y_{T,ij}}{T}\)
\(\delta_{\mathrm{ECS}} = \rho Y_{v,ij}\)
\(Y_{T,ij} = \sqrt{T_{\mathrm{c},i} T_{\mathrm{c},j}}\)
\(Y_{v,ij} = \left( \frac{1}{\rho_{\mathrm{c},i}^{1/3}} + \frac{1}{\rho_{\mathrm{c},j}^{1/3}}\right)^{3}\)
\(c_{ij,T,v} = a_{ij,1} + a_{ij,2} x_{i} + a_{ij,3} x_{i}^{2}\).
Definition at line 21 of file multifluid_ecs_mutant.hpp.
|
inline |
Definition at line 43 of file multifluid_ecs_mutant.hpp.
|
inline |
Reducing function for density
Definition at line 106 of file multifluid_ecs_mutant.hpp.
|
inline |
Reducing function for temperature
Definition at line 83 of file multifluid_ecs_mutant.hpp.
Eigen::ArrayXd teqp::Reducing_ECS::Tc |
Critical temperature array of corresponding pure fluid contributions.
Definition at line 37 of file multifluid_ecs_mutant.hpp.
Eigen::ArrayXd teqp::Reducing_ECS::vc |
Critical volume array of corresponding pure fluid contributions.
Definition at line 41 of file multifluid_ecs_mutant.hpp.