class WaterHGK

Declaration

class WaterHGK { /* full declaration omitted */ };

Description

The WaterHGK class calculates the properties of water using the Haar-Gallagher-Kell (1984) equation of state, as was implemented in GEM-Selektor References: HAAR L., GALLAGHER J. S., and KELL G. S. Steam Tables, Thermodynamic and Transport Properties and Computer Programs for Vapor and Liquid States of Wafer in SI Unites. 1984, Hemisphere Publishing Co.

Declared at: ThermoFun/ThermoModelsSolvent.h:19

Method Overview

Methods

WaterHGK()

Description

Construct a default class object instance

Declared at: ThermoFun/ThermoModelsSolvent.h:23

WaterHGK(const ThermoFun::Substance& substance)

Description

Construct an class object instance from a Species instance

Declared at: ThermoFun/ThermoModelsSolvent.h:26

Parameters

const ThermoFun::Substance& substance

auto propertiesSolvent(double T,
                       double& P,
                       int state)
    -> ThermoFun::PropertiesSolvent

Description

Return the physical properties of the solvent.

Declared at: ThermoFun/ThermoModelsSolvent.h:32

Parameters

double T
The temperature value (in units of K)
double& P
The pressure value (in units of Pa)
int state
defines the state of the solvent (liquid 0, vapor 1, below the critical point)

auto thermoPropertiesSubstance(double T,
                               double& P,
                               int state)
    -> ThermoFun::ThermoPropertiesSubstance

Description

Return the themrodynamic properties of the solvent.

Declared at: ThermoFun/ThermoModelsSolvent.h:38

Parameters

double T
The temperature value (in units of K)
double& P
The pressure value (in units of Pa)
int state
defines the state of the solvent (liquid 0, vapor 1, below the critical point)