17 #ifndef _FCST_FUELCELLSHOP_MATERIAL_PUREGAS_H_
18 #define _FCST_FUELCELLSHOP_MATERIAL_PUREGAS_H_
20 #define _DUMMY_ 1.e300
33 namespace FuelCellShop
104 virtual void initialize(ParameterHandler& param);
212 const double& temperature)
const;
225 const double& temperature,
226 std::vector<double>& pressure)
const;
239 const std::vector<double>& temperature,
240 std::vector<double>& pressure)
const;
259 std::vector<double>& dst)
const;
278 std::vector<double>& dst)
const;
304 std::vector<double>& dynamic_viscosity)
const;
325 std::vector<double>& dst)
const;
351 std::vector<double>& dynamic_viscosity)
const;
372 std::vector<double>& dst)
const;
398 std::vector<double>& dynamic_viscosity)
const;
419 std::vector<double>& dst)
const;
445 std::vector<double>& bulk_viscosity)
const;
469 std::vector<double>& dst)
const;
495 std::vector<double>& thermal_conductivity)
const;
516 std::vector<double>& dst)
const;
542 std::vector<double>& thermal_conductivity)
const;
563 std::vector<double>& dst)
const;
589 std::vector<double>& thermal_conductivity)
const;
610 std::vector<double>& dst)
const;
636 std::vector<double>& molar_enthalpy)
const;
657 std::vector<double>& dst)
const;
678 std::vector<double>& dst)
const;
704 std::vector<double>& water_vapor_saturation_pressure)
const;
725 std::vector<double>& dst)
const;
751 std::vector<double>& collision_integral)
const;
772 std::vector<double>& dst)
const;
798 std::vector<double>& specific_heat_capacity)
const;
819 std::vector<double>& dst)
const;
840 std::vector<double>& dst)
const;
1002 this->
c_0 = 0.8800e3;
1003 this->
c_1 = - 0.0001e3;
1004 this->
c_2 = 0.5400e3;
1005 this->
c_3 = - 0.3300e3;
1007 this->
H_ref = 0.000;
1008 this->
T_ref = 298.0;
1062 this->
c_1 = - 0.48e3;
1064 this->
c_3 = - 0.42e3;
1066 this->
H_ref = 0.000;
1067 this->
T_ref = 298.0;
1120 this->
c_0 = 13.46e3;
1121 this->
c_1 = 4.600e3;
1122 this->
c_2 = - 6.850e3;
1123 this->
c_3 = 3.790e3;
1125 this->
H_ref = 0.000;
1126 this->
T_ref = 298.0;
1179 this->
c_0 = 1.790e3;
1180 this->
c_1 = 0.107e3;
1181 this->
c_2 = 0.586e3;
1182 this->
c_3 = - 0.200e3;
1184 this->
H_ref = - 2.41826e5;
1185 this->
T_ref = 298.00000;
1238 this->
c_0 = 1.050e3;
1239 this->
c_1 = - 0.365e3;
1240 this->
c_2 = 0.850e3;
1241 this->
c_3 = - 0.390e3;
1246 this->
chemical_formula =
"78.1_N2__20.9_O2__0.9_Ar__0.03_CO2__0.002_Ne__0.0005_He__0.0002_CH4__0.0001_Kr__0.00005_H2__0.000009_He";
1297 this->
c_0 = 5.193e3;
1298 this->
c_1 = 0.00000;
1299 this->
c_2 = 0.00000;
1300 this->
c_3 = 0.00000;
std::string thermal_conductivity_mode
Definition: PureGas.h:967
Air()
Constructor.
Definition: PureGas.h:1226
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...
std::string dynamic_viscosity_mode
Definition: PureGas.h:955
double collision_diameter
Collision diameter, .
Definition: PureGas.h:876
const double get_molar_enthalpy(const double &temperature) const
This function returns molar enthalpy of a pure gas.
const double get_ChapmanEnskog_dynamic_viscosity(const double &temperature) const
This function returns Chapman Enskog dynamic viscosity of a pure gas.
enMaterialID
Definition: PureGas.h:25
std::string bulk_viscosity_mode
Definition: PureGas.h:961
virtual enMaterialID get_ID() const
This function returns a number from enMaterialID enumeration.
Definition: PureGas.h:1141
virtual ~Hydrogen()
Destructor.
Definition: PureGas.h:1134
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...
const std::string & get_bulk_viscosity_mode() const
This function returns bulk_viscosity_mode.
Definition: PureGas.h:185
double eps_BY_k
The maximum energy of attraction divided by the Boltzmann constant, .
Definition: PureGas.h:881
const double & get_Prandtl() const
This function returns Prandtl.
Definition: PureGas.h:142
double c_3
Coefficient of the specific heat capacity at constant pressure formula, .
Definition: PureGas.h:927
const std::string name
Name of the layer.
Definition: base_material.h:155
const double get_collision_integral(const double &temperature) const
This function returns collision integral of a pure gas.
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...
virtual enMaterialID get_ID() const
This function returns a number from enMaterialID enumeration.
Definition: PureGas.h:1200
virtual ~WaterVapor()
Destructor.
Definition: PureGas.h:1193
const double get_Dcollision_integral_Dtemperature(const double &temperature) const
This function returns the first derivative of the collision integral of a pure gas.
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...
Hydrogen()
Constructor.
Definition: PureGas.h:1108
virtual ~PureGas()
Destructor.
const double get_ChapmanEnskog_thermal_conductivity(const double &temperature) const
This function returns Chapman Enskog thermal conductivity of a pure gas.
const double & get_eps_BY_k() const
This function returns eps_BY_k.
Definition: PureGas.h:133
std::string chemical_formula
Chemical formula of the pure gas.
Definition: PureGas.h:949
virtual enMaterialID get_ID() const
This function returns a number from enMaterialID enumeration.
Definition: PureGas.h:1082
double H_ref
Coefficient of the molar enthalpy formula .
Definition: PureGas.h:933
const std::string & get_chemical_formula() const
This function returns chemical_formula.
Definition: PureGas.h:167
const double get_specific_heat_capacity(const double &temperature) const
This function returns specific heat capacity at constant pressure of a pure gas.
const double get_dynamic_viscosity(const double &temperature) const
This function returns desired dynamic viscosity of a pure gas.
const double & get_collision_diameter() const
This function returns collision_diameter.
Definition: PureGas.h:124
const double get_Sutherland_dynamic_viscosity(const double &temperature) const
This function returns Sutherland dynamic viscosity of a pure gas.
double Prandtl
Prandtl number, .
Definition: PureGas.h:886
double A_Sutherland
Coefficient of the Sutherland dynamic viscosity formula, .
Definition: PureGas.h:897
virtual ~Helium()
Destructor.
Definition: PureGas.h:1311
double T_ref
Coefficient of the molar enthalpy formula .
Definition: PureGas.h:939
This class describes properties of pure oxygen.
Definition: PureGas.h:980
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.
This class describes properties of pure nitrogen.
Definition: PureGas.h:1039
double c_0
Coefficient of the specific heat capacity at constant pressure formula, .
Definition: PureGas.h:909
Helium()
Constructor.
Definition: PureGas.h:1285
This class describes properties of pure air.
Definition: PureGas.h:1216
WaterVapor()
Constructor.
Definition: PureGas.h:1167
const std::string & get_thermal_conductivity_mode() const
This function returns thermal_conductivity_mode.
Definition: PureGas.h:194
double c_2
Coefficient of the specific heat capacity at constant pressure formula, .
Definition: PureGas.h:921
virtual ~Nitrogen()
Destructor.
Definition: PureGas.h:1075
virtual ~Oxygen()
Destructor.
Definition: PureGas.h:1016
const std::string & get_dynamic_viscosity_mode() const
This function returns dynamic_viscosity_mode.
Definition: PureGas.h:176
const double get_Sutherland_thermal_conductivity(const double &temperature) const
This function returns Sutherland thermal conductivity of a pure gas.
virtual void declare_parameters(ParameterHandler ¶m) const
Declare parameters.
const double get_thermal_conductivity(const double &temperature) const
This function returns desired thermal conductivity of a pure gas.
#define _DUMMY_
Definition: PureGas.h:20
virtual enMaterialID get_ID() const
This function returns a number from enMaterialID enumeration.
Definition: PureGas.h:1259
This class is a base class for all pure gases used in FCST.
Definition: PureGas.h:89
const double get_D2molar_enthalpy_Dtemperature2(const double &temperature) const
This function returns the second derivative of the molar enthalpy of a pure gas. ...
double B_Sutherland
Coefficient of the Sutherland dynamic viscosity formula, .
Definition: PureGas.h:903
const double get_water_vapor_saturation_pressure(const double &temperature) const
This function returns saturation pressure of water vapor.
virtual enMaterialID get_ID() const =0
This function returns a number from enMaterialID enumeration.
PureGas(const std::string &name)
Constructor.
Nitrogen()
Constructor.
Definition: PureGas.h:1049
double molar_mass
Molar mass, .
Definition: PureGas.h:871
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...
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 p...
Oxygen()
Constructor.
Definition: PureGas.h:990
This class describes properties of pure helium.
Definition: PureGas.h:1275
const double get_Dpressure_Dtemperature(const double &density) const
This function returns of a pure ideal gas.
const double get_Dpressure_Ddensity(const double &temperature) const
This function returns of a pure ideal gas.
const double get_Dmolar_enthalpy_Dtemperature(const double &temperature) const
This function returns the first derivative of the molar enthalpy of a pure gas.
virtual ~Air()
Destructor.
Definition: PureGas.h:1252
const double get_pressure(const double &density, const double &temperature) const
This function returns pressure of a pure ideal gas.
virtual enMaterialID get_ID() const
This function returns a number from enMaterialID enumeration.
Definition: PureGas.h:1318
virtual enMaterialID get_ID() const
This function returns a number from enMaterialID enumeration.
Definition: PureGas.h:1023
virtual void initialize(ParameterHandler ¶m)
Initialize parameters.
const double get_bulk_viscosity(const double &dynamic_viscosity) const
This function returns desired bulk viscosity of a pure gas.
This class describes properties of pure hydrogen.
Definition: PureGas.h:1098
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 ...
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...
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...
Virtual class used to provide the interface for all material classes.
Definition: base_material.h:54
double c_1
Coefficient of the specific heat capacity at constant pressure formula, .
Definition: PureGas.h:915
This class describes properties of pure WaterVapor.
Definition: PureGas.h:1157
const double & get_molar_mass() const
This function returns molar_mass.
Definition: PureGas.h:115