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

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

#include <PureGas.h>

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

Public Member Functions

 Hydrogen ()
 
virtual ~Hydrogen ()
 
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 Hydrogen gas \( (H_2) \) (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 Hydrogen 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 Hydrogen 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)
 

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

Hydrogen as a publicly derived class of Material.

Constructor & Destructor Documentation

FuelCellShop::Material::Hydrogen::Hydrogen ( )
virtual FuelCellShop::Material::Hydrogen::~Hydrogen ( )
virtual

Member Function Documentation

virtual double FuelCellShop::Material::Hydrogen::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 Hydrogen gas (assuming ideal gas behavior).

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

Implements FuelCellShop::Material::PureGas.

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

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

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

Implements FuelCellShop::Material::PureGas.

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

Method to return molar enthalpy [J/mol] of Hydrogen gas \( (H_2) \) (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::Hydrogen::get_name ( )
virtual
virtual void FuelCellShop::Material::Hydrogen::get_viscosity ( double &  mu,
const double &  T 
)
virtual

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