About Multispecies Flow

In a multispecies simulation, multiple fluids are present in the same phase and combine into the fluid mixture that you solve in the Navier-Stokes equations.

The app assumes the mixture generated to be uniform. You can account for the effect of each species on the flow by solving additional conservation equations for the mass of each component involved in the mixture.

You can define two types of multispecies flow:

  • Active multispecies: the app computes the fluid properties of the mixture using the mass fraction of all the components in it.
  • Passive multispecies: the app computes the fluids properties of the mixture using one dominant species in the mixture. The other species are "passive," and their properties do not contribute to the calculated fluid behavior.

This page discusses:

Introduction

To establish the definition of a mixture, start by stating that the total mass of the system is equal to all the masses of the N species present in the mixture:

m T = ∑ i = 1 N m i .

You can write this mass statement in normalized form:

∑ i = 1 N m i m T = 1.

In this case, the mass ratio of each species is the mass fraction:

y i = m i m T .

The total density is obtained by dividing the total mass by the total volume of the domain:

ρ = m T V = ∑ i = 1 N m i V = ∑ i = 1 N m i m T m T V = ∑ i = 1 N ρ y i .

You can obtain another important relationship by establishing that the total number of moles in the system is equal to the sum of the moles of each individual component:

n T = ∑ i = 1 N n i .

Similar to the mass conservation, you can normalize the moles to give a relationship for the ratio of moles:

∑ i = 1 N n i n T = 1.

This ratio is the molar fraction:

χ i = n i n T .

You can relate the mass and the molar fraction to one another as follows:

χ i = y i M w ¯ M w ⁢ i ,

where M w ⁢ i is the molar mass of the species i , and M w ¯ is the molar mass of the mixture. You can compute the molar mass of the mixture from the mass or molar fraction and the molar masses of each species as follows:

M w ¯ = 1 ∑ i = 1 N y i M w ⁢ i = ∑ i = 1 N χ i M w ⁢ i .

You can obtain the total volume that a mixture of fluid occupies by adding the volumes that each species would occupy at the pressure of the mixture:

V i = m T y i ρ ⁢ i V = ∑ i = 1 N m T y i ρ ⁢ i = m T ∑ i = 1 N y i ρ ⁢ i

So you can compute the density of the mixture as follows:

ρ = ( ∑ i = 1 N y i ρ ⁢ i ) − 1 .

Having established the basic definition for the mixture, it is important to write the governing equations of the system.

The continuity, momentum, and energy equations of the system look virtually identical

∂ ρ ∂ t + ∂ ρ u j ∂ x j = 0 ∂ ρ u i ∂ t + ∂ ∂ x j ( ρ u j u i ) = − ∂ p ∂ x i + ∂ ∂ x j ( μ ( ∂ u i ∂ x j + ∂ u j ∂ x i ) ) ∂ ρ e ∂ t + ∂ ∂ x j ( ρ u j ( e + 1 2 u k u k ) ) = ∂ ∂ x j ( − p u j + μ ( ∂ u i ∂ x j + ∂ u j ∂ x i ) u i ) + ∂ ∂ x j ( κ ∂ T ∂ x j )

In addition, the system of equations needs to supplement the equation of states to relate the variables of state. You can define these equations generically to include the ideal gas law, real gas models, and any other definitions as follows:

p = f p ( ρ ,   T ) ,       e = f e ( T ,   p ) ,       h = f h ( T ,   p ) .  

In the multispecies context, the fluid properties that appear in the governing equation (like density, viscosity, heat conductivity, and the equation of state) represent the properties of the fluid mixture, and they are functions of the species mass fraction.

In addition to the Navier-Stokes equations, you must solve the N − 1 transport equation for the mass fraction:

∂ ρ y i ∂ t + ∂ ∂ x j ( ρ u j y i ) = ∂ ∂ x j ( ρ D i ∂ y i ∂ x j ) + ω ˙ i ,

while you can compute the last species from the total mass conservation as follows:

y N = 1 − ∑ i = 1 N − 1 y i ,

where D i and ω ˙ i are the mass diffusivity and species sources of species i , respectively. The product between the mass diffusivity and the gradient of the mass fraction does not imply summation; it states only that the mass diffusivity of species should be used in its equation because the diffusivities do not need to be the same.

From the mixture values, it is possible to obtain individual species quantities. You can obtain the total mass of each species by integrating the mixture densities and the mass fraction.

m i T o t = ∫ Ω   ρ y i ⅆ V .

You can obtain the volume that each species occupies in the domain by using the mixture density, mass fraction, and density of each species.

V i T o t = ∫ Ω   ρ y i ρ i ⅆ V .

Knowing the rate at which the species enter the domain is also important. You can integrate the mass flow of each species over the surface of interest as follows:

m ˙ i T o t = ∫ ∂ Ω   ρ y i u ⋅ ⅆ A

You can also compute the volumetric flow of each species from the partial volume relationship:

V ˙ i T o t = ∫ ∂ Ω   ρ y i ρ i u ⋅ ⅆ A

About Active Multispecies in Flow Simulations

