teqp 0.19.1
|
#include <cubics.hpp>
Public Member Functions | |
GenericCubic (NumType Delta1, NumType Delta2, NumType OmegaA, NumType OmegaB, int superanc_index, const std::valarray< NumType > &Tc_K, const std::valarray< NumType > &pc_Pa, const AlphaFunctions &alphas, const Eigen::ArrayXXd &kmat) | |
void | set_meta (const nlohmann::json &j) |
auto | get_meta () const |
auto | get_kmat () const |
auto | superanc_rhoLV (double T, std::optional< std::size_t > ifluid=std::nullopt) const |
template<class VecType > | |
auto | R (const VecType &) const |
Universal gas constant, exact number. | |
template<typename TType , typename CompType > | |
auto | get_a (TType T, const CompType &molefracs) const |
template<typename TType , typename CompType > | |
auto | get_b (TType, const CompType &molefracs) const |
template<typename TType , typename RhoType , typename MoleFracType > | |
auto | alphar (const TType &T, const RhoType &rho, const MoleFracType &molefrac) const |
Public Attributes | |
const NumType | Ru = get_R_gas<double>() |
Protected Member Functions | |
template<typename TType , typename IndexType > | |
auto | get_ai (TType, IndexType i) const |
template<typename TType , typename IndexType > | |
auto | get_bi (TType, IndexType i) const |
template<typename IndexType > | |
void | check_kmat (IndexType N) |
Protected Attributes | |
std::valarray< NumType > | ai |
std::valarray< NumType > | bi |
const NumType | Delta1 |
const NumType | Delta2 |
const NumType | OmegaA |
const NumType | OmegaB |
int | superanc_index |
const AlphaFunctions | alphas |
Eigen::ArrayXXd | kmat |
nlohmann::json | meta |
Definition at line 136 of file cubics.hpp.
|
inline |
Definition at line 166 of file cubics.hpp.
|
inline |
Definition at line 244 of file cubics.hpp.
|
inlineprotected |
Definition at line 153 of file cubics.hpp.
|
inline |
Definition at line 219 of file cubics.hpp.
|
inlineprotected |
Definition at line 147 of file cubics.hpp.
|
inline |
Definition at line 235 of file cubics.hpp.
|
inlineprotected |
Definition at line 150 of file cubics.hpp.
|
inline |
Definition at line 180 of file cubics.hpp.
|
inline |
Definition at line 179 of file cubics.hpp.
|
inline |
Universal gas constant, exact number.
Definition at line 214 of file cubics.hpp.
|
inline |
Definition at line 178 of file cubics.hpp.
|
inline |
Return a tuple of saturated liquid and vapor densities for the EOS given the temperature Uses the superancillary equations from Bell and Deiters:
T | Temperature |
ifluid | Must be provided in the case of mixtures |
Definition at line 186 of file cubics.hpp.
|
protected |
Definition at line 138 of file cubics.hpp.
|
protected |
Definition at line 141 of file cubics.hpp.
|
protected |
Definition at line 138 of file cubics.hpp.
|
protected |
Definition at line 139 of file cubics.hpp.
|
protected |
Definition at line 139 of file cubics.hpp.
|
protected |
Definition at line 142 of file cubics.hpp.
|
protected |
Definition at line 144 of file cubics.hpp.
|
protected |
Definition at line 139 of file cubics.hpp.
|
protected |
Definition at line 139 of file cubics.hpp.
const NumType teqp::GenericCubic< NumType, AlphaFunctions >::Ru = get_R_gas<double>() |
Definition at line 211 of file cubics.hpp.
|
protected |
Definition at line 140 of file cubics.hpp.