teqp 0.19.1
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
pcsaft.hpp File Reference
#include "nlohmann/json.hpp"
#include "teqp/types.hpp"
#include "teqp/exceptions.hpp"
#include "teqp/constants.hpp"
#include "teqp/json_tools.hpp"
#include "teqp/models/saft/polar_terms.hpp"
#include <optional>

Go to the source code of this file.

Classes

struct  teqp::PCSAFT::SAFTCoeffs
 Coefficients for one fluid. More...
 
class  teqp::PCSAFT::PCSAFTLibrary
 Manager class for PCSAFT coefficients. More...
 
class  teqp::PCSAFT::SAFTCalc< NumType, ProductType >
 Parameters for model evaluation. More...
 
class  teqp::PCSAFT::PCSAFTHardChainContribution
 
class  teqp::PCSAFT::PCSAFTMixture
 

Namespaces

namespace  teqp
 
namespace  teqp::PCSAFT
 

Functions

template<typename Eta , typename Mbar >
auto teqp::PCSAFT::C1 (const Eta &eta, Mbar mbar)
 
template<typename Eta , typename Mbar >
auto teqp::PCSAFT::C2 (const Eta &eta, Mbar mbar)
 Eqn. A.31.
 
template<typename TYPE >
auto teqp::PCSAFT::get_a (TYPE mbar)
 Eqn. A.18.
 
template<typename TYPE >
auto teqp::PCSAFT::get_b (TYPE mbar)
 Eqn. A.19.
 
template<typename VecType >
auto teqp::PCSAFT::get_alphar_hs (const VecType &zeta)
 Residual contribution to alphar from hard-sphere (Eqn. A.6)
 
template<typename zVecType , typename dVecType >
auto teqp::PCSAFT::gij_HS (const zVecType &zeta, const dVecType &d, std::size_t i, std::size_t j)
 Term from Eqn. A.7.
 
template<typename Eta , typename MbarType >
auto teqp::PCSAFT::get_I1 (const Eta &eta, MbarType mbar)
 Eqn. A.16, Eqn. A.29.
 
template<typename Eta , typename MbarType >
auto teqp::PCSAFT::get_I2 (const Eta &eta, MbarType mbar)
 Eqn. A.17, Eqn. A.30.
 
template<typename VecType1 , typename NType >
auto teqp::PCSAFT::powvec (const VecType1 &v1, NType n)
 
template<typename VecType1 , typename VecType2 , typename VecType3 >
auto teqp::PCSAFT::sumproduct (const VecType1 &v1, const VecType2 &v2, const VecType3 &v3)
 
auto teqp::PCSAFT::PCSAFTfactory (const nlohmann::json &spec)
 A JSON-based factory function for the PC-SAFT model.