Cantera  2.0
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
HFC134a Class Reference

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

#include <HFC134a.h>

Inherits Substance.

Public Member Functions

double MolWt ()
double Tcrit ()
double Pcrit ()
double Vcrit ()
double Tmin ()
double Tmax ()
char * name ()
char * formula ()
double Pp ()
double fp ()
double up ()
double sp ()
double Psat ()
void setStdState (double h0=0.0, double s0=0.0, double t0=298.15, double p0=1.01325e5)
double P ()
 Pressure [Pa].
double Temp ()
double v ()
double u ()
double h ()
double s ()
double f ()
double g ()
virtual double cv ()
virtual double cp ()
virtual double thermalExpansionCoeff ()
virtual double isothermalCompressibility ()
double Ps ()
virtual double dPsdT ()
 The derivative of the saturation pressure with respect to temperature.
double Tsat (double p)
 Saturation temperature at pressure p.
double x ()
 Vapor fraction.
int TwoPhase ()
 true if a liquid/vapor mixture, false otherwise
double hp ()
double gp ()
double prop (int ijob)
void set_TPp (double t0, double p0)
void Set (int XY, double x0, double y0)
void Set_meta (double phase, double pp)
int Error ()

Protected Member Functions

virtual int ideal ()
double vp ()
int Lever (int itp, double sat, double val, int ifunc)
void update_sat ()
void set_Err (int ErrFlag)
void clear_Err ()

Protected Attributes

double T
double Rho
double Tslast
double Rhf
double Rhv
double Pst
int Err
double m_energy_offset
double m_entropy_offset
std::string m_name
std::string m_formula

Private Member Functions

double ldens ()

Detailed Description

Equation of state for HFC-134a.

Implements the equation of state given in: R. Tillner-Roth and H.D. Baehr. "An International Standard Formulation for The Thermodynamic Properties of 1,1,1,2-Tetrafluoroethane (HFC-134a) for Temperatures From 170 K to 455 K and Pressures up to 70 MPa". J. Phys. Chem. Ref. Data, Vol. 23, No. 5, 1994. pp. 657–729.

Definition at line 16 of file HFC134a.h.

Member Function Documentation

double P ( )

Pressure [Pa].

If two phases are present, return the saturation pressure; otherwise return the pressure computed directly from the underlying eos.

Definition at line 70 of file Sub.cpp.

double dPsdT ( )

The derivative of the saturation pressure with respect to temperature.

Definition at line 80 of file Sub.cpp.

double Tsat ( double  p)

Saturation temperature at pressure p.

Definition at line 125 of file Sub.cpp.

double x ( )

Vapor fraction.

If T >= Tcrit, 0 is returned for v < Vcrit, and 1 is returned if v > Vcrit.

Definition at line 104 of file Sub.cpp.

int TwoPhase ( )

true if a liquid/vapor mixture, false otherwise

Definition at line 92 of file Sub.cpp.

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