# Equimolar counterdiffusion

Equimolar counterdiffusion is an instance of molecular diffusion in a binary mixture, and occurs when equal numbers of molecules of the two substances are moving in opposite directions.

## Diffusion

There are three different types of diffusion: molecular, Brownian and turbulent. Molecular diffusion occurs in gases, liquids, and solids. Diffusion is a result of thermal motion of molecules. Usually, convection occurs as a result of the diffusion process. The rate at which diffusion occurs depends on the state of the molecules: it occurs at a high rate in gases, a slower rate in liquids, and an even slower rate in solids. In gases, molecular diffusion is dependent on pressure and temperature. The higher the pressure, the slower the diffusion takes place, and the higher the temperature, the faster the diffusion takes place. In liquids, an increase in temperature increases the rate of diffusion. However, since liquids are incompressible, the rate of diffusion is not affected by the pressure. The rate of diffusion in solids is also increased by temperature.
Heat and mass transfer occurs from areas of higher concentration to areas of lower concentration. A simplistic way to picture diffusion is when ink is put on a paper towel; it spreads from areas of high concentration to areas of low concentration. The equation for this is shown below and is similar to the heat equation.
       N = -D dC/dr
where
    N is the rate of mass transfer of the diffusing component (moles per second per unit area)
    D is the diffusivity variable
    dC/dr is the local concentration gradient of the diffusing component

## Mathematical description of equimolar counterdiffusion

However, if a mixture is not of a pure concentration but consists of two species; then it is a binary flow, and the two flows must balance each other. This type of diffusion is referred to as equimolar counterdiffusion, and the two species, A and B, are in combination with each other. As an example, if there are two groups of mixtures containing species A and B connected by a channel, then species A will diffuse in the direction of species B, and vice versa. Specifically, for gases, assuming ideal gas behavior (P=CR$_u$T), the molar concentration C will remain constant since the pressure and temperature are constant. Therefore, the molar flow rates of each species must be equal in magnitude and opposite in direction:
       Ṅ$_A$+Ṅ$_B$ = 0
In this process, the net molar flow rate of the mixture and the molar-average velocity are equal to zero, and mass transfer occurs by diffusion only without any convection taking place.
The mole fraction, the molar concentration, and the partial pressure of both gases involved in equimolar counterdiffusion vary linearly. These relationships can be found in the following equations expressing the molar flow rates for each species, A and B, for a one-dimensional flow through a channel with no homogeneous chemical reactions:
       Ṅ$_{diff,A}$ =(CD$_{AB}$ A (y$_{A,1}$-y$_{A,2}$))/L = (D$_{AB}$ A (C$_{A,1}$-C$_{A,2}$))/L = (D$_{AB}$ A (P$_{A,0}$-P$_{A,L}$))/(R$_u$ T L)
       Ṅ$_{diff,B}$ =(CD$_{BA}$ A (y$_{B,1}$-y$_{B,2}$))/L = (D$_{BA}$ A (C$_{B,1}$-C$_{B,2}$))/L = (D$_{BA}$ A (P$_{B,0}$-P$_{B,L}$))/(R$_u$ T L)
where
    C is the molar concentration
    D$_{AB}$ or D$_{BA}$ is the interdiffusion coefficient
    P is the partial pressure of the gas
    A is the constant cross-sectional area
    L is the length of the channel where the mixtures diffuse
    y is the mole fraction

## Application in catalysis

We can use this equation to calculate the rate of diffusion in the surface of a catalyst thus: the mole fraction y$_{B,1}$ is the concentration in the bulk fluid and the concentration y$_{B,2}$ is the concentration of molecule B liquid at the surface of a catalyst. The diffusion in the bulk fluide compensate the utilisation of B at the surface of the catalyst. k$_g$ is the mass transfer coefficient.
       Ṅ$_{diff,B}$ =k$_g$(y$_{B,1}$-y$_{B,2}$)
Although the mixture is stationary due to the molar flow rate and velocity being zero, the net mass flow rate of the mixture is not equal to zero unless the molar mass of A is equal to the molar mass of B. The mass flow rate can be found using the following equation:
       ṁ = ṁ$_a$+ṁ$_b$=Ṅ$_a$ M$_a$+Ṅ$_b$ M$_b$=Ṅ$_a$ (M$_a$+M$_b$)