teqp 0.22.0
Loading...
Searching...
No Matches
VLLE.hpp File Reference
#include "teqp/derivs.hpp"
#include "teqp/exceptions.hpp"
#include "teqp/algorithms/VLLE_types.hpp"
#include "teqp/cpp/teqpcpp.hpp"
#include <boost/numeric/odeint/stepper/controlled_runge_kutta.hpp>
#include <boost/numeric/odeint/stepper/runge_kutta_cash_karp54.hpp>

Go to the source code of this file.

Namespaces

namespace  teqp
 
namespace  teqp::VLLE
 

Functions

auto teqp::VLLE::mix_VLLE_T (const AbstractModel &model, double T, const EArrayd &rhovecVinit, const EArrayd &rhovecL1init, const EArrayd &rhovecL2init, double atol, double reltol, double axtol, double relxtol, int maxiter)
 
auto teqp::VLLE::mix_VLLE_p (const AbstractModel &model, double p, double Tinit, const EArrayd &rhovecVinit, const EArrayd &rhovecL1init, const EArrayd &rhovecL2init, double atol, double reltol, double axtol, double relxtol, int maxiter)
 
template<typename Iterable >
auto teqp::VLLE::get_self_intersections (Iterable &x, Iterable &y)
 
template<typename Iterable >
auto teqp::VLLE::get_cross_intersections (Iterable &x1, Iterable &y1, Iterable &x2, Iterable &y2)
 
auto teqp::VLLE::find_VLLE_gen_binary (const AbstractModel &model, const std::vector< nlohmann::json > &traces, const std::string &key, const std::optional< VLLEFinderOptions > options=std::nullopt)
 
auto teqp::VLLE::find_VLLE_T_binary (const AbstractModel &model, const std::vector< nlohmann::json > &traces, const std::optional< VLLEFinderOptions > &options=std::nullopt)
 Given an isothermal VLE trace(s) for a binary mixture, obtain the VLLE solution.
 
auto teqp::VLLE::find_VLLE_p_binary (const AbstractModel &model, const std::vector< nlohmann::json > &traces, const std::optional< VLLEFinderOptions > &options=std::nullopt)
 Given an isobaric VLE trace(s) for a binary mixture, obtain the VLLE solution.
 
auto teqp::VLLE::get_drhovecdT_VLLE_binary (const AbstractModel &model, double T, const EArrayd &rhovecV, const EArrayd &rhovecL1, const EArrayd &rhovecL2)
 
auto teqp::VLLE::trace_VLLE_binary (const teqp::VLLE::AbstractModel &model, const double Tinit, const EArrayd &rhovecVinit, const EArrayd &rhovecL1init, const EArrayd &rhovecL2init, const std::optional< VLLETracerOptions > &options_=std::nullopt)
 Given an initial VLLE solution, trace the VLLE curve. We know the VLLE curve is a function of only one state variable by Gibbs' rule.