16 #ifndef _FCST_FUELCELLSHOP_MATERIAL_PUREGAS_H_
17 #define _FCST_FUELCELLSHOP_MATERIAL_PUREGAS_H_
19 #define _DUMMY_ 1.e300
36 namespace FuelCellShop
106 virtual void initialize(ParameterHandler& param);
208 const double get_pressure(
const double& density,
const double& temperature)
const;
218 void get_pressure(
const std::vector<double>& density,
const double& temperature, std::vector<double>& pressure)
const;
228 void get_pressure(
const std::vector<double>& density,
const std::vector<double>& temperature, std::vector<double>& pressure)
const;
277 const double get_density(
const double& temperature,
const double& pressure,
const double& molarMass)
const;
376 void get_dynamic_viscosity(
const std::vector<double>& temperature, std::vector<double>& dynamic_viscosity)
const;
417 void get_bulk_viscosity(
const std::vector<double>& dynamic_viscosity, std::vector<double>& bulk_viscosity)
const;
545 void get_thermal_conductivity(
const std::vector<double>& temperature, std::vector<double>& thermal_conductivity)
const;
587 void get_molar_enthalpy(
const std::vector<double>& temperature, std::vector<double>& molar_enthalpy)
const;
705 void get_collision_integral(
const std::vector<double>& temperature, std::vector<double>& collision_integral)
const;
992 this->
c_0 = 0.8800e3;
993 this->
c_1 = - 0.0001e3;
994 this->
c_2 = 0.5400e3;
995 this->
c_3 = - 0.3300e3;
1046 this->
c_1 = - 0.48e3;
1048 this->
c_3 = - 0.42e3;
1050 this->
H_ref = 0.000;
1051 this->
T_ref = 298.0;
1099 this->
c_0 = 13.46e3;
1100 this->
c_1 = 4.600e3;
1101 this->
c_2 = - 6.850e3;
1102 this->
c_3 = 3.790e3;
1104 this->
H_ref = 0.000;
1105 this->
T_ref = 298.0;
1152 this->
c_0 = 1.790e3;
1153 this->
c_1 = 0.107e3;
1154 this->
c_2 = 0.586e3;
1155 this->
c_3 = - 0.200e3;
1157 this->
H_ref = - 2.41826e5;
1158 this->
T_ref = 298.00000;
1205 this->
c_0 = 1.050e3;
1206 this->
c_1 = - 0.365e3;
1207 this->
c_2 = 0.850e3;
1208 this->
c_3 = - 0.390e3;
1213 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";
1258 this->
c_0 = 5.193e3;
1259 this->
c_1 = 0.00000;
1260 this->
c_2 = 0.00000;
1261 this->
c_3 = 0.00000;
1315 this->
c_0 = 0.520e3;
1316 this->
c_1 = 0.00000;
1317 this->
c_2 = 0.00000;
1318 this->
c_3 = 0.00000;
1372 this->
c_0 = 1.030e3;
1373 this->
c_1 = 0.00000;
1374 this->
c_2 = 0.00000;
1375 this->
c_3 = 0.00000;
1429 this->
c_0 = 0.00000;
1430 this->
c_1 = 0.00000;
1431 this->
c_2 = 0.00000;
1432 this->
c_3 = 0.00000;
1486 this->
c_0 = 0.00000;
1487 this->
c_1 = 0.00000;
1488 this->
c_2 = 0.00000;
1489 this->
c_3 = 0.00000;
std::string thermal_conductivity_mode
Definition: PureGas.h:897
Air()
Constructor.
Definition: PureGas.h:1193
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:885
double collision_diameter
Collision diameter [Angstrom], .
Definition: PureGas.h:806
const double get_molar_enthalpy(const double &temperature) const
This function returns molar enthalpy [J/mol] of a pure gas.
const double get_ChapmanEnskog_dynamic_viscosity(const double &temperature) const
This function returns Chapman Enskog dynamic viscosity [kg/(m s)] of a pure gas.
enMaterialID
Definition: PureGas.h:24
std::string bulk_viscosity_mode
Definition: PureGas.h:891
virtual enMaterialID get_ID() const
This function returns a number from enMaterialID enumeration.
Definition: PureGas.h:1115
virtual ~Hydrogen()
Destructor.
Definition: PureGas.h:1111
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:183
double eps_BY_k
The maximum energy of attraction divided by the Boltzmann constant, .
Definition: PureGas.h:811
const double & get_Prandtl() const
This function returns Prandtl.
Definition: PureGas.h:140
Methanol()
Constructor.
Definition: PureGas.h:1473
Neon()
Constructor.
Definition: PureGas.h:1359
double c_3
Coefficient of the specific heat capacity at constant pressure formula, .
Definition: PureGas.h:857
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:1168
virtual ~WaterVapor()
Destructor.
Definition: PureGas.h:1164
Argon()
Constructor.
Definition: PureGas.h:1302
virtual enMaterialID get_ID() const
This function returns a number from enMaterialID enumeration.
Definition: PureGas.h:954
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:1087
virtual ~PureGas()
Destructor.
const double get_ChapmanEnskog_thermal_conductivity(const double &temperature) const
This function returns Chapman Enskog thermal conductivity [W/(m K)] of a pure gas.
const double & get_eps_BY_k() const
This function returns eps_BY_k (K).
Definition: PureGas.h:132
std::string chemical_formula
Chemical formula of the pure gas.
Definition: PureGas.h:879
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.
This class describes properties of pure Neon.
Definition: PureGas.h:1353
virtual enMaterialID get_ID() const
This function returns a number from enMaterialID enumeration.
Definition: PureGas.h:1331
virtual enMaterialID get_ID() const
This function returns a number from enMaterialID enumeration.
Definition: PureGas.h:1388
virtual enMaterialID get_ID() const
This function returns a number from enMaterialID enumeration.
Definition: PureGas.h:1062
double H_ref
Coefficient of the molar enthalpy formula .
Definition: PureGas.h:863
This class describes properties of pure Argon.
Definition: PureGas.h:1296
const std::string & get_chemical_formula() const
This function returns chemical_formula.
Definition: PureGas.h:165
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...
virtual enMaterialID get_ID() const
This function returns a number from enMaterialID enumeration.
Definition: PureGas.h:1502
const double get_dynamic_viscosity(const double &temperature) const
This function returns desired dynamic viscosity [kg/(m s)] of a pure gas.
virtual ~Argon()
Destructor.
Definition: PureGas.h:1327
const double & get_collision_diameter() const
This function returns collision_diameter [Angstrom].
Definition: PureGas.h:124
const double get_Sutherland_dynamic_viscosity(const double &temperature) const
This function returns Sutherland dynamic viscosity [kg/(m s)] of a pure gas.
This class describes properties of pure Acetone.
Definition: PureGas.h:1410
DummyGas()
Constructor.
Definition: PureGas.h:921
double Prandtl
Prandtl number, .
Definition: PureGas.h:816
double A_Sutherland
Coefficient of the Sutherland dynamic viscosity formula, .
Definition: PureGas.h:827
virtual ~Helium()
Destructor.
Definition: PureGas.h:1270
double T_ref
Coefficient of the molar enthalpy formula .
Definition: PureGas.h:869
This class describes properties of pure oxygen.
Definition: PureGas.h:974
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 Methanol.
Definition: PureGas.h:1467
This class describes properties of pure nitrogen.
Definition: PureGas.h:1027
double c_0
Coefficient of the specific heat capacity at constant pressure formula, .
Definition: PureGas.h:839
Helium()
Constructor.
Definition: PureGas.h:1246
This class describes properties of pure air.
Definition: PureGas.h:1187
WaterVapor()
Constructor.
Definition: PureGas.h:1140
const std::string & get_thermal_conductivity_mode() const
This function returns thermal_conductivity_mode.
Definition: PureGas.h:192
This class describes properties of a dummy gas, with all properties of 1.0 Use this name in the param...
Definition: PureGas.h:912
double c_2
Coefficient of the specific heat capacity at constant pressure formula, .
Definition: PureGas.h:851
virtual ~Nitrogen()
Destructor.
Definition: PureGas.h:1057
virtual ~Oxygen()
Destructor.
Definition: PureGas.h:1004
const std::string & get_dynamic_viscosity_mode() const
This function returns dynamic_viscosity_mode.
Definition: PureGas.h:174
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 [W/(m K)] of a pure gas.
#define _DUMMY_
Definition: PureGas.h:19
virtual enMaterialID get_ID() const
This function returns a number from enMaterialID enumeration.
Definition: PureGas.h:1221
This class is a base class for all pure gases used in OpenFCST.
Definition: PureGas.h:88
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:833
const double get_water_vapor_saturation_pressure(const double &temperature) const
This function returns saturation pressure [Pa] of water vapor.
virtual enMaterialID get_ID() const =0
This function returns a number from enMaterialID enumeration.
Acetone()
Constructor.
Definition: PureGas.h:1416
PureGas(const std::string &name)
Constructor.
Nitrogen()
Constructor.
Definition: PureGas.h:1033
double molar_mass
Molar mass [kg/mol], .
Definition: PureGas.h:801
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...
virtual ~Neon()
Destructor.
Definition: PureGas.h:1384
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:980
This class describes properties of pure helium.
Definition: PureGas.h:1240
virtual ~Methanol()
Destructor.
Definition: PureGas.h:1498
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.
virtual enMaterialID get_ID() const
This function returns a number from enMaterialID enumeration.
Definition: PureGas.h:1445
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 ~DummyGas()
Destructor.
Definition: PureGas.h:947
virtual ~Air()
Destructor.
Definition: PureGas.h:1217
const double get_pressure(const double &density, const double &temperature) const
This function returns pressure (Pa) of a pure ideal gas.
virtual enMaterialID get_ID() const
This function returns a number from enMaterialID enumeration.
Definition: PureGas.h:1274
virtual enMaterialID get_ID() const
This function returns a number from enMaterialID enumeration.
Definition: PureGas.h:1008
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:1081
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
virtual ~Acetone()
Destructor.
Definition: PureGas.h:1441
double c_1
Coefficient of the specific heat capacity at constant pressure formula, .
Definition: PureGas.h:845
This class describes properties of pure WaterVapor.
Definition: PureGas.h:1134
const double & get_molar_mass() const
This function returns molar_mass [kg/mol].
Definition: PureGas.h:116