OpenFCST: The open-source Fuel Cell Simulation Toolbox
|
Virtual class used to describe different gases and pure materials for which viscority, diffusivity, etc. More...
#include <PureGas.h>
Public Member Functions | |
PureGas () | |
virtual | ~PureGas () |
virtual double | getCollisionDiameter () |
Lennard-Jones parameters. | |
virtual double | getDimensionlessTemperature (const double &T) |
virtual enMaterialID | get_ID ()=0 |
virtual char * | get_name ()=0 |
virtual char * | get_formula ()=0 |
virtual void | get_viscosity (double &mu, const double &T)=0 |
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) |
virtual double | get_molar_enthalpy (const double &T) const =0 |
Abstract method for defining interface to return molar enthalpy [J/mol ] of an ideal gas. | |
virtual double | get_dmolar_enthalpy_dT (const double &T) const =0 |
Abstract method for defining interface to return derivative of molar enthalpy [J/mol ] w.r.t Temperature [K ], for an ideal gas. | |
virtual double | get_d2molar_enthalpy_dT2 (const double &T) const =0 |
Abstract method for defining interface to return second derivative of molar enthalpy [J/mol ] w.r.t Temperature [K ], for an ideal gas. | |
Public Attributes | |
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 | |
Additional Inherited Members | |
Private Member Functions inherited from FuelCellShop::Material::BaseMaterial | |
virtual void | initialize (ParameterHandler &) |
Member function used to read in data and initialize the necessary data to compute the coefficients. | |
void | set_derivative_flags (const std::vector< VariableNames > &flags) |
Set the variables for which you would like to compute the derivatives. | |
const std::string & | name_material () |
Return the name of the layer. | |
virtual void | print_material_properties () const |
This function prints out the material properties. | |
BaseMaterial () | |
Constructor. | |
BaseMaterial (const std::string &name) | |
Constructor. | |
virtual | ~BaseMaterial () |
Destructor. | |
virtual void | declare_parameters (ParameterHandler &) const |
Declare parameters for a parameter file. | |
virtual void | set_parameters (const std::vector< std::string > &, const std::vector< double > &, ParameterHandler &) |
Member function used to change the values in the parameter file for a given list of parameters. | |
Virtual class used to describe different gases and pure materials for which viscority, diffusivity, etc.
can be computed
FuelCellShop::Material::PureGas::PureGas | ( | ) |
|
virtual |
|
pure virtual |
Abstract method for defining interface to return second derivative of molar enthalpy [J/mol
] w.r.t Temperature [K
], for an ideal gas.
The method takes temperature (in Kelvins
) as an input argument.
Implemented in FuelCellShop::Material::Hydrogen, FuelCellShop::Material::Water, FuelCellShop::Material::Nitrogen, and FuelCellShop::Material::Oxygen.
|
pure virtual |
Abstract method for defining interface to return derivative of molar enthalpy [J/mol
] w.r.t Temperature [K
], for an ideal gas.
The method takes temperature (in Kelvins
) as an input argument.
Implemented in FuelCellShop::Material::Hydrogen, FuelCellShop::Material::Water, FuelCellShop::Material::Nitrogen, and FuelCellShop::Material::Oxygen.
|
virtual |
|
virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Abstract method for defining interface to return molar enthalpy [J/mol
] of an ideal gas.
For an ideal gas, it's just a function of temperature. The method takes temperature (in Kelvins
) as an input argument.
Implemented in FuelCellShop::Material::Hydrogen, FuelCellShop::Material::Water, FuelCellShop::Material::Nitrogen, and FuelCellShop::Material::Oxygen.
|
pure virtual |
Implemented in FuelCellShop::Material::Hydrogen, FuelCellShop::Material::Water, FuelCellShop::Material::Nitrogen, and FuelCellShop::Material::Oxygen.
Referenced by FuelCellShop::Equation::FicksTransportEquation< dim >::set_solute_and_solvent(), and FuelCellShop::Equation::NewFicksTransportEquation< dim >::set_solute_and_solvent().
|
pure virtual |
|
virtual |
|
virtual |
|
virtual |
Lennard-Jones parameters.
|
virtual |
double FuelCellShop::Material::PureGas::e_k |
epsilon/k
double FuelCellShop::Material::PureGas::hard_sphere_diameter |
Hard sphere diameter in Angstrom.
double FuelCellShop::Material::PureGas::M |
Molar mass in g/mol or kg/kmol.
double FuelCellShop::Material::PureGas::Mu_0 |
dynamic viscosity at STP
double FuelCellShop::Material::PureGas::Pc |
Critical pressure in bar.
double FuelCellShop::Material::PureGas::Tc |
Critical temperature in Kelvin.
double FuelCellShop::Material::PureGas::Tnb |
in Kelvin
double FuelCellShop::Material::PureGas::Vc |
Critical volume in Cm3/mol.
double FuelCellShop::Material::PureGas::Vl |
in m3/kmol
double FuelCellShop::Material::PureGas::w |
Material other critical properties.
double FuelCellShop::Material::PureGas::Zc |
Critical gas compressibility factor (Z).
It is a useful thermodynamic property for modifying the ideal gas law to account for the real gas behavior