#include <simple_cubics.hpp>
|
| | 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, const double R_JmolK) |
| 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 |
| 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 |
|
| 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) |
template<typename NumType, typename AlphaFunctions>
class teqp::GenericCubic< NumType, AlphaFunctions >
Definition at line 136 of file simple_cubics.hpp.
◆ GenericCubic()
template<typename NumType, typename AlphaFunctions>
| teqp::GenericCubic< NumType, AlphaFunctions >::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, |
|
|
const double | R_JmolK ) |
|
inline |
◆ alphar()
template<typename NumType, typename AlphaFunctions>
template<typename TType, typename RhoType, typename MoleFracType>
| auto teqp::GenericCubic< NumType, AlphaFunctions >::alphar |
( |
const TType & | T, |
|
|
const RhoType & | rho, |
|
|
const MoleFracType & | molefrac ) const |
|
inline |
◆ check_kmat()
template<typename NumType, typename AlphaFunctions>
template<typename IndexType>
◆ get_a()
template<typename NumType, typename AlphaFunctions>
template<typename TType, typename CompType>
| auto teqp::GenericCubic< NumType, AlphaFunctions >::get_a |
( |
TType | T, |
|
|
const CompType & | molefracs ) const |
|
inline |
◆ get_ai()
template<typename NumType, typename AlphaFunctions>
template<typename TType, typename IndexType>
◆ get_b()
template<typename NumType, typename AlphaFunctions>
template<typename TType, typename CompType>
| auto teqp::GenericCubic< NumType, AlphaFunctions >::get_b |
( |
TType | , |
|
|
const CompType & | molefracs ) const |
|
inline |
◆ get_bi()
template<typename NumType, typename AlphaFunctions>
template<typename TType, typename IndexType>
◆ get_kmat()
template<typename NumType, typename AlphaFunctions>
◆ get_meta()
template<typename NumType, typename AlphaFunctions>
◆ R()
template<typename NumType, typename AlphaFunctions>
template<class VecType>
◆ set_meta()
template<typename NumType, typename AlphaFunctions>
◆ superanc_rhoLV()
template<typename NumType, typename AlphaFunctions>
| auto teqp::GenericCubic< NumType, AlphaFunctions >::superanc_rhoLV |
( |
double | T, |
|
|
std::optional< std::size_t > | ifluid = std::nullopt ) const |
|
inline |
Return a tuple of saturated liquid and vapor densities for the EOS given the temperature Uses the superancillary equations from Bell and Deiters:
- Parameters
-
| T | Temperature |
| ifluid | Must be provided in the case of mixtures |
Definition at line 187 of file simple_cubics.hpp.
◆ ai
template<typename NumType, typename AlphaFunctions>
◆ alphas
template<typename NumType, typename AlphaFunctions>
◆ bi
template<typename NumType, typename AlphaFunctions>
◆ Delta1
template<typename NumType, typename AlphaFunctions>
◆ Delta2
template<typename NumType, typename AlphaFunctions>
◆ kmat
template<typename NumType, typename AlphaFunctions>
◆ m_R_JmolK
template<typename NumType, typename AlphaFunctions>
◆ meta
template<typename NumType, typename AlphaFunctions>
◆ OmegaA
template<typename NumType, typename AlphaFunctions>
◆ OmegaB
template<typename NumType, typename AlphaFunctions>
◆ superanc_index
template<typename NumType, typename AlphaFunctions>
The documentation for this class was generated from the following file: