teqp 0.22.0
Loading...
Searching...
No Matches
teqp::IdealHelmholtzLead Class Reference

#include <ideal_eosterms.hpp>

Public Member Functions

 IdealHelmholtzLead (double a_1, double a_2, double R)
 
template<typename TType , typename RhoType >
auto alphaig (const TType &T, const RhoType &rho) const
 

Public Attributes

const double a_1
 
const double a_2
 
const double R
 

Detailed Description

\( \alpha^{\rm ig}= \ln(\rho) + a_1 + a_2/T \)

which should be compared with the original form in GERG (and REFPROP and CoolProp)

\( \alpha^{\rm ig}= \ln(\delta) + a_1^* + a_2^*\tau \)

Note that \(a_1\) contains an additive factor of \(-ln(\rho_r)\) and \(a_2\) contains a multiplicative factor of \(T_r\) relative to the former

Definition at line 58 of file ideal_eosterms.hpp.

Constructor & Destructor Documentation

◆ IdealHelmholtzLead()

teqp::IdealHelmholtzLead::IdealHelmholtzLead ( double a_1,
double a_2,
double R )
inline

Definition at line 61 of file ideal_eosterms.hpp.

Member Function Documentation

◆ alphaig()

template<typename TType , typename RhoType >
auto teqp::IdealHelmholtzLead::alphaig ( const TType & T,
const RhoType & rho ) const
inline

Definition at line 64 of file ideal_eosterms.hpp.

Member Data Documentation

◆ a_1

const double teqp::IdealHelmholtzLead::a_1

Definition at line 60 of file ideal_eosterms.hpp.

◆ a_2

const double teqp::IdealHelmholtzLead::a_2

Definition at line 60 of file ideal_eosterms.hpp.

◆ R

const double teqp::IdealHelmholtzLead::R

Definition at line 60 of file ideal_eosterms.hpp.


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