CoolProp  4.2.5
An open-source fluid property and humid air property database
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
phi0_cp0_AlyLee Class Reference

#include <Helmholtz.h>

Inheritance diagram for phi0_cp0_AlyLee:
phi_BC

Public Member Functions

 phi0_cp0_AlyLee (std::vector< double > _a, double _Tc, double _T0, double _R)
 Constructor with std::vectors. More...
 
 ~phi0_cp0_AlyLee ()
 Destructor. More...
 
void to_json (rapidjson::Value &el, rapidjson::Document &doc)
 
double base (double tau, double delta)
 
double dTau (double tau, double delta)
 
double dTau2 (double tau, double delta)
 
double dDelta (double tau, double delta)
 
double dDelta2 (double tau, double delta)
 
double dDelta2_dTau (double tau, double delta)
 
double dDelta_dTau (double tau, double delta)
 
double cp0 (double tau)
 
double anti_deriv_cp0_tau (double tau)
 
double anti_deriv_cp0_tau2 (double tau)
 
double dDelta_dTau2 (double tau, double delta)
 
double dTau3 (double tau, double delta)
 
double dDelta3 (double tau, double delta)
 
- Public Member Functions inherited from phi_BC
 phi_BC ()
 
virtual ~phi_BC ()
 

Detailed Description

Term in the ideal-gas specific heat equation that is based on Aly-Lee formulation All the terms are of the form cp0 = A + B*((C/T)/sinh(C/T))^2 + D*((E/T)/cosh(E/T))^2 Note the LHS is NOT cp0/R

Definition at line 939 of file Helmholtz.h.

Constructor & Destructor Documentation

phi0_cp0_AlyLee::phi0_cp0_AlyLee ( std::vector< double >  _a,
double  _Tc,
double  _T0,
double  _R 
)
inline

Constructor with std::vectors.

Definition at line 946 of file Helmholtz.h.

phi0_cp0_AlyLee::~phi0_cp0_AlyLee ( )
inline

Destructor.

Definition at line 951 of file Helmholtz.h.

Member Function Documentation

double phi0_cp0_AlyLee::anti_deriv_cp0_tau ( double  tau)

Definition at line 2017 of file Helmholtz.cpp.

double phi0_cp0_AlyLee::anti_deriv_cp0_tau2 ( double  tau)

Definition at line 2008 of file Helmholtz.cpp.

double phi0_cp0_AlyLee::base ( double  tau,
double  delta 
)
virtual

Returns the base, non-dimensional, Helmholtz energy term (no derivatives) [-]

Parameters
tauReciprocal reduced temperature where tau=Tc/T
deltaReduced pressure where delta = rho / rhoc

Implements phi_BC.

Definition at line 1997 of file Helmholtz.cpp.

double phi0_cp0_AlyLee::cp0 ( double  tau)

Definition at line 2038 of file Helmholtz.cpp.

double phi0_cp0_AlyLee::dDelta ( double  tau,
double  delta 
)
inlinevirtual

Returns the first partial derivative of Helmholtz energy term with respect to delta [-]

Parameters
tauReciprocal reduced temperature where tau=Tc / T
deltaReduced pressure where delta = rho / rhoc

Implements phi_BC.

Definition at line 958 of file Helmholtz.h.

double phi0_cp0_AlyLee::dDelta2 ( double  tau,
double  delta 
)
inlinevirtual

Returns the second partial derivative of Helmholtz energy term with respect to delta [-]

Parameters
tauReciprocal reduced temperature where tau=Tc / T
deltaReduced pressure where delta = rho / rhoc

Implements phi_BC.

Definition at line 959 of file Helmholtz.h.

double phi0_cp0_AlyLee::dDelta2_dTau ( double  tau,
double  delta 
)
inlinevirtual

Returns the third mixed partial derivative (delta2,dtau1) of Helmholtz energy term with respect to delta and tau [-]

Parameters
tauReciprocal reduced temperature where tau=Tc / T
deltaReduced pressure where delta = rho / rhoc

Implements phi_BC.

Definition at line 960 of file Helmholtz.h.

double phi0_cp0_AlyLee::dDelta3 ( double  tau,
double  delta 
)
inlinevirtual

Returns the third partial derivative of Helmholtz energy term with respect to delta [-]

Parameters
tauReciprocal reduced temperature where tau=Tc / T
deltaReduced pressure where delta = rho / rhoc

Implements phi_BC.

Definition at line 967 of file Helmholtz.h.

double phi0_cp0_AlyLee::dDelta_dTau ( double  tau,
double  delta 
)
inlinevirtual

Returns the second mixed partial derivative (delta1,dtau1) of Helmholtz energy term with respect to delta and tau [-]

Parameters
tauReciprocal reduced temperature where tau=Tc / T
deltaReduced pressure where delta = rho / rhoc

Implements phi_BC.

Definition at line 961 of file Helmholtz.h.

double phi0_cp0_AlyLee::dDelta_dTau2 ( double  tau,
double  delta 
)
inlinevirtual

Returns the third mixed partial derivative (delta1,dtau2) of Helmholtz energy term with respect to delta and tau [-]

Parameters
tauReciprocal reduced temperature where tau=Tc / T
deltaReduced pressure where delta = rho / rhoc

Implements phi_BC.

Definition at line 965 of file Helmholtz.h.

double phi0_cp0_AlyLee::dTau ( double  tau,
double  delta 
)
virtual

Returns the first partial derivative of Helmholtz energy term with respect to tau [-]

Parameters
tauReciprocal reduced temperature where tau=Tc/T
deltaReduced pressure where delta = rho / rhoc

Implements phi_BC.

Definition at line 2001 of file Helmholtz.cpp.

double phi0_cp0_AlyLee::dTau2 ( double  tau,
double  delta 
)
virtual

Returns the second partial derivative of Helmholtz energy term with respect to tau [-]

Parameters
tauReciprocal reduced temperature where tau=Tc/T
deltaReduced pressure where delta = rho / rhoc

Implements phi_BC.

Definition at line 2042 of file Helmholtz.cpp.

double phi0_cp0_AlyLee::dTau3 ( double  tau,
double  delta 
)
virtual

Returns the third partial derivative of Helmholtz energy term with respect to tau [-]

Parameters
tauReciprocal reduced temperature where tau=Tc / T
deltaReduced pressure where delta = rho / rhoc

Implements phi_BC.

Definition at line 2048 of file Helmholtz.cpp.

void phi0_cp0_AlyLee::to_json ( rapidjson::Value el,
rapidjson::Document doc 
)
virtual

Implements phi_BC.

Definition at line 1968 of file Helmholtz.cpp.


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