teqp 0.19.1
Loading...
Searching...
No Matches
Functions
teqp::reducing Namespace Reference

Functions

auto get_BIPdep (const nlohmann::json &collection, const std::vector< std::string > &identifiers, const nlohmann::json &flags)
 
auto get_binary_interaction_double (const nlohmann::json &collection, const std::vector< std::string > &identifiers, const nlohmann::json &flags, const std::vector< double > &Tc, const std::vector< double > &vc)
 Get the binary interaction parameters for a given binary pair.
 
template<typename Tcvec , typename vcvec >
auto get_BIP_matrices (const nlohmann::json &collection, const std::vector< std::string > &components, const nlohmann::json &flags, const Tcvec &Tc, const vcvec &vc)
 Build the matrices of betaT, gammaT, betaV, gammaV for the multi-fluid model.
 
auto get_Tcvc (const std::vector< nlohmann::json > &pureJSON)
 
auto get_F_matrix (const nlohmann::json &collection, const std::vector< std::string > &identifiers, const nlohmann::json &flags)
 Get the matrix F of Fij factors multiplying the departure functions.
 

Function Documentation

◆ get_binary_interaction_double()

auto teqp::reducing::get_binary_interaction_double ( const nlohmann::json & collection,
const std::vector< std::string > & identifiers,
const nlohmann::json & flags,
const std::vector< double > & Tc,
const std::vector< double > & vc )
inline

Get the binary interaction parameters for a given binary pair.

Definition at line 88 of file multifluid_reducing.hpp.

◆ get_BIP_matrices()

template<typename Tcvec , typename vcvec >
auto teqp::reducing::get_BIP_matrices ( const nlohmann::json & collection,
const std::vector< std::string > & components,
const nlohmann::json & flags,
const Tcvec & Tc,
const vcvec & vc )
inline

Build the matrices of betaT, gammaT, betaV, gammaV for the multi-fluid model.

Definition at line 115 of file multifluid_reducing.hpp.

◆ get_BIPdep()

auto teqp::reducing::get_BIPdep ( const nlohmann::json & collection,
const std::vector< std::string > & identifiers,
const nlohmann::json & flags )
inline

Definition at line 9 of file multifluid_reducing.hpp.

◆ get_F_matrix()

auto teqp::reducing::get_F_matrix ( const nlohmann::json & collection,
const std::vector< std::string > & identifiers,
const nlohmann::json & flags )
inline

Get the matrix F of Fij factors multiplying the departure functions.

Definition at line 153 of file multifluid_reducing.hpp.

◆ get_Tcvc()

auto teqp::reducing::get_Tcvc ( const std::vector< nlohmann::json > & pureJSON)
inline

Get a tuple of the arrays of Tc (in K) and vc (m^3/mol) for the pure components to be used as reducing parameters for the reducing function

Note: The reducing state of the EOS is used to obtain the values. Usually but not always the reducing state is the critical point

Definition at line 138 of file multifluid_reducing.hpp.