|
|
| 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...
|
|
|
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...
|
|
|
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...
|
|
|
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...
|
|
|
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...
|
|
|
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...
|
|
|
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...
|
|
|
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...
|
|
|
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...
|
|
|
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...
|
|
|
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...
|
|
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...
|
|
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 of the whole gas mixture called
total_pressure
,
- temperature of the whole gas mixture called
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:
- Maxwell-Stefan isobaric diffusion coefficient of gas
in gas
(or vice-versa) written in the Chapman Enskog form (binary gas mixture only),
and partial derivative
where the binary collision integral
is given by 
- Maxwell-Stefan diffusion coefficient of gas
in gas
(or vice-versa) written in the Chapman Enskog form (binary gas mixture only),
and partial derivatives
and
where the binary collision integral
is given above
- The table
containing Maxwell-Stefan isobaric diffusion coefficients of gas
in gas
written in the Chapman Enskog form (ternary and more complicated gas mixtures),
and partial derivatives
where the binary collision integral
is given by 
- The table
containing Maxwell-Stefan diffusion coefficients of gas
in gas
written in the Chapman Enskog form (ternary and more complicated gas mixtures),
and partial derivatives
and
where the binary collision integral
is given above
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.
- Author
- Valentin N. Zingan, 2013