teqp 0.22.0
|
Ideal-gas Helmholtz energy container. More...
#include <ideal_eosterms.hpp>
Public Member Functions | |
IdealHelmholtz (const nlohmann::json &jpures) | |
template<typename TType , typename RhoType , typename MoleFrac > | |
auto | alphaig (const TType &T, const RhoType &rho, const MoleFrac &molefrac) const |
template<typename TType , typename RhoType , typename MoleFrac > | |
auto | alphar (const TType &T, const RhoType &rho, const MoleFrac &molefrac) const |
template<typename MoleFrac > | |
auto | R (const MoleFrac &) const |
Public Attributes | |
std::vector< PureIdealHelmholtz > | pures |
Ideal-gas Helmholtz energy container.
\[ \alpha^{\rm ig} = \sum_i x_i[\alpha^{\rm ig}_{oi}(T,\rho) + x_i] \]
where \(x_i\) are mole fractions
Definition at line 310 of file ideal_eosterms.hpp.
|
inline |
Definition at line 316 of file ideal_eosterms.hpp.
|
inline |
Definition at line 326 of file ideal_eosterms.hpp.
|
inline |
This pass-through function is required to allow this model to sit in the AllowedModels variant which allows the ideal-gas Helmholtz terms to be treated just the same as the residual terms
Definition at line 347 of file ideal_eosterms.hpp.
|
inline |
For now this is a placeholder, but it should be the "correct" R, however that is ultimately decided upon
Definition at line 353 of file ideal_eosterms.hpp.
std::vector<PureIdealHelmholtz> teqp::IdealHelmholtz::pures |
Definition at line 314 of file ideal_eosterms.hpp.