Cantera  3.1.0a1
HFC134a Class Reference

Equation of state for HFC-134a. More...

#include <HFC134a.h>

Inheritance diagram for HFC134a:
[legend]

Detailed Description

Equation of state for HFC-134a.

Implements the equation of state given in Tillner-Roth and Baehr [43].

Definition at line 17 of file HFC134a.h.

Public Member Functions

double MolWt () override
 Molecular weight [kg/kmol]. More...
 
double Tcrit () override
 Critical temperature [K]. More...
 
double Pcrit () override
 Critical pressure [Pa]. More...
 
double Vcrit () override
 Critical specific volume [m^3/kg]. More...
 
double Tmin () override
 Minimum temperature for which the equation of state is valid. More...
 
double Tmax () override
 Maximum temperature for which the equation of state is valid. More...
 
double Pp () override
 
double fp ()
 
double up () override
 Internal energy of a single-phase state. More...
 
double sp () override
 Entropy of a single-phase state. More...
 
double Psat () override
 Saturation pressure, Pa. More...
 
- Public Member Functions inherited from Substance
void setStdState (double h0=0.0, double s0=0.0, double t0=298.15, double p0=1.01325e5)
 
double hp ()
 Enthalpy of a single-phase state. More...
 
double gp ()
 Gibbs function of a single-phase state. More...
 
double prop (propertyFlag::type ijob)
 
void set_TPp (double t0, double p0)
 set T and P More...
 
void Set (PropertyPair::type XY, double x0, double y0)
 Function to set or change the state for a property pair XY where x0 is the value of first property and y0 is the value of the second property. More...
 
const char * name ()
 Name of the substance. More...
 
const char * formula ()
 Chemical formula for the substance. More...
 
double P ()
 Pressure [Pa]. More...
 
double Temp ()
 Temperature [K]. More...
 
double v ()
 Specific volume [m^3/kg]. More...
 
double u ()
 Internal energy [J/kg]. More...
 
double h ()
 Enthalpy [J/kg]. More...
 
double s ()
 Entropy [J/kg/K]. More...
 
double f ()
 Helmholtz function [J/kg]. More...
 
double g ()
 Gibbs function [J/kg]. More...
 
virtual double cv ()
 Specific heat at constant volume [J/kg/K]. More...
 
virtual double cp ()
 Specific heat at constant pressure [J/kg/K]. More...
 
virtual double thermalExpansionCoeff ()
 
virtual double isothermalCompressibility ()
 
double Ps ()
 
virtual double dPsdT ()
 The derivative of the saturation pressure with respect to temperature. More...
 
double Tsat (double p)
 Saturation temperature at pressure p. More...
 
double x ()
 Vapor mass fraction. More...
 
int TwoPhase (bool strict=false)
 Returns 1 if the current state is a liquid/vapor mixture, 0 otherwise. More...
 

Protected Member Functions

double ldens () override
 
- Protected Member Functions inherited from Substance
virtual int ideal ()
 
double vp ()
 
int Lever (int itp, double sat, double val, propertyFlag::type ifunc)
 Uses the lever rule to set state in the dome. More...
 
void update_sat ()
 Update saturated liquid and vapor densities and saturation pressure. More...
 

Additional Inherited Members

- Protected Attributes inherited from Substance
double T = Undef
 
double Rho = Undef
 
double Tslast = Undef
 
double Rhf = Undef
 
double Rhv = Undef
 
double Pst = Undef
 
double m_energy_offset = 0.0
 
double m_entropy_offset = 0.0
 
std::string m_name
 
std::string m_formula
 

Member Function Documentation

◆ MolWt()

double MolWt ( )
overridevirtual

Molecular weight [kg/kmol].

Implements Substance.

Definition at line 201 of file HFC134a.cpp.

◆ Tcrit()

double Tcrit ( )
overridevirtual

Critical temperature [K].

Implements Substance.

Definition at line 181 of file HFC134a.cpp.

◆ Pcrit()

double Pcrit ( )
overridevirtual

Critical pressure [Pa].

Implements Substance.

Definition at line 185 of file HFC134a.cpp.

◆ Vcrit()

double Vcrit ( )
overridevirtual

Critical specific volume [m^3/kg].

Implements Substance.

Definition at line 189 of file HFC134a.cpp.

◆ Tmin()

double Tmin ( )
overridevirtual

Minimum temperature for which the equation of state is valid.

Implements Substance.

Definition at line 193 of file HFC134a.cpp.

◆ Tmax()

double Tmax ( )
overridevirtual

Maximum temperature for which the equation of state is valid.

Implements Substance.

Definition at line 197 of file HFC134a.cpp.

◆ up()

double up ( )
overridevirtual

Internal energy of a single-phase state.

Implements Substance.

Definition at line 94 of file HFC134a.cpp.

◆ sp()

double sp ( )
inlineoverridevirtual

Entropy of a single-phase state.

Implements Substance.

Definition at line 35 of file HFC134a.h.

◆ Psat()

double Psat ( )
overridevirtual

Saturation pressure, Pa.

Implements Substance.

Definition at line 156 of file HFC134a.cpp.


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