An active multispecies simulation is one in which the app computes the fluid properties using the mass fraction of all the components involved in the simulation. This definition implies that the governing equations are fully coupled with the species equation. Therefore, it is important to define the averaging methods used for the different flow regimes.

Compressible Flow Simulations in Gases

For this case, you assume that the gases occupy the space independently of one another and exhibit the same temperature. This assumption means that each species exhibit its own pressure, such that the pressure of the mixture is the summation of these partial pressures. Using the ideal gas law it can be shown that

p = ∑ i = 1 N ρ i = ∑ i = 1 N ρ i R i T .

This relationship has to be equal to the ideal gas law applied to the properties of the gas mixture.

p = ρ R ¯ T = ∑ i = 1 N ρ i R i T ρ R ¯ = ∑ i = 1 N ρ i R i

Because the mixture and each species occupy the same volume, this relationship yields the mass-weighted average of the gas constant of the mixture:

R ¯ = ∑ i = 1 N y i R i ,

So the density of a gas mixture where the pressure and temperature is given can be computed using the ideal gas law using the gas constant of the mixture

ρ = p R ¯ T

The density can be also computed using the total volume conservation formula, using the ideal gas law for each species, which yields the ideal gas law of the mixture:

ρ = ( ∑ i = 1 N y i ρ ⁢ i ) − 1 = ( ∑ i = 1 N y i R i T p ) − 1 = p T ∑ i = 1 N y i R i = p R ¯ T

You can compute the heat capacities and the gas constant of the mixture as mass-weighted averages:

C p = ∑ i = 1 N y i C p i ,       R = ∑ i = 1 N y i R i ,       C v = f C v ( C p ,   R   )     .

In this case, the heat capacity at constant volume C v is computed using the gas mixture C p , the mixture gas constant R , and the equation of state.

For diffusion coefficients, kinetic theory predicts an averaging method that is valid for the low-density limit. You can apply this method here for the molecular viscosity:

μ = ∑ i = 1 N χ i μ i ∑ j = 1 N χ j φ i j , φ i j = ( 1 − ( μ i μ j ) 1 / 2 ( M w j M w i ) 1 / 4 ) 2 ( 8 − 8 M w i / M w j ) 1 / 2

and for the thermal conductivity:

κ = ∑ i = 1 N χ i κ i ∑ j = 1 N χ j ζ i j . ζ i j = ( 1 + ( κ i κ j ) 1 / 2 ( M w j M w i ) 1 / 4 ) 2 ( 8 − 8 M w i / M w j ) 1 / 2

To run compressible active species, you can activate the compressible flow solver, and then define an equation of state. The equations of state that can you can use are the ideal gas law and the real gas models.

Note: When computing the masses and volumes of each species, the full active formulation provides more accurate results than the passive formulation for gas flow simulations. When you use passive species in the simulation, the app computes the density of each species from the density of the background species, ρ b , as follows:
ρ i = ρ b y i .
This relationship implies that the volume of each species is the same as the volume of the mixture:
V i = V .
These relationships are inaccurate, which is the reason why you should use the full active formulation for accurate results when you are interested in the amount of species present in the simulation.

Incompressible Flow Simulations in Liquids

You can set up an incompressible multispecies simulation in the following ways:

  • An incompressible flow simulation without the energy equation defined. For this formulation, specify the molar mass in the material definition.
  • An incompressible flow simulation with the energy equation defined but no equation of state defined. For this formulation, specify the molar mass in the material definition.
  • An incompressible flow simulation with the energy equation defined and no molar mass specification. For this formulation, specify an incompressible equation of state in the material definition.

For incompressible flows, the app computes every material property except density in the same way as it does for compressible flow. When density is constant, you can compute the mass of the mixture from the volumes conservation equation of the mixture:

ρ = ⁢ ( ∑ i = 1 N y i ρ ⁢ i ) − 1

As with compressible flow for gases, you should use the full active formulation (rather than the passive formulation) for simulation of incompressible flow in liquid mixtures.

About Passive Multispecies in Flow Simulations

In a passive multispecies simulation, the material properties of one component in the mixture dominate over the rest of the components. For example, in a large container of water that includes a small amount of colored dye, the material properties of the water dominate. For mixtures like these, you can assume that the fluid properties of the mixture are equal to the component that dominates in the mixture. This approach simplifies the simulation because you do not have to compute the fluid properties of the mixture; in turn, this assumption implies a one-directional coupling where the rest of the species do not affect the evolution of the momentum and energy of the flow. However, the momentum and energy dictates the evolution of the rest of the species.

The app refers to the component whose properties dominate the mixture as the background material. When you specify a multispecies section, it is important to select the correct background material to use in the governing equations.

Passive multispecies formulations are supported in both incompressible and compressible simulations without any restrictions, other than the standard restrictions associated with incompressible and compressible flow for single-species simulations.

References

  1. Poinsot, T., Theoretical and Numerical Combustion, R.T. Edwards Inc., Second Edition, 2005.
  2. Poling, B.E., J. M. Prausnitz, and J. P. O’Connell, The Properties of Gases and Liquids, McGraw Hill, Fifth Edition, 2001.
  3. White, F. M., Viscous Fluid Flow, McGraw Hill (series in mechanical engineering), 2005.