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

#include <cubics.hpp>

Public Member Functions

 QuantumCorrectedPR (const nlohmann::json &j)
 
template<class VecType >
auto R (const VecType &) const
 
auto get_kmat () const
 
auto get_lmat () const
 
auto get_Tc_K () const
 
auto get_pc_Pa () const
 
template<typename TType >
auto get_bi (std::size_t i, const TType &T) const
 
template<typename TType >
auto get_ai (std::size_t i, const TType &T) const
 
template<typename TType , typename FractionsType >
auto get_ab (const TType &T, const FractionsType &z) const
 
template<typename TType , typename FractionsType >
auto get_c (const TType &, const FractionsType &z) const
 
template<typename TType , typename RhoType , typename FractionsType >
auto alphar (const TType &T, const RhoType &rhoinit, const FractionsType &molefrac) const
 
auto superanc_rhoLV (double T, const std::optional< std::size_t > ifluid=std::nullopt) const
 

Detailed Description

The quantum corrected Peng-Robinson model as developed in

Ailo Aasen, Morten Hammer, Silvia Lasala, Jean-Noël Jaubert, Øivind Wilhelmsen "Accurate quantum-corrected cubic equations of state for helium, neon, hydrogen, deuterium and their mixtures" Fluid Phase Equilibria 524 (2020) 112790 https://doi.org/10.1016/j.fluid.2020.112790

Definition at line 678 of file cubics.hpp.

Constructor & Destructor Documentation

◆ QuantumCorrectedPR()

teqp::QuantumCorrectedPR::QuantumCorrectedPR ( const nlohmann::json & j)
inline

Definition at line 703 of file cubics.hpp.

Member Function Documentation

◆ alphar()

template<typename TType , typename RhoType , typename FractionsType >
auto teqp::QuantumCorrectedPR::alphar ( const TType & T,
const RhoType & rhoinit,
const FractionsType & molefrac ) const
inline

Definition at line 763 of file cubics.hpp.

◆ get_ab()

template<typename TType , typename FractionsType >
auto teqp::QuantumCorrectedPR::get_ab ( const TType & T,
const FractionsType & z ) const
inline

Definition at line 734 of file cubics.hpp.

◆ get_ai()

template<typename TType >
auto teqp::QuantumCorrectedPR::get_ai ( std::size_t i,
const TType & T ) const
inline

Definition at line 725 of file cubics.hpp.

◆ get_bi()

template<typename TType >
auto teqp::QuantumCorrectedPR::get_bi ( std::size_t i,
const TType & T ) const
inline

Definition at line 717 of file cubics.hpp.

◆ get_c()

template<typename TType , typename FractionsType >
auto teqp::QuantumCorrectedPR::get_c ( const TType & ,
const FractionsType & z ) const
inline

Definition at line 752 of file cubics.hpp.

◆ get_kmat()

auto teqp::QuantumCorrectedPR::get_kmat ( ) const
inline

Definition at line 711 of file cubics.hpp.

◆ get_lmat()

auto teqp::QuantumCorrectedPR::get_lmat ( ) const
inline

Definition at line 712 of file cubics.hpp.

◆ get_pc_Pa()

auto teqp::QuantumCorrectedPR::get_pc_Pa ( ) const
inline

Definition at line 714 of file cubics.hpp.

◆ get_Tc_K()

auto teqp::QuantumCorrectedPR::get_Tc_K ( ) const
inline

Definition at line 713 of file cubics.hpp.

◆ R()

template<class VecType >
auto teqp::QuantumCorrectedPR::R ( const VecType & ) const
inline

Definition at line 708 of file cubics.hpp.

◆ superanc_rhoLV()

auto teqp::QuantumCorrectedPR::superanc_rhoLV ( double T,
const std::optional< std::size_t > ifluid = std::nullopt ) const
inline

Return a tuple of saturated liquid and vapor densities for the EOS given the temperature Uses the superancillary equations from Bell and Deiters:

Parameters
TTemperature, in K
ifluidIndex of fluid you want to get superancillary for. Must be provided in the case of mixtures

Definition at line 784 of file cubics.hpp.


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