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

#include <simple_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 447 of file simple_cubics.hpp.

Constructor & Destructor Documentation

◆ QuantumCorrectedPR()

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

Definition at line 472 of file simple_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 532 of file simple_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 503 of file simple_cubics.hpp.

◆ get_ai()

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

Definition at line 494 of file simple_cubics.hpp.

◆ get_bi()

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

Definition at line 486 of file simple_cubics.hpp.

◆ get_c()

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

Definition at line 521 of file simple_cubics.hpp.

◆ get_kmat()

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

Definition at line 480 of file simple_cubics.hpp.

◆ get_lmat()

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

Definition at line 481 of file simple_cubics.hpp.

◆ get_pc_Pa()

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

Definition at line 483 of file simple_cubics.hpp.

◆ get_Tc_K()

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

Definition at line 482 of file simple_cubics.hpp.

◆ R()

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

Definition at line 477 of file simple_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 553 of file simple_cubics.hpp.


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