CoolProp  6.6.0
An open-source fluid property and humid air property database
Classes | Namespaces | Macros | Functions | Variables
REFPROPMixtureBackend.cpp File Reference
#include "externals/REFPROP-headers/REFPROP_lib.h"
#include "CoolPropTools.h"
#include "REFPROPMixtureBackend.h"
#include "REFPROPBackend.h"
#include "Exceptions.h"
#include "Configuration.h"
#include "CPfilepaths.h"
#include "CoolProp.h"
#include "Solvers.h"
#include "IdealCurves.h"
#include "DataStructures.h"
#include "AbstractState.h"
#include <stdlib.h>
#include <string>
#include <stdio.h>
#include <iostream>
#include <cassert>
#include "crossplatform_shared_ptr.h"
#include <sys/stat.h>

Go to the source code of this file.

Classes

class  CoolProp::REFPROPGenerator
 

Namespaces

 CoolProp
 Code for all the binary pairs in the mixture.
 

Macros

#define REFPROP_IMPLEMENTATION
 
#define REFPROP_CSTYLE_REFERENCES
 

Functions

std::string get_casesensitive_fluids (const std::string &root)
 Find either FLUIDS or fluids folder relative to the root path provided; return the path. More...
 
std::string get_REFPROP_fluid_path_prefix ()
 
std::string get_REFPROP_mixtures_path_prefix ()
 
std::string get_REFPROP_HMX_BNC_path ()
 Construct the path to the HMX.BNC file. More...
 
bool CoolProp::force_load_REFPROP ()
 
bool CoolProp::force_unload_REFPROP ()
 
void CoolProp::REFPROP_SETREF (char hrf[3], int ixflag, double x0[1], double &h0, double &s0, double &T0, double &p0, int &ierr, char herr[255], int l1, int l2)
 

Variables

std::string LoadedREFPROPRef
 
std::string endings [number_of_endings] = {"", ".FLD", ".fld", ".PPF", ".ppf"}
 

Macro Definition Documentation

◆ REFPROP_CSTYLE_REFERENCES

#define REFPROP_CSTYLE_REFERENCES

Definition at line 23 of file REFPROPMixtureBackend.cpp.

◆ REFPROP_IMPLEMENTATION

#define REFPROP_IMPLEMENTATION

From REFPROP: temperature K pressure, fugacity kPa density mol/L composition mole fraction quality mole basis (moles vapor/total moles) enthalpy, internal energy J/mol Gibbs, Helmholtz free energy J/mol entropy, heat capacity J/(mol.K) speed of sound m/s Joule-Thomson coefficient K/kPa d(p)/d(rho) kPa.L/mol d2(p)/d(rho)2 kPa.(L/mol)^2 viscosity microPa.s (10^-6 Pa.s) thermal conductivity W/(m.K) dipole moment debye surface tension N/m

Definition at line 22 of file REFPROPMixtureBackend.cpp.

Function Documentation

◆ get_casesensitive_fluids()

std::string get_casesensitive_fluids ( const std::string &  root)

Find either FLUIDS or fluids folder relative to the root path provided; return the path.

Definition at line 77 of file REFPROPMixtureBackend.cpp.

◆ get_REFPROP_fluid_path_prefix()

std::string get_REFPROP_fluid_path_prefix ( )

Definition at line 90 of file REFPROPMixtureBackend.cpp.

◆ get_REFPROP_HMX_BNC_path()

std::string get_REFPROP_HMX_BNC_path ( )

Construct the path to the HMX.BNC file.

Definition at line 139 of file REFPROPMixtureBackend.cpp.

◆ get_REFPROP_mixtures_path_prefix()

std::string get_REFPROP_mixtures_path_prefix ( )

Definition at line 113 of file REFPROPMixtureBackend.cpp.

Variable Documentation

◆ endings

std::string endings[number_of_endings] = {"", ".FLD", ".fld", ".PPF", ".ppf"}

Definition at line 63 of file REFPROPMixtureBackend.cpp.

◆ LoadedREFPROPRef

std::string LoadedREFPROPRef

Definition at line 59 of file REFPROPMixtureBackend.cpp.