CoolProp
4.2.5
An open-source fluid property and humid air property database
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
CoolProp
GlobalConstants.h
Go to the documentation of this file.
1
2
#ifndef GLOBALCONSTANTS_H
3
#define GLOBALCONSTANTS_H
4
5
/* --------------------------------------------------
6
// Define some constants that will be used throughout
7
// --------------------------------------------------
8
*/
9
10
/* These are constants for the input and output parameters */
11
enum
params
{
12
/* Properties and others */
13
iB
,
iT
,
iP
,
iD
,
iC
,
iC0
,
iO
,
iU
,
iH
,
iS
,
iA
,
iG
,
iQ
,
iV
,
iL
,
iTfreeze
,
iPsat
,
iI
,
iDpdT
,
iDrhodT_p
,
iCritSplineT
,
iPrandtl
,
14
/* Constants */
15
iMM
,
iTmax
,
iTmin
,
iAccentric
,
iDipole
,
iODP
,
iGWP20
,
iGWP100
,
iGWP500
,
iPmax
,
16
/* Reduced quantities; triple point and critical point */
17
iRhoreduce
,
iTreduce
,
iPtriple
,
iTtriple
,
iHcrit
,
iPcrit
,
iRhocrit
,
iScrit
,
iTcrit
,
18
/* Phase identifiers */
19
iPhase
,
iPHASE_LIQUID
,
iPHASE_GAS
,
iPHASE_SUPERCRITICAL
,
iPHASE_TWOPHASE
,
20
/* Ancillary equations */
21
iRhosatLanc
,
iRhosatVanc
,
iPsatLanc
,
iPsatVanc
,
22
/* Derivatives */
23
iDERdh_dp__rho
,
iDERdh_dp__v
,
iDERZ
,
iDERdZ_dDelta
,
iDERdZ_dTau
,
iDERB
,
iDERdB_dT
,
iDERC
,
iDERdC_dT
,
iDERphir
,
24
iDERdphir_dTau
,
iDERdphir_dDelta
,
iDERd2phir_dTau2
,
iDERd2phir_dDelta2
,
iDERd2phir_dDelta_dTau
,
iDERd3phir_dDelta3
,
25
iDERd3phir_dDelta2_dTau
,
iDERd3phir_dDelta_dTau2
,
iDERd3phir_dTau3
,
iDERphi0
,
iDERdphi0_dTau
,
iDERd2phi0_dTau2
,
26
iDERdphi0_dDelta
,
iDERd2phi0_dDelta2
,
iDERd2phi0_dDelta_dTau
,
iDERd3phi0_dTau3
,
iDERdp_dT__rho
,
27
iDERdp_drho__T
,
iDERdh_dT__rho
,
iDERdh_drho__T
,
iDERdrho_dT__p
,
iDERdrho_dh__p
,
iDERdh_dp__T
,
28
iDERdrho_dp__h
,
iDERrho_smoothed
,
iDERdrho_smoothed_dh
,
iDERdrho_smoothed_dp
,
iDERdrhodh_constp_smoothed
,
29
iDERdrhodp_consth_smoothed
,
iDERIsothermalCompressibility
,
30
};
31
32
/* These are constants for the phases of the fluid */
33
enum
phases
{
iLiquid
,
iSupercritical
,
iGas
,
iTwoPhase
};
34
35
/* These are constants for the units */
36
enum
unit_constants
{
UNIT_KPA
,
UNIT_PA
,
UNIT_BAR
,
UNIT_KG_M3
,
UNIT_KG_L
};
37
38
/* These are constants for the unit systems (currently only SI and KSI are supported) */
39
enum
unit_systems
{
UNIT_SYSTEM_SI
,
UNIT_SYSTEM_KSI
,
UNIT_SYSTEM_KSI_MOLAR
,
UNIT_SYSTEM_SI_MOLAR
};
40
41
/* These are unit types for the fluid */
42
enum
fluid_types
{
FLUID_TYPE_PURE
,
FLUID_TYPE_PSEUDOPURE
,
FLUID_TYPE_REFPROP
,
FLUID_TYPE_INCOMPRESSIBLE_LIQUID
,
FLUID_TYPE_INCOMPRESSIBLE_SOLUTION
};
43
44
#endif
iI
Definition:
GlobalConstants.h:13
iDERdrho_dT__p
Definition:
GlobalConstants.h:27
iPcrit
Definition:
GlobalConstants.h:17
iQ
Definition:
GlobalConstants.h:13
iPhase
Definition:
GlobalConstants.h:19
iRhoreduce
Definition:
GlobalConstants.h:17
iTreduce
Definition:
GlobalConstants.h:17
iB
Definition:
GlobalConstants.h:13
iDERdB_dT
Definition:
GlobalConstants.h:23
iPrandtl
Definition:
GlobalConstants.h:13
iDERdrho_dp__h
Definition:
GlobalConstants.h:28
iDERdp_dT__rho
Definition:
GlobalConstants.h:26
iPtriple
Definition:
GlobalConstants.h:17
iHcrit
Definition:
GlobalConstants.h:17
iC
Definition:
GlobalConstants.h:13
UNIT_BAR
Definition:
GlobalConstants.h:36
iDERdphi0_dDelta
Definition:
GlobalConstants.h:26
fluid_types
fluid_types
Definition:
GlobalConstants.h:42
iDERphir
Definition:
GlobalConstants.h:23
iTcrit
Definition:
GlobalConstants.h:17
iDERdZ_dDelta
Definition:
GlobalConstants.h:23
UNIT_PA
Definition:
GlobalConstants.h:36
iDERdrho_smoothed_dh
Definition:
GlobalConstants.h:28
FLUID_TYPE_PURE
Definition:
GlobalConstants.h:42
iDERdh_dp__rho
Definition:
GlobalConstants.h:23
UNIT_SYSTEM_SI
Definition:
GlobalConstants.h:39
iDERd2phir_dTau2
Definition:
GlobalConstants.h:24
iDERdh_dT__rho
Definition:
GlobalConstants.h:27
iDERd3phir_dDelta_dTau2
Definition:
GlobalConstants.h:25
iDERd2phir_dDelta_dTau
Definition:
GlobalConstants.h:24
iODP
Definition:
GlobalConstants.h:15
iDERdphir_dTau
Definition:
GlobalConstants.h:24
iTwoPhase
Definition:
GlobalConstants.h:33
iPmax
Definition:
GlobalConstants.h:15
iDERdh_dp__v
Definition:
GlobalConstants.h:23
iDpdT
Definition:
GlobalConstants.h:13
iDERB
Definition:
GlobalConstants.h:23
iDERd2phi0_dDelta2
Definition:
GlobalConstants.h:26
iDERd2phi0_dDelta_dTau
Definition:
GlobalConstants.h:26
iDERC
Definition:
GlobalConstants.h:23
iGWP500
Definition:
GlobalConstants.h:15
FLUID_TYPE_INCOMPRESSIBLE_LIQUID
Definition:
GlobalConstants.h:42
iDERdrhodp_consth_smoothed
Definition:
GlobalConstants.h:29
iDERdphir_dDelta
Definition:
GlobalConstants.h:24
iTmin
Definition:
GlobalConstants.h:15
iGas
Definition:
GlobalConstants.h:33
iPsat
Definition:
GlobalConstants.h:13
iDrhodT_p
Definition:
GlobalConstants.h:13
iH
Definition:
GlobalConstants.h:13
iDERdphi0_dTau
Definition:
GlobalConstants.h:25
iSupercritical
Definition:
GlobalConstants.h:33
iTtriple
Definition:
GlobalConstants.h:17
iS
Definition:
GlobalConstants.h:13
iDERd2phir_dDelta2
Definition:
GlobalConstants.h:24
UNIT_KG_L
Definition:
GlobalConstants.h:36
iDERrho_smoothed
Definition:
GlobalConstants.h:28
iDipole
Definition:
GlobalConstants.h:15
iD
Definition:
GlobalConstants.h:13
iA
Definition:
GlobalConstants.h:13
iDERZ
Definition:
GlobalConstants.h:23
iDERd3phir_dTau3
Definition:
GlobalConstants.h:25
iDERdp_drho__T
Definition:
GlobalConstants.h:27
iDERdZ_dTau
Definition:
GlobalConstants.h:23
iDERdrho_dh__p
Definition:
GlobalConstants.h:27
unit_systems
unit_systems
Definition:
GlobalConstants.h:39
iLiquid
Definition:
GlobalConstants.h:33
iPHASE_TWOPHASE
Definition:
GlobalConstants.h:19
phases
phases
Definition:
GlobalConstants.h:33
iPHASE_SUPERCRITICAL
Definition:
GlobalConstants.h:19
iDERIsothermalCompressibility
Definition:
GlobalConstants.h:29
iDERphi0
Definition:
GlobalConstants.h:25
iL
Definition:
GlobalConstants.h:13
iDERdrhodh_constp_smoothed
Definition:
GlobalConstants.h:28
iPHASE_LIQUID
Definition:
GlobalConstants.h:19
params
params
Definition:
GlobalConstants.h:11
iU
Definition:
GlobalConstants.h:13
iRhocrit
Definition:
GlobalConstants.h:17
iDERdh_drho__T
Definition:
GlobalConstants.h:27
iV
Definition:
GlobalConstants.h:13
iRhosatVanc
Definition:
GlobalConstants.h:21
iScrit
Definition:
GlobalConstants.h:17
iG
Definition:
GlobalConstants.h:13
iCritSplineT
Definition:
GlobalConstants.h:13
iPsatVanc
Definition:
GlobalConstants.h:21
iGWP100
Definition:
GlobalConstants.h:15
iTmax
Definition:
GlobalConstants.h:15
FLUID_TYPE_REFPROP
Definition:
GlobalConstants.h:42
iPHASE_GAS
Definition:
GlobalConstants.h:19
iT
Definition:
GlobalConstants.h:13
iDERdC_dT
Definition:
GlobalConstants.h:23
FLUID_TYPE_INCOMPRESSIBLE_SOLUTION
Definition:
GlobalConstants.h:42
iO
Definition:
GlobalConstants.h:13
iGWP20
Definition:
GlobalConstants.h:15
UNIT_KG_M3
Definition:
GlobalConstants.h:36
iDERd2phi0_dTau2
Definition:
GlobalConstants.h:25
UNIT_KPA
Definition:
GlobalConstants.h:36
iDERd3phir_dDelta2_dTau
Definition:
GlobalConstants.h:25
iDERd3phi0_dTau3
Definition:
GlobalConstants.h:26
iP
Definition:
GlobalConstants.h:13
iTfreeze
Definition:
GlobalConstants.h:13
iAccentric
Definition:
GlobalConstants.h:15
UNIT_SYSTEM_SI_MOLAR
Definition:
GlobalConstants.h:39
iMM
Definition:
GlobalConstants.h:15
UNIT_SYSTEM_KSI_MOLAR
Definition:
GlobalConstants.h:39
FLUID_TYPE_PSEUDOPURE
Definition:
GlobalConstants.h:42
iDERd3phir_dDelta3
Definition:
GlobalConstants.h:24
iDERdh_dp__T
Definition:
GlobalConstants.h:27
iDERdrho_smoothed_dp
Definition:
GlobalConstants.h:28
UNIT_SYSTEM_KSI
Definition:
GlobalConstants.h:39
iPsatLanc
Definition:
GlobalConstants.h:21
unit_constants
unit_constants
Definition:
GlobalConstants.h:36
iRhosatLanc
Definition:
GlobalConstants.h:21
iC0
Definition:
GlobalConstants.h:13
Generated on Sun Aug 10 2014 16:02:40 for CoolProp by
1.8.7