34 using vad = std::valarray<double>;
35 using vecs = std::vector<std::string>;
Ideal-gas Helmholtz energy container.
A class used to evaluate mixtures using the SAFT-VR-Mie model.
A slightly more involved implementation of van der Waals, this time with mixture properties.
auto CPAfactory(const nlohmann::json &j)
auto PCSAFTfactory(const nlohmann::json &spec)
A JSON-based factory function for the PC-SAFT model.
auto build_two_center_model_dipole(const std::string &model_version, const double &L=0.0, const double &mu_sq=0.0)
decltype(SAFTVRMie::SAFTVRMieMixture(vecs{})) SAFTVRMie_t
std::vector< std::string > vecs
decltype(multifluidfactory(nlohmann::json{})) multifluid_t
AmmoniaWaterTillnerRoth ammonia_water_TillnerRoth_t
auto build_multifluid_mutant(const Model &model, const nlohmann::json &jj)
decltype(twocenterljf::build_two_center_model_dipole(std::string{}, double{}, double{})) twocenterLJF_t
auto canonical_PR(TCType Tc_K, PCType pc_Pa, AcentricType acentric, const std::optional< Eigen::ArrayXXd > &kmat=std::nullopt, const std::optional< double > R_JmolK=std::nullopt)
auto multifluidfactory(const nlohmann::json &spec)
Load a model from a JSON data structure.
decltype(CPA::CPAfactory(nlohmann::json{})) CPA_t
decltype(canonical_PR(vad{}, vad{}, vad{})) canonical_cubic_t
std::valarray< double > vad
decltype(PCSAFT::PCSAFTfactory(nlohmann::json{})) PCSAFT_t
decltype(build_multifluid_mutant(multifluidfactory(nlohmann::json{}), nlohmann::json{})) multifluidmutant_t