OpenFCST: The open-source Fuel Cell Simulation Toolbox
|
This class describes properties of gas mixtures. More...
#include <GasMixture.h>
Public Member Functions | |
Constructors, destructor, and initialization | |
GasMixture (const std::string &name) | |
Constructor. More... | |
virtual | ~GasMixture () |
Destructor. More... | |
virtual void | declare_parameters (ParameterHandler ¶m) const |
Declare parameters. More... | |
virtual void | initialize (ParameterHandler ¶m) |
Initialize parameters. More... | |
void | set_gases (const std::vector< PureGas * > &rgases) |
This function sets gases . More... | |
void | set_total_pressure (const double &rtotal_pressure) |
This function sets total_pressure . More... | |
void | set_temperature (const double &rtemperature) |
This function sets temperature . More... | |
Accessors and info | |
const std::vector< PureGas * > & | get_gases () const |
This function returns gases . More... | |
const double & | get_total_pressure () const |
This function returns total_pressure . More... | |
const double & | get_temperature () const |
This function returns temperature . More... | |
virtual void | print_material_properties () const |
This function prints out the material properties. More... | |
Service functions. Chapman Enskog isobaric diffusion coefficient. Binary gas mixture only. | |
const double | get_ChapmanEnskog_isobaric_diffusion_coefficient () const |
This function returns Maxwell-Stefan isobaric diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a constant temperature. More... | |
void | get_ChapmanEnskog_isobaric_diffusion_coefficient (std::vector< double > &diffusion_coefficient) const |
This function returns Maxwell-Stefan isobaric diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a constant temperature in the quadrature points of a mesh entity. More... | |
const double | get_ChapmanEnskog_isobaric_diffusion_coefficient (const double &temperature) const |
This function returns Maxwell-Stefan isobaric diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a variable temperature. More... | |
void | get_ChapmanEnskog_isobaric_diffusion_coefficient (const std::vector< double > &temperature, std::vector< double > &diffusion_coefficient) const |
This function returns Maxwell-Stefan isobaric diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a variable temperature in the quadrature points of a mesh entity. More... | |
Service functions. Derivatives of Chapman Enskog isobaric diffusion coefficient. Binary gas mixture only. | |
const double | get_DChapmanEnskog_isobaric_diffusion_coefficient_Dtemperature (const double &temperature) const |
This function returns the first derivative of the Maxwell-Stefan isobaric diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a variable temperature. More... | |
void | get_DChapmanEnskog_isobaric_diffusion_coefficient_Dtemperature (const std::vector< double > &temperature, std::vector< double > &dst) const |
This function returns the first derivative of the Maxwell-Stefan isobaric diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a variable temperature in the quadrature points of a mesh entity. More... | |
Service functions. Chapman Enskog diffusion coefficient. Binary gas mixture only. | |
const double | get_ChapmanEnskog_diffusion_coefficient () const |
This function returns Maxwell-Stefan diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a constant total pressure and temperature. More... | |
void | get_ChapmanEnskog_diffusion_coefficient (std::vector< double > &diffusion_coefficient) const |
This function returns Maxwell-Stefan diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a constant total pressure and temperature in the quadrature points of a mesh entity. More... | |
const double | get_ChapmanEnskog_diffusion_coefficient_at_constant_pressure (const double &temperature) const |
This function returns Maxwell-Stefan diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a constant total pressure and variable temperature. More... | |
void | get_ChapmanEnskog_diffusion_coefficient_at_constant_pressure (const std::vector< double > &temperature, std::vector< double > &diffusion_coefficient) const |
This function returns Maxwell-Stefan diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a constant total pressure and variable temperature in the quadrature points of a mesh entity. More... | |
const double | get_ChapmanEnskog_diffusion_coefficient_at_constant_temperature (const double &total_pressure) const |
This function returns Maxwell-Stefan diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a variable total pressure and constant temperature. More... | |
void | get_ChapmanEnskog_diffusion_coefficient_at_constant_temperature (const std::vector< double > &total_pressure, std::vector< double > &diffusion_coefficient) const |
This function returns Maxwell-Stefan diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a variable total pressure and constant temperature in the quadrature points of a mesh entity. More... | |
const double | get_ChapmanEnskog_diffusion_coefficient (const double &total_pressure, const double &temperature) const |
This function returns Maxwell-Stefan diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a variable total pressure and temperature. More... | |
void | get_ChapmanEnskog_diffusion_coefficient (const std::vector< double > &total_pressure, const std::vector< double > &temperature, std::vector< double > &diffusion_coefficient) const |
This function returns Maxwell-Stefan diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a variable total pressure and temperature in the quadrature points of a mesh entity. More... | |
Service functions. Derivatives of Chapman Enskog diffusion coefficient. Binary gas mixture only. | |
const double | get_DChapmanEnskog_diffusion_coefficient_Dpressure (const double &total_pressure) const |
This function returns the first derivative of the Maxwell-Stefan diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a variable total pressure and constant temperature. More... | |
void | get_DChapmanEnskog_diffusion_coefficient_Dpressure (const std::vector< double > &total_pressure, std::vector< double > &dst) const |
This function returns the first derivative of the Maxwell-Stefan diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a variable total pressure and constant temperature in the quadrature points of a mesh entity. More... | |
const double | get_DChapmanEnskog_diffusion_coefficient_Dpressure (const double &total_pressure, const double &temperature) const |
This function returns the first derivative of the Maxwell-Stefan diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a variable total pressure and temperature. More... | |
void | get_DChapmanEnskog_diffusion_coefficient_Dpressure (const std::vector< double > &total_pressure, const std::vector< double > &temperature, std::vector< double > &dst) const |
This function returns the first derivative of the Maxwell-Stefan diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a variable total pressure and temperature in the quadrature points of a mesh entity. More... | |
const double | get_DChapmanEnskog_diffusion_coefficient_Dtemperature (const double &temperature) const |
This function returns the first derivative of the Maxwell-Stefan diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a constant total pressure and variable temperature. More... | |
void | get_DChapmanEnskog_diffusion_coefficient_Dtemperature (const std::vector< double > &temperature, std::vector< double > &dst) const |
This function returns the first derivative of the Maxwell-Stefan diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a constant total pressure and variable temperature in the quadrature points of a mesh entity. More... | |
const double | get_DChapmanEnskog_diffusion_coefficient_Dtemperature (const double &total_pressure, const double &temperature) const |
This function returns the first derivative of the Maxwell-Stefan diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a variable total pressure and temperature. More... | |
void | get_DChapmanEnskog_diffusion_coefficient_Dtemperature (const std::vector< double > &total_pressure, const std::vector< double > &temperature, std::vector< double > &dst) const |
This function returns the first derivative of the Maxwell-Stefan diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a variable total pressure and temperature in the quadrature points of a mesh entity. More... | |
Service functions. Chapman Enskog isobaric diffusion coefficients. Ternary and more complicated gas mixtures. | |
const Table< 2, double > | get_ChapmanEnskog_isobaric_diffusion_coefficients () const |
This function returns Maxwell-Stefan isobaric diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a constant temperature. More... | |
void | get_ChapmanEnskog_isobaric_diffusion_coefficients (std::vector< Table< 2, double > > &diffusion_coefficients) const |
This function returns Maxwell-Stefan isobaric diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a constant temperature in the quadrature points of a mesh entity. More... | |
const Table< 2, double > | get_ChapmanEnskog_isobaric_diffusion_coefficients (const double &temperature) const |
This function returns Maxwell-Stefan isobaric diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a variable temperature. More... | |
void | get_ChapmanEnskog_isobaric_diffusion_coefficients (const std::vector< double > &temperature, std::vector< Table< 2, double > > &diffusion_coefficients) const |
This function returns Maxwell-Stefan isobaric diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a variable temperature in the quadrature points of a mesh entity. More... | |
Service functions. Derivatives of Chapman Enskog isobaric diffusion coefficients. Ternary and more complicated gas mixtures. | |
const Table< 2, double > | get_DChapmanEnskog_isobaric_diffusion_coefficients_Dtemperature (const double &temperature) const |
This function returns the first derivative of the Maxwell-Stefan isobaric diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a variable temperature. More... | |
void | get_DChapmanEnskog_isobaric_diffusion_coefficients_Dtemperature (const std::vector< double > &temperature, std::vector< Table< 2, double > > &dst) const |
This function returns the first derivative of the Maxwell-Stefan isobaric diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a variable temperature in the quadrature points of a mesh entity. More... | |
Service functions. Chapman Enskog diffusion coefficients. Ternary and more complicated gas mixtures. | |
const Table< 2, double > | get_ChapmanEnskog_diffusion_coefficients () const |
This function returns Maxwell-Stefan diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a constant total pressure and temperature. More... | |
void | get_ChapmanEnskog_diffusion_coefficients (std::vector< Table< 2, double > > &diffusion_coefficients) const |
This function returns Maxwell-Stefan diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a constant total pressure and temperature in the quadrature points of a mesh entity. More... | |
const Table< 2, double > | get_ChapmanEnskog_diffusion_coefficients_at_constant_pressure (const double &temperature) const |
This function returns Maxwell-Stefan diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a constant total pressure and variable temperature. More... | |
void | get_ChapmanEnskog_diffusion_coefficients_at_constant_pressure (const std::vector< double > &temperature, std::vector< Table< 2, double > > &diffusion_coefficients) const |
This function returns Maxwell-Stefan diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a constant total pressure and variable temperature in the quadrature points of a mesh entity. More... | |
const Table< 2, double > | get_ChapmanEnskog_diffusion_coefficients_at_constant_temperature (const double &total_pressure) const |
This function returns Maxwell-Stefan diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a variable total pressure and constant temperature. More... | |
void | get_ChapmanEnskog_diffusion_coefficients_at_constant_temperature (const std::vector< double > &total_pressure, std::vector< Table< 2, double > > &diffusion_coefficients) const |
This function returns Maxwell-Stefan diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a variable total pressure and constant temperature in the quadrature points of a mesh entity. More... | |
const Table< 2, double > | get_ChapmanEnskog_diffusion_coefficients (const double &total_pressure, const double &temperature) const |
This function returns Maxwell-Stefan diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a variable total pressure and temperature. More... | |
void | get_ChapmanEnskog_diffusion_coefficients (const std::vector< double > &total_pressure, const std::vector< double > &temperature, std::vector< Table< 2, double > > &diffusion_coefficients) const |
This function returns Maxwell-Stefan diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a variable total pressure and temperature in the quadrature points of a mesh entity. More... | |
Service functions. Derivatives of Chapman Enskog diffusion coefficients. Ternary and more complicated gas mixtures. | |
const Table< 2, double > | get_DChapmanEnskog_diffusion_coefficients_Dpressure (const double &total_pressure) const |
This function returns the first derivative of the Maxwell-Stefan diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a variable total pressure and constant temperature. More... | |
void | get_DChapmanEnskog_diffusion_coefficients_Dpressure (const std::vector< double > &total_pressure, std::vector< Table< 2, double > > &dst) const |
This function returns the first derivative of the Maxwell-Stefan diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a variable total pressure and constant temperature in the quadrature points of a mesh entity. More... | |
const Table< 2, double > | get_DChapmanEnskog_diffusion_coefficients_Dpressure (const double &total_pressure, const double &temperature) const |
This function returns the first derivative of the Maxwell-Stefan diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a variable total pressure and temperature. More... | |
void | get_DChapmanEnskog_diffusion_coefficients_Dpressure (const std::vector< double > &total_pressure, const std::vector< double > &temperature, std::vector< Table< 2, double > > &dst) const |
This function returns the first derivative of the Maxwell-Stefan diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a variable total pressure and temperature in the quadrature points of a mesh entity. More... | |
const Table< 2, double > | get_DChapmanEnskog_diffusion_coefficients_Dtemperature (const double &temperature) const |
This function returns the first derivative of the Maxwell-Stefan diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a constant total pressure and variable temperature. More... | |
void | get_DChapmanEnskog_diffusion_coefficients_Dtemperature (const std::vector< double > &temperature, std::vector< Table< 2, double > > &dst) const |
This function returns the first derivative of the Maxwell-Stefan diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a constant total pressure and variable temperature in the quadrature points of a mesh entity. More... | |
const Table< 2, double > | get_DChapmanEnskog_diffusion_coefficients_Dtemperature (const double &total_pressure, const double &temperature) const |
This function returns the first derivative of the Maxwell-Stefan diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a variable total pressure and temperature. More... | |
void | get_DChapmanEnskog_diffusion_coefficients_Dtemperature (const std::vector< double > &total_pressure, const std::vector< double > &temperature, std::vector< Table< 2, double > > &dst) const |
This function returns the first derivative of the Maxwell-Stefan diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a variable total pressure and temperature in the quadrature points of a mesh entity. More... | |
Service functions. Binary collision integral. | |
const double | get_binary_collision_integral (const unsigned int &N1=0, const unsigned int &N2=1) const |
This function returns binary collision integral at a constant temperature. More... | |
void | get_binary_collision_integral (std::vector< double > &binary_collision_integral, const unsigned int &N1=0, const unsigned int &N2=1) const |
This function returns binary collision integral at a constant temperature in the quadrature points of a mesh entity. More... | |
const double | get_binary_collision_integral (const double &temperature, const unsigned int &N1=0, const unsigned int &N2=1) const |
This function returns binary collision integral at a variable temperature. More... | |
void | get_binary_collision_integral (const std::vector< double > &temperature, std::vector< double > &binary_collision_integral, const unsigned int &N1=0, const unsigned int &N2=1) const |
This function returns binary collision integral at a variable temperature in the quadrature points of a mesh entity. More... | |
const double | get_Dbinary_collision_integral_Dtemperature (const double &temperature, const unsigned int &N1=0, const unsigned int &N2=1) const |
This function returns the first derivative of the binary collision integral at a variable temperature. More... | |
void | get_Dbinary_collision_integral_Dtemperature (const std::vector< double > &temperature, std::vector< double > &dst, const unsigned int &N1=0, const unsigned int &N2=1) const |
This function returns the first derivative of the binary collision integral at a variable temperature 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... | |
Protected Attributes | |
Fluid properties | |
std::vector< PureGas * > | gases |
This std::vector contains all pure gases which form the whole gas mixture of a problem at hand. More... | |
double | total_pressure |
Total pressure of the whole gas mixture, . More... | |
double | temperature |
Temperature of the whole gas mixture, . More... | |
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... | |
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 describes properties of gas mixtures.
This class contains the following data:
std::vector
of pointers to the PureGas
objects called gases
,total_pressure
,temperature
.The whole gas mixture is supposed to be isobaric if some concrete value of total_pressure
is assigned by either using the set_total_pressure()
function or defining it in the parameters file.
If nothing happens, then the value of total_pressure
gets the DUMMY
number equal 1.e300
and the whole gas mixture is treated as non-isobaric. In this case, the total pressure of the whole gas mixture is one of the solution variables.
The whole gas mixture is supposed to be isothermal if some concrete value of temperature
is assigned by either using the set_temperature()
function or defining it in the parameters file.
If nothing happens, then the value of temperature
gets the DUMMY
number equal 1.e300
and the whole gas mixture is treated as non-isothermal. In this case, the temperature of the whole gas mixture is one of the solution variables.
The following methods are used to compute the gas mixture properties:
All those methods receive data in SI units. All those methods return the results in SI units.
For developers: please update this info appropriately if you add a new method.
FuelCellShop::Material::GasMixture::GasMixture | ( | const std::string & | name | ) |
Constructor.
|
virtual |
Destructor.
|
virtual |
Declare parameters.
Reimplemented from FuelCellShop::Material::BaseMaterial.
const double FuelCellShop::Material::GasMixture::get_binary_collision_integral | ( | const unsigned int & | N1 = 0 , |
const unsigned int & | N2 = 1 |
||
) | const |
This function returns binary collision integral at a constant temperature.
N1 | - number of the first gas from gases , |
N2 | - number of the second gas from gases . |
void FuelCellShop::Material::GasMixture::get_binary_collision_integral | ( | std::vector< double > & | binary_collision_integral, |
const unsigned int & | N1 = 0 , |
||
const unsigned int & | N2 = 1 |
||
) | const |
This function returns binary collision integral at a constant temperature in the quadrature points of a mesh entity.
binary_collision_integral | - binary collision integral at a constant temperature in the quadrature points of a mesh entity, |
N1 | - number of the first gas from gases , |
N2 | - number of the second gas from gases . |
const double FuelCellShop::Material::GasMixture::get_binary_collision_integral | ( | const double & | temperature, |
const unsigned int & | N1 = 0 , |
||
const unsigned int & | N2 = 1 |
||
) | const |
This function returns binary collision integral at a variable temperature.
temperature | - temperature, |
N1 | - number of the first gas from gases , |
N2 | - number of the second gas from gases . |
void FuelCellShop::Material::GasMixture::get_binary_collision_integral | ( | const std::vector< double > & | temperature, |
std::vector< double > & | binary_collision_integral, | ||
const unsigned int & | N1 = 0 , |
||
const unsigned int & | N2 = 1 |
||
) | const |
This function returns binary collision integral at a variable temperature in the quadrature points of a mesh entity.
temperature | - temperature in the quadrature points of a mesh entity, |
binary_collision_integral | - binary collision integral at a variable temperature in the quadrature points of a mesh entity, |
N1 | - number of the first gas from gases , |
N2 | - number of the second gas from gases . |
const double FuelCellShop::Material::GasMixture::get_ChapmanEnskog_diffusion_coefficient | ( | ) | const |
This function returns Maxwell-Stefan diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a constant total pressure and temperature.
void FuelCellShop::Material::GasMixture::get_ChapmanEnskog_diffusion_coefficient | ( | std::vector< double > & | diffusion_coefficient | ) | const |
This function returns Maxwell-Stefan diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a constant total pressure and temperature in the quadrature points of a mesh entity.
diffusion_coefficient | - Chapman Enskog diffusion coefficient at a constant total pressure and temperature in the quadrature points of a mesh entity. |
const double FuelCellShop::Material::GasMixture::get_ChapmanEnskog_diffusion_coefficient | ( | const double & | total_pressure, |
const double & | temperature | ||
) | const |
This function returns Maxwell-Stefan diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a variable total pressure and temperature.
total_pressure | - total pressure, |
temperature | - temperature. |
void FuelCellShop::Material::GasMixture::get_ChapmanEnskog_diffusion_coefficient | ( | const std::vector< double > & | total_pressure, |
const std::vector< double > & | temperature, | ||
std::vector< double > & | diffusion_coefficient | ||
) | const |
This function returns Maxwell-Stefan diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a variable total pressure and temperature in the quadrature points of a mesh entity.
total_pressure | - total pressure in the quadrature points of a mesh entity, |
temperature | - temperature in the quadrature points of a mesh entity, |
diffusion_coefficient | - Chapman Enskog diffusion coefficient at a variable total pressure and temperature in the quadrature points of a mesh entity. |
const double FuelCellShop::Material::GasMixture::get_ChapmanEnskog_diffusion_coefficient_at_constant_pressure | ( | const double & | temperature | ) | const |
This function returns Maxwell-Stefan diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a constant total pressure and variable temperature.
temperature | - temperature. |
void FuelCellShop::Material::GasMixture::get_ChapmanEnskog_diffusion_coefficient_at_constant_pressure | ( | const std::vector< double > & | temperature, |
std::vector< double > & | diffusion_coefficient | ||
) | const |
This function returns Maxwell-Stefan diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a constant total pressure and variable temperature in the quadrature points of a mesh entity.
temperature | - temperature in the quadrature points of a mesh entity, |
diffusion_coefficient | - Chapman Enskog diffusion coefficient at a constant total pressure and variable temperature in the quadrature points of a mesh entity. |
const double FuelCellShop::Material::GasMixture::get_ChapmanEnskog_diffusion_coefficient_at_constant_temperature | ( | const double & | total_pressure | ) | const |
This function returns Maxwell-Stefan diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a variable total pressure and constant temperature.
total_pressure | - total pressure. |
void FuelCellShop::Material::GasMixture::get_ChapmanEnskog_diffusion_coefficient_at_constant_temperature | ( | const std::vector< double > & | total_pressure, |
std::vector< double > & | diffusion_coefficient | ||
) | const |
This function returns Maxwell-Stefan diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a variable total pressure and constant temperature in the quadrature points of a mesh entity.
total_pressure | - total pressure in the quadrature points of a mesh entity, |
diffusion_coefficient | - Chapman Enskog diffusion coefficient at a variable total pressure and constant temperature in the quadrature points of a mesh entity. |
const Table< 2, double > FuelCellShop::Material::GasMixture::get_ChapmanEnskog_diffusion_coefficients | ( | ) | const |
This function returns Maxwell-Stefan diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a constant total pressure and temperature.
void FuelCellShop::Material::GasMixture::get_ChapmanEnskog_diffusion_coefficients | ( | std::vector< Table< 2, double > > & | diffusion_coefficients | ) | const |
This function returns Maxwell-Stefan diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a constant total pressure and temperature in the quadrature points of a mesh entity.
diffusion_coefficients | - Chapman Enskog diffusion coefficients at a constant total pressure and temperature in the quadrature points of a mesh entity. |
const Table< 2, double > FuelCellShop::Material::GasMixture::get_ChapmanEnskog_diffusion_coefficients | ( | const double & | total_pressure, |
const double & | temperature | ||
) | const |
This function returns Maxwell-Stefan diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a variable total pressure and temperature.
total_pressure | - total pressure, |
temperature | - temperature. |
void FuelCellShop::Material::GasMixture::get_ChapmanEnskog_diffusion_coefficients | ( | const std::vector< double > & | total_pressure, |
const std::vector< double > & | temperature, | ||
std::vector< Table< 2, double > > & | diffusion_coefficients | ||
) | const |
This function returns Maxwell-Stefan diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a variable total pressure and temperature in the quadrature points of a mesh entity.
total_pressure | - total pressure in the quadrature points of a mesh entity, |
temperature | - temperature in the quadrature points of a mesh entity, |
diffusion_coefficients | - Chapman Enskog diffusion coefficients at a variable total pressure and temperature in the quadrature points of a mesh entity. |
const Table< 2, double > FuelCellShop::Material::GasMixture::get_ChapmanEnskog_diffusion_coefficients_at_constant_pressure | ( | const double & | temperature | ) | const |
This function returns Maxwell-Stefan diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a constant total pressure and variable temperature.
temperature | - temperature. |
void FuelCellShop::Material::GasMixture::get_ChapmanEnskog_diffusion_coefficients_at_constant_pressure | ( | const std::vector< double > & | temperature, |
std::vector< Table< 2, double > > & | diffusion_coefficients | ||
) | const |
This function returns Maxwell-Stefan diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a constant total pressure and variable temperature in the quadrature points of a mesh entity.
temperature | - temperature in the quadrature points of a mesh entity, |
diffusion_coefficients | - Chapman Enskog diffusion coefficients at a constant total pressure and variable temperature in the quadrature points of a mesh entity. |
const Table< 2, double > FuelCellShop::Material::GasMixture::get_ChapmanEnskog_diffusion_coefficients_at_constant_temperature | ( | const double & | total_pressure | ) | const |
This function returns Maxwell-Stefan diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a variable total pressure and constant temperature.
total_pressure | - total pressure. |
void FuelCellShop::Material::GasMixture::get_ChapmanEnskog_diffusion_coefficients_at_constant_temperature | ( | const std::vector< double > & | total_pressure, |
std::vector< Table< 2, double > > & | diffusion_coefficients | ||
) | const |
This function returns Maxwell-Stefan diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a variable total pressure and constant temperature in the quadrature points of a mesh entity.
total_pressure | - total pressure in the quadrature points of a mesh entity, |
diffusion_coefficients | - Chapman Enskog diffusion coefficients at a variable total pressure and constant temperature in the quadrature points of a mesh entity. |
const double FuelCellShop::Material::GasMixture::get_ChapmanEnskog_isobaric_diffusion_coefficient | ( | ) | const |
This function returns Maxwell-Stefan isobaric diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a constant temperature.
void FuelCellShop::Material::GasMixture::get_ChapmanEnskog_isobaric_diffusion_coefficient | ( | std::vector< double > & | diffusion_coefficient | ) | const |
This function returns Maxwell-Stefan isobaric diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a constant temperature in the quadrature points of a mesh entity.
diffusion_coefficient | - Chapman Enskog isobaric diffusion coefficient at a constant temperature in the quadrature points of a mesh entity. |
const double FuelCellShop::Material::GasMixture::get_ChapmanEnskog_isobaric_diffusion_coefficient | ( | const double & | temperature | ) | const |
This function returns Maxwell-Stefan isobaric diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a variable temperature.
temperature | - temperature. |
void FuelCellShop::Material::GasMixture::get_ChapmanEnskog_isobaric_diffusion_coefficient | ( | const std::vector< double > & | temperature, |
std::vector< double > & | diffusion_coefficient | ||
) | const |
This function returns Maxwell-Stefan isobaric diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a variable temperature in the quadrature points of a mesh entity.
temperature | - temperature in the quadrature points of a mesh entity, |
diffusion_coefficient | - Chapman Enskog isobaric diffusion coefficient at a variable temperature in the quadrature points of a mesh entity. |
const Table< 2, double > FuelCellShop::Material::GasMixture::get_ChapmanEnskog_isobaric_diffusion_coefficients | ( | ) | const |
This function returns Maxwell-Stefan isobaric diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a constant temperature.
void FuelCellShop::Material::GasMixture::get_ChapmanEnskog_isobaric_diffusion_coefficients | ( | std::vector< Table< 2, double > > & | diffusion_coefficients | ) | const |
This function returns Maxwell-Stefan isobaric diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a constant temperature in the quadrature points of a mesh entity.
diffusion_coefficients | - Chapman Enskog isobaric diffusion coefficients at a constant temperature in the quadrature points of a mesh entity. |
const Table< 2, double > FuelCellShop::Material::GasMixture::get_ChapmanEnskog_isobaric_diffusion_coefficients | ( | const double & | temperature | ) | const |
This function returns Maxwell-Stefan isobaric diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a variable temperature.
temperature | - temperature. |
void FuelCellShop::Material::GasMixture::get_ChapmanEnskog_isobaric_diffusion_coefficients | ( | const std::vector< double > & | temperature, |
std::vector< Table< 2, double > > & | diffusion_coefficients | ||
) | const |
This function returns Maxwell-Stefan isobaric diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a variable temperature in the quadrature points of a mesh entity.
temperature | - temperature in the quadrature points of a mesh entity, |
diffusion_coefficients | - Chapman Enskog isobaric diffusion coefficients at a variable temperature in the quadrature points of a mesh entity. |
const double FuelCellShop::Material::GasMixture::get_Dbinary_collision_integral_Dtemperature | ( | const double & | temperature, |
const unsigned int & | N1 = 0 , |
||
const unsigned int & | N2 = 1 |
||
) | const |
This function returns the first derivative of the binary collision integral at a variable temperature.
temperature | - temperature, |
N1 | - number of the first gas from gases , |
N2 | - number of the second gas from gases . |
void FuelCellShop::Material::GasMixture::get_Dbinary_collision_integral_Dtemperature | ( | const std::vector< double > & | temperature, |
std::vector< double > & | dst, | ||
const unsigned int & | N1 = 0 , |
||
const unsigned int & | N2 = 1 |
||
) | const |
This function returns the first derivative of the binary collision integral at a variable temperature in the quadrature points of a mesh entity.
temperature | - temperature in the quadrature points of a mesh entity, |
dst | - at a variable temperature in the quadrature points of a mesh entity, |
N1 | - number of the first gas from gases , |
N2 | - number of the second gas from gases . |
const double FuelCellShop::Material::GasMixture::get_DChapmanEnskog_diffusion_coefficient_Dpressure | ( | const double & | total_pressure | ) | const |
This function returns the first derivative of the Maxwell-Stefan diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a variable total pressure and constant temperature.
total_pressure | - total pressure. |
void FuelCellShop::Material::GasMixture::get_DChapmanEnskog_diffusion_coefficient_Dpressure | ( | const std::vector< double > & | total_pressure, |
std::vector< double > & | dst | ||
) | const |
This function returns the first derivative of the Maxwell-Stefan diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a variable total pressure and constant temperature in the quadrature points of a mesh entity.
total_pressure | - total pressure in the quadrature points of a mesh entity, |
dst | - at a variable total pressure and constant temperature in the quadrature points of a mesh entity. |
const double FuelCellShop::Material::GasMixture::get_DChapmanEnskog_diffusion_coefficient_Dpressure | ( | const double & | total_pressure, |
const double & | temperature | ||
) | const |
This function returns the first derivative of the Maxwell-Stefan diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a variable total pressure and temperature.
total_pressure | - total pressure, |
temperature | - temperature. |
void FuelCellShop::Material::GasMixture::get_DChapmanEnskog_diffusion_coefficient_Dpressure | ( | const std::vector< double > & | total_pressure, |
const std::vector< double > & | temperature, | ||
std::vector< double > & | dst | ||
) | const |
This function returns the first derivative of the Maxwell-Stefan diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a variable total pressure and temperature in the quadrature points of a mesh entity.
total_pressure | - total pressure in the quadrature points of a mesh entity, |
temperature | - temperature in the quadrature points of a mesh entity, |
dst | - at a variable total pressure and temperature in the quadrature points of a mesh entity. |
const double FuelCellShop::Material::GasMixture::get_DChapmanEnskog_diffusion_coefficient_Dtemperature | ( | const double & | temperature | ) | const |
This function returns the first derivative of the Maxwell-Stefan diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a constant total pressure and variable temperature.
temperature | - temperature. |
void FuelCellShop::Material::GasMixture::get_DChapmanEnskog_diffusion_coefficient_Dtemperature | ( | const std::vector< double > & | temperature, |
std::vector< double > & | dst | ||
) | const |
This function returns the first derivative of the Maxwell-Stefan diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a constant total pressure and variable temperature in the quadrature points of a mesh entity.
temperature | - temperature in the quadrature points of a mesh entity, |
dst | - at a constant total pressure and variable temperature in the quadrature points of a mesh entity. |
const double FuelCellShop::Material::GasMixture::get_DChapmanEnskog_diffusion_coefficient_Dtemperature | ( | const double & | total_pressure, |
const double & | temperature | ||
) | const |
This function returns the first derivative of the Maxwell-Stefan diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a variable total pressure and temperature.
total_pressure | - total pressure, |
temperature | - temperature. |
void FuelCellShop::Material::GasMixture::get_DChapmanEnskog_diffusion_coefficient_Dtemperature | ( | const std::vector< double > & | total_pressure, |
const std::vector< double > & | temperature, | ||
std::vector< double > & | dst | ||
) | const |
This function returns the first derivative of the Maxwell-Stefan diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a variable total pressure and temperature in the quadrature points of a mesh entity.
total_pressure | - total pressure in the quadrature points of a mesh entity, |
temperature | - temperature in the quadrature points of a mesh entity, |
dst | - at a variable total pressure and temperature in the quadrature points of a mesh entity. |
const Table< 2, double > FuelCellShop::Material::GasMixture::get_DChapmanEnskog_diffusion_coefficients_Dpressure | ( | const double & | total_pressure | ) | const |
This function returns the first derivative of the Maxwell-Stefan diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a variable total pressure and constant temperature.
total_pressure | - total pressure. |
void FuelCellShop::Material::GasMixture::get_DChapmanEnskog_diffusion_coefficients_Dpressure | ( | const std::vector< double > & | total_pressure, |
std::vector< Table< 2, double > > & | dst | ||
) | const |
This function returns the first derivative of the Maxwell-Stefan diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a variable total pressure and constant temperature in the quadrature points of a mesh entity.
total_pressure | - total pressure in the quadrature points of a mesh entity, |
dst | - at a variable total pressure and constant temperature in the quadrature points of a mesh entity. |
const Table< 2, double > FuelCellShop::Material::GasMixture::get_DChapmanEnskog_diffusion_coefficients_Dpressure | ( | const double & | total_pressure, |
const double & | temperature | ||
) | const |
This function returns the first derivative of the Maxwell-Stefan diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a variable total pressure and temperature.
total_pressure | - total pressure, |
temperature | - temperature. |
void FuelCellShop::Material::GasMixture::get_DChapmanEnskog_diffusion_coefficients_Dpressure | ( | const std::vector< double > & | total_pressure, |
const std::vector< double > & | temperature, | ||
std::vector< Table< 2, double > > & | dst | ||
) | const |
This function returns the first derivative of the Maxwell-Stefan diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a variable total pressure and temperature in the quadrature points of a mesh entity.
total_pressure | - total pressure in the quadrature points of a mesh entity, |
temperature | - temperature in the quadrature points of a mesh entity, |
dst | - at a variable total pressure and temperature in the quadrature points of a mesh entity. |
const Table< 2, double > FuelCellShop::Material::GasMixture::get_DChapmanEnskog_diffusion_coefficients_Dtemperature | ( | const double & | temperature | ) | const |
This function returns the first derivative of the Maxwell-Stefan diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a constant total pressure and variable temperature.
temperature | - temperature. |
void FuelCellShop::Material::GasMixture::get_DChapmanEnskog_diffusion_coefficients_Dtemperature | ( | const std::vector< double > & | temperature, |
std::vector< Table< 2, double > > & | dst | ||
) | const |
This function returns the first derivative of the Maxwell-Stefan diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a constant total pressure and variable temperature in the quadrature points of a mesh entity.
temperature | - temperature in the quadrature points of a mesh entity, |
dst | - at a constant total pressure and variable temperature in the quadrature points of a mesh entity. |
const Table< 2, double > FuelCellShop::Material::GasMixture::get_DChapmanEnskog_diffusion_coefficients_Dtemperature | ( | const double & | total_pressure, |
const double & | temperature | ||
) | const |
This function returns the first derivative of the Maxwell-Stefan diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a variable total pressure and temperature.
total_pressure | - total pressure, |
temperature | - temperature. |
void FuelCellShop::Material::GasMixture::get_DChapmanEnskog_diffusion_coefficients_Dtemperature | ( | const std::vector< double > & | total_pressure, |
const std::vector< double > & | temperature, | ||
std::vector< Table< 2, double > > & | dst | ||
) | const |
This function returns the first derivative of the Maxwell-Stefan diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a variable total pressure and temperature in the quadrature points of a mesh entity.
total_pressure | - total pressure in the quadrature points of a mesh entity, |
temperature | - temperature in the quadrature points of a mesh entity, |
dst | - at a variable total pressure and temperature in the quadrature points of a mesh entity. |
const double FuelCellShop::Material::GasMixture::get_DChapmanEnskog_isobaric_diffusion_coefficient_Dtemperature | ( | const double & | temperature | ) | const |
This function returns the first derivative of the Maxwell-Stefan isobaric diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a variable temperature.
temperature | - temperature. |
void FuelCellShop::Material::GasMixture::get_DChapmanEnskog_isobaric_diffusion_coefficient_Dtemperature | ( | const std::vector< double > & | temperature, |
std::vector< double > & | dst | ||
) | const |
This function returns the first derivative of the Maxwell-Stefan isobaric diffusion coefficient of gas in gas (or vice-versa) written in the Chapman Enskog form (binary gas mixture only) at a variable temperature in the quadrature points of a mesh entity.
temperature | - temperature in the quadrature points of a mesh entity, |
dst | - at a variable temperature in the quadrature points of a mesh entity. |
const Table< 2, double > FuelCellShop::Material::GasMixture::get_DChapmanEnskog_isobaric_diffusion_coefficients_Dtemperature | ( | const double & | temperature | ) | const |
This function returns the first derivative of the Maxwell-Stefan isobaric diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a variable temperature.
temperature | - temperature. |
void FuelCellShop::Material::GasMixture::get_DChapmanEnskog_isobaric_diffusion_coefficients_Dtemperature | ( | const std::vector< double > & | temperature, |
std::vector< Table< 2, double > > & | dst | ||
) | const |
This function returns the first derivative of the Maxwell-Stefan isobaric diffusion coefficients of gas in gas written in the Chapman Enskog form (ternary and more complicated gas mixtures) at a variable temperature in the quadrature points of a mesh entity.
temperature | - temperature in the quadrature points of a mesh entity, |
dst | - at a variable temperature in the quadrature points of a mesh entity. |
|
inline |
This function returns gases
.
References gases.
|
inline |
This function returns temperature
.
References temperature.
|
inline |
This function returns total_pressure
.
References total_pressure.
|
virtual |
Initialize parameters.
Reimplemented from FuelCellShop::Material::BaseMaterial.
|
virtual |
This function prints out the material properties.
Reimplemented from FuelCellShop::Material::BaseMaterial.
|
inline |
This function sets gases
.
References gases.
|
inline |
This function sets temperature
.
References temperature.
|
inline |
This function sets total_pressure
.
References total_pressure.
|
protected |
This std::vector
contains all pure gases which form the whole gas mixture of a problem at hand.
Referenced by get_gases(), and set_gases().
|
protected |
Temperature of the whole gas mixture, .
If temperature
= DUMMY
= 1.e300
, then the whole gas mixture is supposed to be a non-isothermal mixture.
Referenced by get_temperature(), and set_temperature().
|
protected |
Total pressure of the whole gas mixture, .
If total_pressure
= DUMMY
= 1.e300
, then the whole gas mixture is supposed to be a non-isobaric mixture.
Referenced by get_total_pressure(), and set_total_pressure().