teqp 0.22.0
Loading...
Searching...
No Matches
teqp::GERGGeneral::AlphaigCoeffs Struct Reference

#include <GERG.hpp>

Public Member Functions

std::set< std::size_t > sizes ()
 
auto recalc_integration_constants (double T, double Tci, double rho, double rhoci, double Rstar_R)
 

Public Attributes

std::vector< double > n0
 
std::vector< double > theta0
 

Detailed Description

Definition at line 36 of file GERG.hpp.

Member Function Documentation

◆ recalc_integration_constants()

auto teqp::GERGGeneral::AlphaigCoeffs::recalc_integration_constants ( double T,
double Tci,
double rho,
double rhoci,
double Rstar_R )
inline

Solve the 2x2 system of equations to yield the integration constants matching h0(298.15 K, 101.325 kPa) = 0 and s0(298.15 K, 101.325 kPa) = 0 h = 0, so h/(R*T) = 0 and Aig10 = -1

Parameters
TReference temperature, K
TciCritical temperature of the component, K
rhoMolar density at the reference state, mol/m^3
rhociMolar density at teh critical point, mol/m^3
Rstar_Rratio of \(R^* / R \)

Definition at line 49 of file GERG.hpp.

◆ sizes()

std::set< std::size_t > teqp::GERGGeneral::AlphaigCoeffs::sizes ( )
inline

Definition at line 38 of file GERG.hpp.

Member Data Documentation

◆ n0

std::vector<double> teqp::GERGGeneral::AlphaigCoeffs::n0

Definition at line 37 of file GERG.hpp.

◆ theta0

std::vector<double> teqp::GERGGeneral::AlphaigCoeffs::theta0

Definition at line 37 of file GERG.hpp.


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