modelMolecularDiffusion
Information
This components allows to model the mass flow rate induced by the gradient of concentration of species within a binary gas mixture. The mass flow rate of species derives from the Fick's equation.
The physical model under this module uses the following assumptions:
- the total concentration of the mixture is approximately constant
Where:
-
m_flow jis the mass flow rate of the species 'j' [kg.m-2.s-1] -
ρis the density of the mixture [kg.m-3] -
Dijbinary coefficient of diffusion from 'i' to 'j' [m2.s-1] -
cjmass fraction of the species 'j' [-]
The quantities contained in the equation are such that Dij = Dji (symmetry of the interaction between particles i and j) and ci + cj = 1 (by definition of the mass fraction).
It is deduce that diffusion does not globally transport mass, it only distributes it differently:
Therefore an to avoid mass transport, the global density used in the equations above are computed at the middle of the diffusion length.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Thickness | Th | 1 | Thickness between concentration potential difference |
| Modelica.SIunits.CrossSection | A | 0 | |
| Modelica.SIunits.DiffusionCoefficient | D | 25*1e-6 |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| TAeZoSysPro.FluidDynamics.Interfaces.FlowPort_a | flowPort_a | ||
| TAeZoSysPro.FluidDynamics.Interfaces.FlowPort_b | flowPort_b |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real[Medium.nX] | grad_X | gradient of mass fraction | |
| Modelica.SIunits.MassFlowRate | m_flow | ||
| Modelica.SIunits.Density | d_mean | ||
| Modelica.SIunits.Temperature | T_mean | ||
| Modelica.SIunits.SpecificEnthalpy | h | ||
| Real[Medium.nX] | J | Gradient of mass fraction | |
| Modelica.SIunits.MassFraction | X_a | ||
| Modelica.SIunits.MassFraction | X_b |
Contents
| Name | Description |
|---|---|