teqp 0.22.0
Loading...
Searching...
No Matches
teqp::CPA::CPAEOS< Cubic, Assoc > Class Template Reference

#include <CPA.hpp>

Public Member Functions

template<class VecType >
auto R (const VecType &molefrac) const
 
 CPAEOS (Cubic &&cubic, Assoc &&assoc)
 
template<typename TType , typename RhoType , typename VecType >
auto alphar (const TType &T, const RhoType &rhomolar, const VecType &molefrac) const
 

Public Attributes

const Cubic cubic
 
const Assoc assoc
 

Detailed Description

template<typename Cubic, typename Assoc>
class teqp::CPA::CPAEOS< Cubic, Assoc >

Definition at line 251 of file CPA.hpp.

Constructor & Destructor Documentation

◆ CPAEOS()

template<typename Cubic , typename Assoc >
teqp::CPA::CPAEOS< Cubic, Assoc >::CPAEOS ( Cubic && cubic,
Assoc && assoc )
inline

Definition at line 261 of file CPA.hpp.

Member Function Documentation

◆ alphar()

template<typename Cubic , typename Assoc >
template<typename TType , typename RhoType , typename VecType >
auto teqp::CPA::CPAEOS< Cubic, Assoc >::alphar ( const TType & T,
const RhoType & rhomolar,
const VecType & molefrac ) const
inline

Residual dimensionless Helmholtz energy from the SRK or PR core and contribution due to association alphar = a/(R*T) where a and R are both molar quantities

Definition at line 267 of file CPA.hpp.

◆ R()

template<typename Cubic , typename Assoc >
template<class VecType >
auto teqp::CPA::CPAEOS< Cubic, Assoc >::R ( const VecType & molefrac) const
inline

Definition at line 257 of file CPA.hpp.

Member Data Documentation

◆ assoc

template<typename Cubic , typename Assoc >
const Assoc teqp::CPA::CPAEOS< Cubic, Assoc >::assoc

Definition at line 254 of file CPA.hpp.

◆ cubic

template<typename Cubic , typename Assoc >
const Cubic teqp::CPA::CPAEOS< Cubic, Assoc >::cubic

Definition at line 253 of file CPA.hpp.


The documentation for this class was generated from the following file: