OpenFCST: The open-source Fuel Cell Simulation Toolbox
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | List of all members
FuelCellShop::Material::Water Class Reference

Water as a publicly derived class of Material. More...

#include <PureGas.h>

Inheritance diagram for FuelCellShop::Material::Water:
Inheritance graph
[legend]
Collaboration diagram for FuelCellShop::Material::Water:
Collaboration graph
[legend]

Public Member Functions

 Water ()
 
virtual ~Water ()
 
virtual enMaterialID get_ID ()
 
virtual char * get_name ()
 
virtual char * get_formula ()
 
virtual void get_viscosity (double &mu, const double &T)
 
virtual double get_molar_enthalpy (const double &) const
 Method to return molar enthalpy [J/mol] of Water gas \( (H_2O) \) (assuming ideal gas behavior), as a function of temperature [K].
 
virtual double get_dmolar_enthalpy_dT (const double &T) const
 Method to return derivative of molar enthalpy [J/mol] w.r.t Temperature [K] for Water gas (assuming ideal gas behavior).
 
virtual double get_d2molar_enthalpy_dT2 (const double &T) const
 Method to return second derivative of molar enthalpy [J/mol] w.r.t Temperature [K] for Water gas (assuming ideal gas behavior).
 
- Public Member Functions inherited from FuelCellShop::Material::PureGas
 PureGas ()
 
virtual ~PureGas ()
 
virtual double getCollisionDiameter ()
 Lennard-Jones parameters.
 
virtual double getDimensionlessTemperature (const double &T)
 
virtual void get_viscosity_Chapman_Enskog (double &mu, const double &T, const double &MW, const double &hard_sphere_diameter)
 
virtual void get_viscosity_Chapman_Enskog (double &mu, const double &T)
 
virtual void get_dMu_d_T_Chapman_Enskog (double &dmu, const double &T, const double &MW, const double &hard_sphere_diameter)
 
virtual void get_dMu_d_T_Chapman_Enskog (double &dmu, const double &T)
 

Static Public Member Functions

static double satPressure (const double &)
 Static method to return Water vapor saturation pressure in Pascals for an input temperature in Kelvin.
 
static double derivSatPressure (const double &)
 Static method to return derivative of water vapor saturation pressure with respect to Temperature (units: Pa/K) for an input temperature in Kelvin.
 
static double molarWeight ()
 Static method to return molar weight of water in grams/mole.
 

Additional Inherited Members

- Public Attributes inherited from FuelCellShop::Material::PureGas
double Tc
 Critical temperature in Kelvin.
 
double Pc
 Critical pressure in bar.
 
double Vc
 Critical volume in Cm3/mol.
 
double Zc
 Critical gas compressibility factor (Z).
 
double w
 Material other critical properties.
 
double M
 Molar mass in g/mol or kg/kmol.
 
double Tnb
 in Kelvin
 
double Vl
 in m3/kmol
 
double Mu_0
 dynamic viscosity at STP
 
double hard_sphere_diameter
 Hard sphere diameter in Angstrom.
 
double e_k
 epsilon/k
 

Detailed Description

Water as a publicly derived class of Material.

Constructor & Destructor Documentation

FuelCellShop::Material::Water::Water ( )
virtual FuelCellShop::Material::Water::~Water ( )
virtual

Member Function Documentation

static double FuelCellShop::Material::Water::derivSatPressure ( const double &  )
static

Static method to return derivative of water vapor saturation pressure with respect to Temperature (units: Pa/K) for an input temperature in Kelvin.

virtual double FuelCellShop::Material::Water::get_d2molar_enthalpy_dT2 ( const double &  T) const
virtual

Method to return second derivative of molar enthalpy [J/mol] w.r.t Temperature [K] for Water gas (assuming ideal gas behavior).

The method takes temperature (in Kelvins) as an input argument.

Implements FuelCellShop::Material::PureGas.

virtual double FuelCellShop::Material::Water::get_dmolar_enthalpy_dT ( const double &  T) const
virtual

Method to return derivative of molar enthalpy [J/mol] w.r.t Temperature [K] for Water gas (assuming ideal gas behavior).

The method takes temperature (in Kelvins) as an input argument.

Implements FuelCellShop::Material::PureGas.

virtual char* FuelCellShop::Material::Water::get_formula ( )
virtual
virtual enMaterialID FuelCellShop::Material::Water::get_ID ( )
virtual
virtual double FuelCellShop::Material::Water::get_molar_enthalpy ( const double &  ) const
virtual

Method to return molar enthalpy [J/mol] of Water gas \( (H_2O) \) (assuming ideal gas behavior), as a function of temperature [K].

The method takes temperature (in Kelvins) as an input argument.

Implements FuelCellShop::Material::PureGas.

virtual char* FuelCellShop::Material::Water::get_name ( )
virtual
virtual void FuelCellShop::Material::Water::get_viscosity ( double &  mu,
const double &  T 
)
virtual
static double FuelCellShop::Material::Water::molarWeight ( )
inlinestatic

Static method to return molar weight of water in grams/mole.

static double FuelCellShop::Material::Water::satPressure ( const double &  )
static

Static method to return Water vapor saturation pressure in Pascals for an input temperature in Kelvin.


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