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

This class describes properties of pure oxygen. More...

#include <PureGas.h>

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

Public Member Functions

Constructors, destructor, and initialization
 Oxygen ()
 Constructor. More...
 
virtual ~Oxygen ()
 Destructor. More...
 
Accessors and info
virtual enMaterialID get_ID () const
 This function returns a number from enMaterialID enumeration. More...
 
- Public Member Functions inherited from FuelCellShop::Material::PureGas
const double & get_molar_mass () const
 This function returns molar_mass [kg/mol]. More...
 
const double & get_collision_diameter () const
 This function returns collision_diameter [Angstrom]. More...
 
const double & get_eps_BY_k () const
 This function returns eps_BY_k (K). More...
 
const double & get_Prandtl () const
 This function returns Prandtl. More...
 
const std::string & get_chemical_formula () const
 This function returns chemical_formula. More...
 
const std::string & get_dynamic_viscosity_mode () const
 This function returns dynamic_viscosity_mode. More...
 
const std::string & get_bulk_viscosity_mode () const
 This function returns bulk_viscosity_mode. More...
 
const std::string & get_thermal_conductivity_mode () const
 This function returns thermal_conductivity_mode. More...
 
const double get_pressure (const double &density, const double &temperature) const
 This function returns pressure (Pa) of a pure ideal gas. More...
 
void get_pressure (const std::vector< double > &density, const double &temperature, std::vector< double > &pressure) const
 This function returns pressure (Pa) of a pure ideal gas in the quadrature points of a mesh entity at a constant temperature (isothermal case). More...
 
void get_pressure (const std::vector< double > &density, const std::vector< double > &temperature, std::vector< double > &pressure) const
 This function returns pressure (Pa) of a pure ideal gas in the quadrature points of a mesh entity at a variable temperature (non-isothermal case). More...
 
const double get_Dpressure_Ddensity (const double &temperature) const
 This function returns $ \quad \frac{\partial p}{\partial \rho} \quad $ of a pure ideal gas. More...
 
void get_Dpressure_Ddensity (const std::vector< double > &temperature, std::vector< double > &dst) const
 This function returns $ \quad \frac{\partial p}{\partial \rho} \quad $ of a pure ideal gas in the quadrature points of a mesh entity. More...
 
const double get_Dpressure_Dtemperature (const double &density) const
 This function returns $ \quad \frac{\partial p}{\partial T} \quad $ of a pure ideal gas. More...
 
void get_Dpressure_Dtemperature (const std::vector< double > &density, std::vector< double > &dst) const
 This function returns $ \quad \frac{\partial p}{\partial T} \quad $ of a pure ideal gas in the quadrature points of a mesh entity. More...
 
const double get_density (const double &temperature, const double &pressure, const double &molarMass) const
 This function returns density [kg/m^3] of a pure ideal gas. More...
 
const double get_Sutherland_dynamic_viscosity (const double &temperature) const
 This function returns Sutherland dynamic viscosity [kg/(m s)] of a pure gas. More...
 
void get_Sutherland_dynamic_viscosity (const std::vector< double > &temperature, std::vector< double > &dynamic_viscosity) const
 This function returns Sutherland dynamic viscosity [kg/(m s)] of a pure gas in the quadrature points of a mesh entity. More...
 
const double get_DSutherland_dynamic_viscosity_Dtemperature (const double &temperature) const
 This function returns the first derivative $ \quad \frac{\partial \mu}{\partial T} \quad $ of the Sutherland dynamic viscosity of a pure gas. More...
 
void get_DSutherland_dynamic_viscosity_Dtemperature (const std::vector< double > &temperature, std::vector< double > &dst) const
 This function returns the first derivative $ \quad \frac{\partial \mu}{\partial T} \quad $ of the Sutherland dynamic viscosity of a pure gas in the quadrature points of a mesh entity. More...
 
const double get_ChapmanEnskog_dynamic_viscosity (const double &temperature) const
 This function returns Chapman Enskog dynamic viscosity [kg/(m s)] of a pure gas. More...
 
void get_ChapmanEnskog_dynamic_viscosity (const std::vector< double > &temperature, std::vector< double > &dynamic_viscosity) const
 This function returns Chapman Enskog dynamic viscosity [kg/(m s)] of a pure gas in the quadrature points of a mesh entity. More...
 
const double get_DChapmanEnskog_dynamic_viscosity_Dtemperature (const double &temperature) const
 This function returns the first derivative $ \quad \frac{\partial \mu}{\partial T} \quad $ of the Chapman Enskog dynamic viscosity of a pure gas. More...
 
void get_DChapmanEnskog_dynamic_viscosity_Dtemperature (const std::vector< double > &temperature, std::vector< double > &dst) const
 This function returns the first derivative $ \quad \frac{\partial \mu}{\partial T} \quad $ of the Chapman Enskog dynamic viscosity of a pure gas in the quadrature points of a mesh entity. More...
 
