|
teqp 0.23.1
|
#include <simple_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, 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 |
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 |
| const double | m_R_JmolK |
Definition at line 136 of file simple_cubics.hpp.
|
inline |
Definition at line 167 of file simple_cubics.hpp.
|
inline |
Definition at line 243 of file simple_cubics.hpp.
|
inlineprotected |
Definition at line 154 of file simple_cubics.hpp.
|
inline |
Definition at line 218 of file simple_cubics.hpp.
|
inlineprotected |
Definition at line 148 of file simple_cubics.hpp.
|
inline |
Definition at line 234 of file simple_cubics.hpp.
|
inlineprotected |
Definition at line 151 of file simple_cubics.hpp.
|
inline |
Definition at line 181 of file simple_cubics.hpp.
|
inline |
Definition at line 180 of file simple_cubics.hpp.
|
inline |
Definition at line 213 of file simple_cubics.hpp.
|
inline |
Definition at line 179 of file simple_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 187 of file simple_cubics.hpp.
|
protected |
Definition at line 138 of file simple_cubics.hpp.
|
protected |
Definition at line 141 of file simple_cubics.hpp.
|
protected |
Definition at line 138 of file simple_cubics.hpp.
|
protected |
Definition at line 139 of file simple_cubics.hpp.
|
protected |
Definition at line 139 of file simple_cubics.hpp.
|
protected |
Definition at line 142 of file simple_cubics.hpp.
|
protected |
Definition at line 145 of file simple_cubics.hpp.
|
protected |
Definition at line 144 of file simple_cubics.hpp.
|
protected |
Definition at line 139 of file simple_cubics.hpp.
|
protected |
Definition at line 139 of file simple_cubics.hpp.
|
protected |
Definition at line 140 of file simple_cubics.hpp.