OpenFCST: The open-source Fuel Cell Simulation Toolbox
|
This class is a base class for all pure gases used in OpenFCST. More...
#include <PureGas.h>
Public Member Functions | |
Accessors and info | |
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... | |
virtual enMaterialID | get_ID () const =0 |
This function returns a number from enMaterialID enumeration. 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... | |
Service functions. EoS. | |
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 of a pure ideal gas. More... | |
void | get_Dpressure_Ddensity (const std::vector< double > &temperature, std::vector< double > &dst) const |
This function returns 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 of a pure ideal gas. More... | |
void | get_Dpressure_Dtemperature (const std::vector< double > &density, std::vector< double > &dst) const |
This function returns of a pure ideal gas in the quadrature points of a mesh entity. More... | |
Service functions. Density. | |
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... | |
Service functions. Sutherland dynamic viscosity. | |
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 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 of the Sutherland dynamic viscosity of a pure gas in the quadrature points of a mesh entity. More... | |
Service functions. Chapman Enskog dynamic viscosity. | |
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 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 of the Chapman Enskog dynamic viscosity of a pure gas in the quadrature points of a mesh entity. More... | |
Service functions. Dynamic viscosity. | |
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 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 of the desired dynamic viscosity of a pure gas in the quadrature points of a mesh entity. More... | |
Service functions. Bulk viscosity. | |
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 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 of the desired bulk viscosity of a pure gas in the quadrature points of a mesh entity. More... | |
Service functions. Sutherland thermal conductivity. | |
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 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 of the Sutherland thermal conductivity of a pure gas in the quadrature points of a mesh entity. More... | |
Service functions. Chapman Enskog thermal conductivity. | |
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 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 of the Chapman Enskog thermal conductivity of a pure gas in the quadrature points of a mesh entity. More... | |
Service functions. Thermal conductivity. | |
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 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 of the desired thermal conductivity of a pure gas in the quadrature points of a mesh entity. More... | |
Service functions. Molar enthalpy. | |
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 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 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 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 of the molar enthalpy of a pure gas in the quadrature points of a mesh entity. More... | |
Service functions. Water vapor saturation pressure. | |
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 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 of the saturation pressure of water vapor in the quadrature points of a mesh entity. More... | |
Service functions. Collision integral. | |
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 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 of the collision integral of a pure gas in the quadrature points of a mesh entity. More... | |
Service functions. Specific heat capacity at constant pressure. | |
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 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 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 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 of the specific heat capacity at constant pressure of a pure gas in the quadrature points of a mesh entity. 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... | |
Protected Attributes | |
Fluid properties | |
double | molar_mass |
Molar mass [kg/mol], . More... | |
double | collision_diameter |
Collision diameter [Angstrom], . More... | |
double | eps_BY_k |
The maximum energy of attraction divided by the Boltzmann constant, . More... | |
double | Prandtl |
Prandtl number, . More... | |
Coefficients | |
double | A_Sutherland |
Coefficient of the Sutherland dynamic viscosity formula, . More... | |
double | B_Sutherland |
Coefficient of the Sutherland dynamic viscosity formula, . More... | |
double | c_0 |
Coefficient of the specific heat capacity at constant pressure formula, . More... | |
double | c_1 |
Coefficient of the specific heat capacity at constant pressure formula, . More... | |
double | c_2 |
Coefficient of the specific heat capacity at constant pressure formula, . More... | |
double | c_3 |
Coefficient of the specific heat capacity at constant pressure formula, . More... | |
double | H_ref |
Coefficient of the molar enthalpy formula . More... | |
double | T_ref |
Coefficient of the molar enthalpy formula . More... | |
Names and modes | |
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< VariableNames > | derivative_flags |
Flags for derivatives: These flags are used to request derivatives of material properties. More... | |
Constructors, destructor, and initialization | |
virtual | ~PureGas () |
Destructor. More... | |
virtual void | declare_parameters (ParameterHandler ¶m) const |
Declare parameters. More... | |
virtual void | initialize (ParameterHandler ¶m) |
Initialize parameters. More... | |
PureGas (const std::string &name) | |
Constructor. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from FuelCellShop::Material::BaseMaterial | |
BaseMaterial () | |
Constructor. More... | |
BaseMaterial (const std::string &name) | |
Constructor. More... | |
virtual | ~BaseMaterial () |
Destructor. More... | |
This class is a base class for all pure gases used in OpenFCST.
This class contains data provided by its children and implements the methods by means of which different properties of pure gases can be computed.
These methods include:
All those methods receive data in SI units. All those methods return the results in SI units.
|
virtual |
Destructor.
|
protected |
Constructor.
|
virtual |
Declare parameters.
Reimplemented from FuelCellShop::Material::BaseMaterial.
const double FuelCellShop::Material::PureGas::get_bulk_viscosity | ( | const double & | dynamic_viscosity | ) | const |
This function returns desired bulk viscosity of a pure gas.
dynamic_viscosity | - dynamic viscosity [kg/(m s)]. |
void FuelCellShop::Material::PureGas::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.
dynamic_viscosity | - dynamic viscosity in the quadrature points of a mesh entity [kg/(m s)], |
bulk_viscosity | - bulk viscosity in the quadrature points of a mesh entity [kg/(m s)]. |
|
inline |
This function returns bulk_viscosity_mode
.
References bulk_viscosity_mode.
const double FuelCellShop::Material::PureGas::get_ChapmanEnskog_dynamic_viscosity | ( | const double & | temperature | ) | const |
This function returns Chapman Enskog dynamic viscosity [kg/(m s)] of a pure gas.
Parameters:
temperature | - temperature [K]. |
void FuelCellShop::Material::PureGas::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.
Parameters:
temperature | - temperature in the quadrature points of a mesh entity [K], |
dynamic_viscosity | - dynamic viscosity in the quadrature points of a mesh entity [kg/(m s)]. |
const double FuelCellShop::Material::PureGas::get_ChapmanEnskog_thermal_conductivity | ( | const double & | temperature | ) | const |
This function returns Chapman Enskog thermal conductivity [W/(m K)] of a pure gas.
temperature | - temperature [K]. |
void FuelCellShop::Material::PureGas::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.
temperature | - temperature in the quadrature points of a mesh entity [K], |
thermal_conductivity | - thermal conductivity in the quadrature points of a mesh entity [W/(m K)]. |
|
inline |
This function returns chemical_formula
.
References chemical_formula.
|
inline |
This function returns collision_diameter
[Angstrom].
References collision_diameter.
const double FuelCellShop::Material::PureGas::get_collision_integral | ( | const double & | temperature | ) | const |
This function returns collision integral of a pure gas.
temperature | - temperature [K]. |
void FuelCellShop::Material::PureGas::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.
temperature | - temperature in the quadrature points of a mesh entity [K], |
collision_integral | - collision integral in the quadrature points of a mesh entity. |
const double FuelCellShop::Material::PureGas::get_D2molar_enthalpy_Dtemperature2 | ( | const double & | temperature | ) | const |
This function returns the second derivative of the molar enthalpy of a pure gas.
temperature | - temperature [K]. |
void FuelCellShop::Material::PureGas::get_D2molar_enthalpy_Dtemperature2 | ( | const std::vector< double > & | temperature, |
std::vector< double > & | dst | ||
) | const |
This function returns the second derivative of the molar enthalpy of a pure gas in the quadrature points of a mesh entity.
temperature | - temperature in the quadrature points of a mesh entity [K], |
dst | - in the quadrature points of a mesh entity. |
const double FuelCellShop::Material::PureGas::get_D2specific_heat_capacity_Dtemperature2 | ( | const double & | temperature | ) | const |
This function returns the second derivative of the specific heat capacity at constant pressure of a pure gas.
temperature | - temperature [K]. |
void FuelCellShop::Material::PureGas::get_D2specific_heat_capacity_Dtemperature2 | ( | const std::vector< double > & | temperature, |
std::vector< double > & | dst | ||
) | const |
This function returns the second derivative of the specific heat capacity at constant pressure of a pure gas in the quadrature points of a mesh entity.
temperature | - temperature in the quadrature points of a mesh entity, |
dst | - in the quadrature points of a mesh entity. |
const double FuelCellShop::Material::PureGas::get_Dbulk_viscosity_Dtemperature | ( | const double & | src | ) | const |
This function returns the first derivative of the desired bulk viscosity of a pure gas.
src | - the first derivative of the desired dynamic viscosity of a pure gas. |
void FuelCellShop::Material::PureGas::get_Dbulk_viscosity_Dtemperature | ( | const std::vector< double > & | src, |
std::vector< double > & | dst | ||
) | const |
This function returns the first derivative of the desired bulk viscosity of a pure gas in the quadrature points of a mesh entity.
src | - the first derivative of the desired dynamic viscosity of a pure gas in the quadrature points of a mesh entity, |
dst | - the first derivative of the desired bulk viscosity of a pure gas in the quadrature points of a mesh entity. |
const double FuelCellShop::Material::PureGas::get_DChapmanEnskog_dynamic_viscosity_Dtemperature | ( | const double & | temperature | ) | const |
This function returns the first derivative of the Chapman Enskog dynamic viscosity of a pure gas.
temperature | - temperature [K]. |
void FuelCellShop::Material::PureGas::get_DChapmanEnskog_dynamic_viscosity_Dtemperature | ( | const std::vector< double > & | temperature, |
std::vector< double > & | dst | ||
) | const |
This function returns the first derivative of the Chapman Enskog dynamic viscosity of a pure gas in the quadrature points of a mesh entity.
temperature | - temperature in the quadrature points of a mesh entity [K], |
dst | - in the quadrature points of a mesh entity. |
const double FuelCellShop::Material::PureGas::get_DChapmanEnskog_thermal_conductivity_Dtemperature | ( | const double & | temperature | ) | const |
This function returns the first derivative of the Chapman Enskog thermal conductivity of a pure gas.
temperature | - temperature [K]. |
void FuelCellShop::Material::PureGas::get_DChapmanEnskog_thermal_conductivity_Dtemperature | ( | const std::vector< double > & | temperature, |
std::vector< double > & | dst | ||
) | const |
This function returns the first derivative of the Chapman Enskog thermal conductivity of a pure gas in the quadrature points of a mesh entity.
temperature | - temperature in the quadrature points of a mesh entity [K], |
dst | - in the quadrature points of a mesh entity. |
const double FuelCellShop::Material::PureGas::get_Dcollision_integral_Dtemperature | ( | const double & | temperature | ) | const |
This function returns the first derivative of the collision integral of a pure gas.
temperature | - temperature [K]. |
void FuelCellShop::Material::PureGas::get_Dcollision_integral_Dtemperature | ( | const std::vector< double > & | temperature, |
std::vector< double > & | dst | ||
) | const |
This function returns the first derivative of the collision integral of a pure gas in the quadrature points of a mesh entity.
temperature | - temperature in the quadrature points of a mesh entity [K], |
dst | - in the quadrature points of a mesh entity. |
const double FuelCellShop::Material::PureGas::get_Ddynamic_viscosity_Dtemperature | ( | const double & | temperature | ) | const |
This function returns the first derivative of the desired dynamic viscosity of a pure gas.
temperature | - temperature [K]. |
void FuelCellShop::Material::PureGas::get_Ddynamic_viscosity_Dtemperature | ( | const std::vector< double > & | temperature, |
std::vector< double > & | dst | ||
) | const |
This function returns the first derivative of the desired dynamic viscosity of a pure gas in the quadrature points of a mesh entity.
temperature | - temperature in the quadrature points of a mesh entity [K], |
dst | - in the quadrature points of a mesh entity. |
const double FuelCellShop::Material::PureGas::get_density | ( | const double & | temperature, |
const double & | pressure, | ||
const double & | molarMass | ||
) | const |
This function returns density [kg/m^3] of a pure ideal gas.
temperature | - temperature [K], |
pressure | - pressure [Pa], |
molarMass | - molar mass [kg/mol]. |
const double FuelCellShop::Material::PureGas::get_Dmolar_enthalpy_Dtemperature | ( | const double & | temperature | ) | const |
This function returns the first derivative of the molar enthalpy of a pure gas.
temperature | - temperature [K]. |
void FuelCellShop::Material::PureGas::get_Dmolar_enthalpy_Dtemperature | ( | const std::vector< double > & | temperature, |
std::vector< double > & | dst | ||
) | const |
This function returns the first derivative of the molar enthalpy of a pure gas in the quadrature points of a mesh entity.
temperature | - temperature in the quadrature points of a mesh entity [K], |
dst | - in the quadrature points of a mesh entity. |
const double FuelCellShop::Material::PureGas::get_Dpressure_Ddensity | ( | const double & | temperature | ) | const |
This function returns of a pure ideal gas.
temperature | - temperature [K]. |
void FuelCellShop::Material::PureGas::get_Dpressure_Ddensity | ( | const std::vector< double > & | temperature, |
std::vector< double > & | dst | ||
) | const |
This function returns of a pure ideal gas in the quadrature points of a mesh entity.
temperature | - temperature in the quadrature points of a mesh entity [K], |
dst | - in the quadrature points of a mesh entity. |
const double FuelCellShop::Material::PureGas::get_Dpressure_Dtemperature | ( | const double & | density | ) | const |
This function returns of a pure ideal gas.
density | - density [kg/m^3]. |
void FuelCellShop::Material::PureGas::get_Dpressure_Dtemperature | ( | const std::vector< double > & | density, |
std::vector< double > & | dst | ||
) | const |
This function returns of a pure ideal gas in the quadrature points of a mesh entity.
density | - density in the quadrature points of a mesh entity, |
dst | - in the quadrature points of a mesh entity. |
const double FuelCellShop::Material::PureGas::get_Dspecific_heat_capacity_Dtemperature | ( | const double & | temperature | ) | const |
This function returns the first derivative of the specific heat capacity at constant pressure of a pure gas.
temperature | - temperature [K]. |
void FuelCellShop::Material::PureGas::get_Dspecific_heat_capacity_Dtemperature | ( | const std::vector< double > & | temperature, |
std::vector< double > & | dst | ||
) | const |
This function returns the first derivative of the specific heat capacity at constant pressure of a pure gas in the quadrature points of a mesh entity.
temperature | - temperature in the quadrature points of a mesh entity [K], |
dst | - in the quadrature points of a mesh entity. |
const double FuelCellShop::Material::PureGas::get_DSutherland_dynamic_viscosity_Dtemperature | ( | const double & | temperature | ) | const |
This function returns the first derivative of the Sutherland dynamic viscosity of a pure gas.
temperature | - temperature [K]. |
void FuelCellShop::Material::PureGas::get_DSutherland_dynamic_viscosity_Dtemperature | ( | const std::vector< double > & | temperature, |
std::vector< double > & | dst | ||
) | const |
This function returns the first derivative of the Sutherland dynamic viscosity of a pure gas in the quadrature points of a mesh entity.
temperature | - temperature in the quadrature points of a mesh entity [K], |
dst | - in the quadrature points of a mesh entity. |
const double FuelCellShop::Material::PureGas::get_DSutherland_thermal_conductivity_Dtemperature | ( | const double & | temperature | ) | const |
This function returns the first derivative of the Sutherland thermal conductivity of a pure gas.
temperature | - temperature [K]. |
void FuelCellShop::Material::PureGas::get_DSutherland_thermal_conductivity_Dtemperature | ( | const std::vector< double > & | temperature, |
std::vector< double > & | dst | ||
) | const |
This function returns the first derivative of the Sutherland thermal conductivity of a pure gas in the quadrature points of a mesh entity.
temperature | - temperature in the quadrature points of a mesh entity [K], |
dst | - in the quadrature points of a mesh entity. |
const double FuelCellShop::Material::PureGas::get_Dthermal_conductivity_Dtemperature | ( | const double & | temperature | ) | const |
This function returns the first derivative of the desired thermal conductivity of a pure gas.
temperature | - temperature [K]. |
void FuelCellShop::Material::PureGas::get_Dthermal_conductivity_Dtemperature | ( | const std::vector< double > & | temperature, |
std::vector< double > & | dst | ||
) | const |
This function returns the first derivative of the desired thermal conductivity of a pure gas in the quadrature points of a mesh entity.
temperature | - temperature in the quadrature points of a mesh entity [K], |
dst | - in the quadrature points of a mesh entity. |
const double FuelCellShop::Material::PureGas::get_Dwater_vapor_saturation_pressure_Dtemperature | ( | const double & | temperature | ) | const |
This function returns the first derivative of the saturation pressure of water vapor.
temperature | - temperature [K]. |
Referenced by FuelCellShop::Equation::LiquidSourceEquation< dim >::get_temp_related_parameters().
void FuelCellShop::Material::PureGas::get_Dwater_vapor_saturation_pressure_Dtemperature | ( | const std::vector< double > & | temperature, |
std::vector< double > & | dst | ||
) | const |
This function returns the first derivative of the saturation pressure of water vapor in the quadrature points of a mesh entity.
temperature | - temperature in the quadrature points of a mesh entity [K], |
dst | - in the quadrature points of a mesh entity. |
const double FuelCellShop::Material::PureGas::get_dynamic_viscosity | ( | const double & | temperature | ) | const |
This function returns desired dynamic viscosity [kg/(m s)] of a pure gas.
temperature | - temperature [K]. |
void FuelCellShop::Material::PureGas::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.
temperature | - temperature in the quadrature points of a mesh entity [K], |
dynamic_viscosity | - dynamic viscosity in the quadrature points of a mesh entity [kg/(m s)]. |
|
inline |
This function returns dynamic_viscosity_mode
.
References dynamic_viscosity_mode.
|
inline |
This function returns eps_BY_k
(K).
References eps_BY_k.
|
pure virtual |
This function returns a number from enMaterialID
enumeration.
Such that:
Implemented in FuelCellShop::Material::Methanol, FuelCellShop::Material::Acetone, FuelCellShop::Material::Neon, FuelCellShop::Material::Argon, FuelCellShop::Material::Helium, FuelCellShop::Material::Air, FuelCellShop::Material::WaterVapor, FuelCellShop::Material::Hydrogen, FuelCellShop::Material::Nitrogen, FuelCellShop::Material::Oxygen, and FuelCellShop::Material::DummyGas.
const double FuelCellShop::Material::PureGas::get_molar_enthalpy | ( | const double & | temperature | ) | const |
This function returns molar enthalpy [J/mol] of a pure gas.
temperature | - temperature [K]. |
void FuelCellShop::Material::PureGas::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.
temperature | - temperature in the quadrature points of a mesh entity [K], |
molar_enthalpy | - molar enthalpy in the quadrature points of a mesh entity [J/mol]. |
|
inline |
This function returns molar_mass
[kg/mol].
References molar_mass.
|
inline |
This function returns Prandtl
.
References Prandtl.
const double FuelCellShop::Material::PureGas::get_pressure | ( | const double & | density, |
const double & | temperature | ||
) | const |
This function returns pressure (Pa) of a pure ideal gas.
density | - density [kg/m^3], |
temperature | - temperature [K]. |
void FuelCellShop::Material::PureGas::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).
density | - density in the quadrature points of a mesh entity [kg/m^3], |
temperature | - temperature [K], |
pressure | - pressure in the quadrature points of a mesh entity [Pa]. |
void FuelCellShop::Material::PureGas::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).
density | - density in the quadrature points of a mesh entity [kg/m^3], |
temperature | - temperature in the quadrature points of a mesh entity [K], |
pressure | - pressure in the quadrature points of a mesh entity [Pa]. |
const double FuelCellShop::Material::PureGas::get_specific_heat_capacity | ( | const double & | temperature | ) | const |
This function returns specific heat capacity [J/(g C)] at constant pressure of a pure gas.
temperature | - temperature [K]. |
void FuelCellShop::Material::PureGas::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.
temperature | - temperature in the quadrature points of a mesh entity [K], |
specific_heat_capacity | - specific heat capacity at constant pressure in the quadrature points of a mesh entity [J/(g C)]. |
const double FuelCellShop::Material::PureGas::get_Sutherland_dynamic_viscosity | ( | const double & | temperature | ) | const |
This function returns Sutherland dynamic viscosity [kg/(m s)] of a pure gas.
temperature | - temperature [K]. |
void FuelCellShop::Material::PureGas::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.
temperature | - temperature in the quadrature points of a mesh entity [K], |
dynamic_viscosity | - dynamic viscosity in the quadrature points of a mesh entity [kg/(m s)]. |
const double FuelCellShop::Material::PureGas::get_Sutherland_thermal_conductivity | ( | const double & | temperature | ) | const |
This function returns Sutherland thermal conductivity of a pure gas.
temperature | - temperature [K]. |
void FuelCellShop::Material::PureGas::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.
temperature | - temperature in the quadrature points of a mesh entity [K], |
thermal_conductivity | - thermal conductivity in the quadrature points of a mesh entity [W/(m K)]. |
const double FuelCellShop::Material::PureGas::get_thermal_conductivity | ( | const double & | temperature | ) | const |
This function returns desired thermal conductivity [W/(m K)] of a pure gas.
temperature | - temperature [K]. |
void FuelCellShop::Material::PureGas::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.
temperature | - temperature in the quadrature points of a mesh entity [K], |
thermal_conductivity | - thermal conductivity in the quadrature points of a mesh entity [W/(m K)]. |
|
inline |
This function returns thermal_conductivity_mode
.
References thermal_conductivity_mode.
const double FuelCellShop::Material::PureGas::get_water_vapor_saturation_pressure | ( | const double & | temperature | ) | const |
This function returns saturation pressure [Pa] of water vapor.
temperature | - temperature [K]. |
Referenced by FuelCellShop::Equation::LiquidSourceEquation< dim >::get_temp_related_parameters().
void FuelCellShop::Material::PureGas::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.
temperature | - temperature in the quadrature points of a mesh entity [K], |
water_vapor_saturation_pressure | - water vapor saturation pressure in the quadrature points of a mesh entity [Pa]. |
|
virtual |
Initialize parameters.
Reimplemented from FuelCellShop::Material::BaseMaterial.
|
protected |
Coefficient of the Sutherland dynamic viscosity formula, .
Referenced by FuelCellShop::Material::Acetone::Acetone(), FuelCellShop::Material::Air::Air(), FuelCellShop::Material::Argon::Argon(), FuelCellShop::Material::DummyGas::DummyGas(), FuelCellShop::Material::Helium::Helium(), FuelCellShop::Material::Hydrogen::Hydrogen(), FuelCellShop::Material::Methanol::Methanol(), FuelCellShop::Material::Neon::Neon(), FuelCellShop::Material::Nitrogen::Nitrogen(), FuelCellShop::Material::Oxygen::Oxygen(), and FuelCellShop::Material::WaterVapor::WaterVapor().
|
protected |
Coefficient of the Sutherland dynamic viscosity formula, .
Referenced by FuelCellShop::Material::Acetone::Acetone(), FuelCellShop::Material::Air::Air(), FuelCellShop::Material::Argon::Argon(), FuelCellShop::Material::DummyGas::DummyGas(), FuelCellShop::Material::Helium::Helium(), FuelCellShop::Material::Hydrogen::Hydrogen(), FuelCellShop::Material::Methanol::Methanol(), FuelCellShop::Material::Neon::Neon(), FuelCellShop::Material::Nitrogen::Nitrogen(), FuelCellShop::Material::Oxygen::Oxygen(), and FuelCellShop::Material::WaterVapor::WaterVapor().
|
protected |
bulk_viscosity_mode=zero | - zero bulk viscosity formula is used, |
bulk_viscosity_mode=Stokes | - Stokes bulk viscosity formula is used. |
Referenced by get_bulk_viscosity_mode().
|
protected |
Coefficient of the specific heat capacity at constant pressure formula, .
Referenced by FuelCellShop::Material::Acetone::Acetone(), FuelCellShop::Material::Air::Air(), FuelCellShop::Material::Argon::Argon(), FuelCellShop::Material::DummyGas::DummyGas(), FuelCellShop::Material::Helium::Helium(), FuelCellShop::Material::Hydrogen::Hydrogen(), FuelCellShop::Material::Methanol::Methanol(), FuelCellShop::Material::Neon::Neon(), FuelCellShop::Material::Nitrogen::Nitrogen(), FuelCellShop::Material::Oxygen::Oxygen(), and FuelCellShop::Material::WaterVapor::WaterVapor().
|
protected |
Coefficient of the specific heat capacity at constant pressure formula, .
Referenced by FuelCellShop::Material::Acetone::Acetone(), FuelCellShop::Material::Air::Air(), FuelCellShop::Material::Argon::Argon(), FuelCellShop::Material::DummyGas::DummyGas(), FuelCellShop::Material::Helium::Helium(), FuelCellShop::Material::Hydrogen::Hydrogen(), FuelCellShop::Material::Methanol::Methanol(), FuelCellShop::Material::Neon::Neon(), FuelCellShop::Material::Nitrogen::Nitrogen(), FuelCellShop::Material::Oxygen::Oxygen(), and FuelCellShop::Material::WaterVapor::WaterVapor().
|
protected |
Coefficient of the specific heat capacity at constant pressure formula, .
Referenced by FuelCellShop::Material::Acetone::Acetone(), FuelCellShop::Material::Air::Air(), FuelCellShop::Material::Argon::Argon(), FuelCellShop::Material::DummyGas::DummyGas(), FuelCellShop::Material::Helium::Helium(), FuelCellShop::Material::Hydrogen::Hydrogen(), FuelCellShop::Material::Methanol::Methanol(), FuelCellShop::Material::Neon::Neon(), FuelCellShop::Material::Nitrogen::Nitrogen(), FuelCellShop::Material::Oxygen::Oxygen(), and FuelCellShop::Material::WaterVapor::WaterVapor().
|
protected |
Coefficient of the specific heat capacity at constant pressure formula, .
Referenced by FuelCellShop::Material::Acetone::Acetone(), FuelCellShop::Material::Air::Air(), FuelCellShop::Material::Argon::Argon(), FuelCellShop::Material::DummyGas::DummyGas(), FuelCellShop::Material::Helium::Helium(), FuelCellShop::Material::Hydrogen::Hydrogen(), FuelCellShop::Material::Methanol::Methanol(), FuelCellShop::Material::Neon::Neon(), FuelCellShop::Material::Nitrogen::Nitrogen(), FuelCellShop::Material::Oxygen::Oxygen(), and FuelCellShop::Material::WaterVapor::WaterVapor().
|
protected |
Chemical formula of the pure gas.
Referenced by FuelCellShop::Material::Acetone::Acetone(), FuelCellShop::Material::Air::Air(), FuelCellShop::Material::Argon::Argon(), FuelCellShop::Material::DummyGas::DummyGas(), get_chemical_formula(), FuelCellShop::Material::Helium::Helium(), FuelCellShop::Material::Hydrogen::Hydrogen(), FuelCellShop::Material::Methanol::Methanol(), FuelCellShop::Material::Neon::Neon(), FuelCellShop::Material::Nitrogen::Nitrogen(), FuelCellShop::Material::Oxygen::Oxygen(), and FuelCellShop::Material::WaterVapor::WaterVapor().
|
protected |
Collision diameter [Angstrom], .
Referenced by FuelCellShop::Material::Acetone::Acetone(), FuelCellShop::Material::Air::Air(), FuelCellShop::Material::Argon::Argon(), FuelCellShop::Material::DummyGas::DummyGas(), get_collision_diameter(), FuelCellShop::Material::Helium::Helium(), FuelCellShop::Material::Hydrogen::Hydrogen(), FuelCellShop::Material::Methanol::Methanol(), FuelCellShop::Material::Neon::Neon(), FuelCellShop::Material::Nitrogen::Nitrogen(), FuelCellShop::Material::Oxygen::Oxygen(), and FuelCellShop::Material::WaterVapor::WaterVapor().
|
protected |
dynamic_viscosity_mode=Sutherland | - Sutherland dynamic viscosity formula is used, |
dynamic_viscosity_mode=ChapmanEnskog | - Chapman Enskog dynamic viscosity formula is used. |
Referenced by get_dynamic_viscosity_mode().
|
protected |
The maximum energy of attraction divided by the Boltzmann constant, .
Referenced by FuelCellShop::Material::Acetone::Acetone(), FuelCellShop::Material::Air::Air(), FuelCellShop::Material::Argon::Argon(), FuelCellShop::Material::DummyGas::DummyGas(), get_eps_BY_k(), FuelCellShop::Material::Helium::Helium(), FuelCellShop::Material::Hydrogen::Hydrogen(), FuelCellShop::Material::Methanol::Methanol(), FuelCellShop::Material::Neon::Neon(), FuelCellShop::Material::Nitrogen::Nitrogen(), FuelCellShop::Material::Oxygen::Oxygen(), and FuelCellShop::Material::WaterVapor::WaterVapor().
|
protected |
Coefficient of the molar enthalpy formula .
Referenced by FuelCellShop::Material::Acetone::Acetone(), FuelCellShop::Material::Air::Air(), FuelCellShop::Material::Argon::Argon(), FuelCellShop::Material::DummyGas::DummyGas(), FuelCellShop::Material::Helium::Helium(), FuelCellShop::Material::Hydrogen::Hydrogen(), FuelCellShop::Material::Methanol::Methanol(), FuelCellShop::Material::Neon::Neon(), FuelCellShop::Material::Nitrogen::Nitrogen(), FuelCellShop::Material::Oxygen::Oxygen(), and FuelCellShop::Material::WaterVapor::WaterVapor().
|
protected |
Molar mass [kg/mol], .
Referenced by FuelCellShop::Material::Acetone::Acetone(), FuelCellShop::Material::Air::Air(), FuelCellShop::Material::Argon::Argon(), FuelCellShop::Material::DummyGas::DummyGas(), get_molar_mass(), FuelCellShop::Material::Helium::Helium(), FuelCellShop::Material::Hydrogen::Hydrogen(), FuelCellShop::Material::Methanol::Methanol(), FuelCellShop::Material::Neon::Neon(), FuelCellShop::Material::Nitrogen::Nitrogen(), FuelCellShop::Material::Oxygen::Oxygen(), and FuelCellShop::Material::WaterVapor::WaterVapor().
|
protected |
Prandtl number, .
Referenced by FuelCellShop::Material::Acetone::Acetone(), FuelCellShop::Material::Air::Air(), FuelCellShop::Material::Argon::Argon(), FuelCellShop::Material::DummyGas::DummyGas(), get_Prandtl(), FuelCellShop::Material::Helium::Helium(), FuelCellShop::Material::Hydrogen::Hydrogen(), FuelCellShop::Material::Methanol::Methanol(), FuelCellShop::Material::Neon::Neon(), FuelCellShop::Material::Nitrogen::Nitrogen(), FuelCellShop::Material::Oxygen::Oxygen(), and FuelCellShop::Material::WaterVapor::WaterVapor().
|
protected |
Coefficient of the molar enthalpy formula .
Referenced by FuelCellShop::Material::Acetone::Acetone(), FuelCellShop::Material::Air::Air(), FuelCellShop::Material::Argon::Argon(), FuelCellShop::Material::DummyGas::DummyGas(), FuelCellShop::Material::Helium::Helium(), FuelCellShop::Material::Hydrogen::Hydrogen(), FuelCellShop::Material::Methanol::Methanol(), FuelCellShop::Material::Neon::Neon(), FuelCellShop::Material::Nitrogen::Nitrogen(), FuelCellShop::Material::Oxygen::Oxygen(), and FuelCellShop::Material::WaterVapor::WaterVapor().
|
protected |
thermal_conductivity_mode=Sutherland | - Sutherland thermal conductivity formula is used, |
thermal_conductivity_mode=ChapmanEnskog | - Chapman Enskog thermal conductivity formula is used. |
Referenced by get_thermal_conductivity_mode().