const double get_dynamic_viscosity (const double &temperature) const
 This function returns desired dynamic viscosity [kg/(m s)] of a pure gas. More...
 
void get_dynamic_viscosity (const std::vector< double > &temperature, std::vector< double > &dynamic_viscosity) const
 This function returns desired dynamic viscosity [kg/(m s)] of a pure gas in the quadrature points of a mesh entity. More...
 
const double get_Ddynamic_viscosity_Dtemperature (const double &temperature) const
 This function returns the first derivative $ \quad \frac{\partial \mu}{\partial T} \quad $ of the desired dynamic viscosity of a pure gas. More...
 
void get_Ddynamic_viscosity_Dtemperature (const std::vector< double > &temperature, std::vector< double > &dst) const
 This function returns the first derivative $ \quad \frac{\partial \mu}{\partial T} \quad $ of the desired dynamic viscosity of a pure gas in the quadrature points of a mesh entity. More...
 
const double get_bulk_viscosity (const double &dynamic_viscosity) const
 This function returns desired bulk viscosity of a pure gas. More...
 
void get_bulk_viscosity (const std::vector< double > &dynamic_viscosity, std::vector< double > &bulk_viscosity) const
 This function returns desired bulk viscosity of a pure gas in the quadrature points of a mesh entity. More...
 
const double get_Dbulk_viscosity_Dtemperature (const double &src) const
 This function returns the first derivative $ \quad \frac{\partial \lambda}{\partial T} \quad $ of the desired bulk viscosity of a pure gas. More...
 
void get_Dbulk_viscosity_Dtemperature (const std::vector< double > &src, std::vector< double > &dst) const
 This function returns the first derivative $ \quad \frac{\partial \lambda}{\partial T} \quad $ of the desired bulk viscosity of a pure gas in the quadrature points of a mesh entity. More...
 
const double get_Sutherland_thermal_conductivity (const double &temperature) const
 This function returns Sutherland thermal conductivity of a pure gas. More...
 
void get_Sutherland_thermal_conductivity (const std::vector< double > &temperature, std::vector< double > &thermal_conductivity) const
 This function returns Sutherland thermal conductivity of a pure gas in the quadrature points of a mesh entity. More...
 
const double get_DSutherland_thermal_conductivity_Dtemperature (const double &temperature) const
 This function returns the first derivative $ \quad \frac{\partial \kappa}{\partial T} \quad $ of the Sutherland thermal conductivity of a pure gas. More...
 
void get_DSutherland_thermal_conductivity_Dtemperature (const std::vector< double > &temperature, std::vector< double > &dst) const
 This function returns the first derivative $ \quad \frac{\partial \kappa}{\partial T} \quad $ of the Sutherland thermal conductivity of a pure gas in the quadrature points of a mesh entity. More...
 
const double get_ChapmanEnskog_thermal_conductivity (const double &temperature) const
 This function returns Chapman Enskog thermal conductivity [W/(m K)] of a pure gas. More...
 
void get_ChapmanEnskog_thermal_conductivity (const std::vector< double > &temperature, std::vector< double > &thermal_conductivity) const
 This function returns Chapman Enskog thermal conductivity of a pure gas in the quadrature points of a mesh entity. More...
 
const double get_DChapmanEnskog_thermal_conductivity_Dtemperature (const double &temperature) const
 This function returns the first derivative $ \quad \frac{\partial \kappa}{\partial T} \quad $ of the Chapman Enskog thermal conductivity of a pure gas. More...
 
void get_DChapmanEnskog_thermal_conductivity_Dtemperature (const std::vector< double > &temperature, std::vector< double > &dst) const
 This function returns the first derivative $ \quad \frac{\partial \kappa}{\partial T} \quad $ of the Chapman Enskog thermal conductivity of a pure gas in the quadrature points of a mesh entity. More...
 
const double get_thermal_conductivity (const double &temperature) const
 This function returns desired thermal conductivity [W/(m K)] of a pure gas. More...
 
void get_thermal_conductivity (const std::vector< double > &temperature, std::vector< double > &thermal_conductivity) const
 This function returns desired thermal conductivity of a pure gas in the quadrature points of a mesh entity. More...
 
const double get_Dthermal_conductivity_Dtemperature (const double &temperature) const
 This function returns the first derivative $ \quad \frac{\partial \kappa}{\partial T} \quad $ of the desired thermal conductivity of a pure gas. More...
 
void get_Dthermal_conductivity_Dtemperature (const std::vector< double > &temperature, std::vector< double > &dst) const
 This function returns the first derivative $ \quad \frac{\partial \kappa}{\partial T} \quad $ of the desired thermal conductivity of a pure gas in the quadrature points of a mesh entity. More...
 
const double get_molar_enthalpy (const double &temperature) const
 This function returns molar enthalpy [J/mol] of a pure gas. More...
 
void get_molar_enthalpy (const std::vector< double > &temperature, std::vector< double > &molar_enthalpy) const
 This function returns molar enthalpy of a pure gas in the quadrature points of a mesh entity. More...
 
const double get_Dmolar_enthalpy_Dtemperature (const double &temperature) const
 This function returns the first derivative $ \quad \frac{\partial H}{\partial T} \quad $ of the molar enthalpy of a pure gas. More...
 
void get_Dmolar_enthalpy_Dtemperature (const std::vector< double > &temperature, std::vector< double > &dst) const
 This function returns the first derivative $ \quad \frac{\partial H}{\partial T} \quad $ of the molar enthalpy of a pure gas in the quadrature points of a mesh entity. More...
 
const double get_D2molar_enthalpy_Dtemperature2 (const double &temperature) const
 This function returns the second derivative $ \quad \frac{\partial^2 H}{\partial T^2} \quad $ of the molar enthalpy of a pure gas. More...
 
void get_D2molar_enthalpy_Dtemperature2 (const std::vector< double > &temperature, std::vector< double > &dst) const
 This function returns the second derivative $ \quad \frac{\partial^2 H}{\partial T^2} \quad $ of the molar enthalpy of a pure gas in the quadrature points of a mesh entity. More...
 
const double get_water_vapor_saturation_pressure (const double &temperature) const
 This function returns saturation pressure [Pa] of water vapor. More...
 
void get_water_vapor_saturation_pressure (const std::vector< double > &temperature, std::vector< double > &water_vapor_saturation_pressure) const
 This function returns saturation pressure of water vapor in the quadrature points of a mesh entity. More...
 
const double get_Dwater_vapor_saturation_pressure_Dtemperature (const double &temperature) const
 This function returns the first derivative $ \quad \frac{\partial p_{\text{sat}}^{H_2O}}{\partial T} \quad $ of the saturation pressure of water vapor. More...
 
void get_Dwater_vapor_saturation_pressure_Dtemperature (const std::vector< double > &temperature, std::vector< double > &dst) const
 This function returns the first derivative $ \quad \frac{\partial p_{\text{sat}}^{H_2O}}{\partial T} \quad $ of the saturation pressure of water vapor in the quadrature points of a mesh entity. More...
 
const double get_collision_integral (const double &temperature) const
 This function returns collision integral of a pure gas. More...
 
void get_collision_integral (const std::vector< double > &temperature, std::vector< double > &collision_integral) const
 This function returns collision integral of a pure gas in the quadrature points of a mesh entity. More...
 
const double get_Dcollision_integral_Dtemperature (const double &temperature) const
 This function returns the first derivative $ \quad \frac{\partial \Omega_{\mu, \kappa}}{\partial T} \quad $ of the collision integral of a pure gas. More...
 
void get_Dcollision_integral_Dtemperature (const std::vector< double > &temperature, std::vector< double > &dst) const
 This function returns the first derivative $ \quad \frac{\partial \Omega_{\mu, \kappa}}{\partial T} \quad $ of the collision integral of a pure gas in the quadrature points of a mesh entity. More...
 
const double get_specific_heat_capacity (const double &temperature) const
 This function returns specific heat capacity [J/(g C)] at constant pressure of a pure gas. More...
 
void get_specific_heat_capacity (const std::vector< double > &temperature, std::vector< double > &specific_heat_capacity) const
 This function returns specific heat capacity at constant pressure of a pure gas in the quadrature points of a mesh entity. More...
 
const double get_Dspecific_heat_capacity_Dtemperature (const double &temperature) const
 This function returns the first derivative $ \quad \frac{\partial c_p}{\partial T} \quad $ of the specific heat capacity at constant pressure of a pure gas. More...
 
void get_Dspecific_heat_capacity_Dtemperature (const std::vector< double > &temperature, std::vector< double > &dst) const
 This function returns the first derivative $ \quad \frac{\partial c_p}{\partial T} \quad $ of the specific heat capacity at constant pressure of a pure gas in the quadrature points of a mesh entity. More...
 
const double get_D2specific_heat_capacity_Dtemperature2 (const double &temperature) const
 This function returns the second derivative $ \quad \frac{\partial^2 c_p}{\partial T^2} \quad $ of the specific heat capacity at constant pressure of a pure gas. More...
 
void get_D2specific_heat_capacity_Dtemperature2 (const std::vector< double > &temperature, std::vector< double > &dst) const
 This function returns the second derivative $ \quad \frac{\partial^2 c_p}{\partial T^2} \quad $ of the specific heat capacity at constant pressure of a pure gas in the quadrature points of a mesh entity. More...
 
virtual ~PureGas ()
 Destructor. More...
 
virtual void declare_parameters (ParameterHandler &param) const
 Declare parameters. More...
 
virtual void initialize (ParameterHandler &param)
 Initialize parameters. More...
 
- Public Member Functions inherited from FuelCellShop::Material::BaseMaterial
void set_derivative_flags (const std::vector< VariableNames > &flags)
 Set the names of FCST solution variables with respect to which you would like to compute the derivatives of material properties. More...
 
const std::string & name_material () const
 Return the name of the layer. More...
 
virtual void print_material_properties () const
 This function prints out the material properties. More...
 

Additional Inherited Members

- Protected Member Functions inherited from FuelCellShop::Material::PureGas
 PureGas (const std::string &name)
 Constructor. More...
 
- Protected Member Functions inherited from FuelCellShop::Material::BaseMaterial
 BaseMaterial ()
 Constructor. More...
 
 BaseMaterial (const std::string &name)
 Constructor. More...
 
virtual ~BaseMaterial ()
 Destructor. More...
 
- Protected Attributes inherited from FuelCellShop::Material::PureGas
double molar_mass
 Molar mass [kg/mol], $ M \quad \left[ \frac{\text{kg}}{\text{mol}} \right] $. More...
 
double collision_diameter
 Collision diameter [Angstrom], $ \sigma \quad \left[ \text{Angstrom} \right] $. More...
 
double eps_BY_k
 The maximum energy of attraction divided by the Boltzmann constant, $ \frac{\epsilon}{k} \quad \left[ \text{K} \right] $. More...
 
double Prandtl
 Prandtl number, $ \text{Pr} $. More...
 
double A_Sutherland
 Coefficient of the Sutherland dynamic viscosity formula, $ A \quad \left[ \frac{\text{Pa sec}}{\text{K}^{1/2}} \right] $. More...
 
double B_Sutherland
 Coefficient of the Sutherland dynamic viscosity formula, $ B \quad \left[ \text{K} \right] $. More...
 
double c_0
 Coefficient of the specific heat capacity at constant pressure formula, $ c_0 \quad \left[ \frac{\text{J}}{\text{kg K}} \right] $. More...
 
double c_1
 Coefficient of the specific heat capacity at constant pressure formula, $ c_1 \quad \left[ \frac{\text{J}}{\text{kg } \text{K}^2} \right] $. More...
 
double c_2
 Coefficient of the specific heat capacity at constant pressure formula, $ c_2 \quad \left[ \frac{\text{J}}{\text{kg } \text{K}^3} \right] $. More...
 
double c_3
 Coefficient of the specific heat capacity at constant pressure formula, $ c_3 \quad \left[ \frac{\text{J}}{\text{kg } \text{K}^4} \right] $. More...
 
double H_ref
 Coefficient of the molar enthalpy formula $ H^{\text{ref}} \quad \left[ \frac{\text{J}}{\text{mol}} \right] $. More...
 
double T_ref
 Coefficient of the molar enthalpy formula $ T^{\text{ref}} \quad \left[ \text{K} \right] $. More...
 
std::string chemical_formula
 Chemical formula of the pure gas. More...
 
std::string dynamic_viscosity_mode
 
std::string bulk_viscosity_mode
 
std::string thermal_conductivity_mode
 
- Protected Attributes inherited from FuelCellShop::Material::BaseMaterial
const std::string name
 Name of the layer. More...
 
std::vector< VariableNamesderivative_flags
 Flags for derivatives: These flags are used to request derivatives of material properties. More...
 

Detailed Description

This class describes properties of pure oxygen.

Use this name in the parameters file if needed.

Parameters
molar_mass- [kg/mol]; Poling, Bruce E., et al. The properties of gases and liquids. Vol. 5. New York: McGraw-Hill, 2001.
collision_diameter- [Angstrom]; Bird, R. Byron. "Transport phenomena." Applied Mechanics Reviews 55.1 (2002): R1-R4.
eps_BY_k- [K]; Bird, R. Byron. "Transport phenomena." Applied Mechanics Reviews 55.1 (2002): R1-R4.
SpecificHeat- [J/kg K];
Author
M. Secanell and Valentin N. Zingan, 2013

Constructor & Destructor Documentation

FuelCellShop::Material::Oxygen::Oxygen ( )
inline
virtual FuelCellShop::Material::Oxygen::~Oxygen ( )
inlinevirtual

Destructor.

Member Function Documentation

virtual enMaterialID FuelCellShop::Material::Oxygen::get_ID ( ) const
inlinevirtual

This function returns a number from enMaterialID enumeration.

Such that:

Implements FuelCellShop::Material::PureGas.

References matOxygen.


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