CoolProp  6.6.0
An open-source fluid property and humid air property database
Public Member Functions | Public Attributes | List of all members
CoolProp::SurfaceTensionCorrelation Class Reference

Detailed Description

The surface tension correlation class uses correlations for the surface tension that are all of the form

\[ \sigma = \sum_i a_i\left(1-\frac{T}{\tilde T_c}\right)^{n_i} \]

where \( \tilde T_c \) is the critical temperature used for the correlation which is almost always equal to the critical temperature of the equation of state. Result for surface tension is in N/m

Definition at line 24 of file Ancillaries.h.

#include <Ancillaries.h>

Public Member Functions

 SurfaceTensionCorrelation ()
 
 SurfaceTensionCorrelation (rapidjson::Value &json_code)
 
CoolPropDbl evaluate (CoolPropDbl T)
 Actually evaluate the surface tension equation. More...
 

Public Attributes

std::vector< CoolPropDbla
 the leading coefficients a_i More...
 
std::vector< CoolPropDbln
 the powers n_i More...
 
std::vector< CoolPropDbls
 a summation buffer More...
 
CoolPropDbl Tc
 critical temperature in K More...
 
std::size_t N
 number of a_i, n_i pairs More...
 
std::string BibTeX
 The BiBTeX key for the surface tension curve in use. More...
 

Constructor & Destructor Documentation

◆ SurfaceTensionCorrelation() [1/2]

CoolProp::SurfaceTensionCorrelation::SurfaceTensionCorrelation ( )
inline

Definition at line 34 of file Ancillaries.h.

◆ SurfaceTensionCorrelation() [2/2]

CoolProp::SurfaceTensionCorrelation::SurfaceTensionCorrelation ( rapidjson::Value &  json_code)
inline

Definition at line 35 of file Ancillaries.h.

Member Function Documentation

◆ evaluate()

CoolPropDbl CoolProp::SurfaceTensionCorrelation::evaluate ( CoolPropDbl  T)
inline

Actually evaluate the surface tension equation.

Definition at line 46 of file Ancillaries.h.

Member Data Documentation

◆ a

std::vector<CoolPropDbl> CoolProp::SurfaceTensionCorrelation::a

the leading coefficients a_i

Definition at line 27 of file Ancillaries.h.

◆ BibTeX

std::string CoolProp::SurfaceTensionCorrelation::BibTeX

The BiBTeX key for the surface tension curve in use.

Definition at line 32 of file Ancillaries.h.

◆ n

std::vector<CoolPropDbl> CoolProp::SurfaceTensionCorrelation::n

the powers n_i

Definition at line 28 of file Ancillaries.h.

◆ N

std::size_t CoolProp::SurfaceTensionCorrelation::N

number of a_i, n_i pairs

Definition at line 31 of file Ancillaries.h.

◆ s

std::vector<CoolPropDbl> CoolProp::SurfaceTensionCorrelation::s

a summation buffer

Definition at line 29 of file Ancillaries.h.

◆ Tc

CoolPropDbl CoolProp::SurfaceTensionCorrelation::Tc

critical temperature in K

Definition at line 30 of file Ancillaries.h.


The documentation for this class was generated from the following file: