## Abstract

Generate a lattice Boltzmann model (LBM), which allows to simulate the behavior of a Bingham fluid through a rectangular channel with the D2Q9 model. For this purpose, a relaxation parameter is proposed based on the rheological parameters of the Bingham model. The validation will be carried out with the solution of the movement equation, and velocity profiles will be obtained for three different Bingham numbers (Bn). Other simulations will be made in a rectangular channel in the presence of arbitrarily and randomly generated porous media. The main objective is to propose a method to predict the behavior of non-Newtonian fluids (Bingham fluid) through porous media, which have many applications in the chemical industry avoiding at the same time the expensive experimentation of these systems, with predicting models.

### Keywords

- lattice Boltzmann model
- non-Newtonian fluids
- Bingham fluid
- porous media
- velocity profiles

## 1. Introduction

A continuous medium is characterized by the fact that its atoms or molecules are so close together, in such way that they could be considered macroscopically as a homogeneous mass, whose behavior can be foreseen without considering the movement of each of its elementary particles that compose it. In this sense it is assumed that there are no gaps or separations between the particles.

The movement of fluids can have a wide variety of behaviors for both simple and complex flows (biological and food systems). In addition to this, using Reynolds number, we can know if the flow has turbulent or laminar regime.

Mass conservation is the basic principle of fluid movement, which requires that when the fluid is in motion, it moves so that the mass is preserved. The movement of fluids is governed in general by the continuity equation.

On the other hand, the Navier-Stokes equation, which in general terms corresponds to the application of Newton’s second law of classical mechanics to fluid movement, is described as follows:

for a fluid with velocity

There are basically three types of fluids from the point of view of fluid dynamics, which are called Newtonians, non-Newtonians, and viscoelastic.

### 1.1 Newtonian fluids

In this type of fluid, the shear stress or shear force per unit area is proportional to the viscosity gradient:

In Eq. (3), τ_{yx} is the shear stress, (dv_{x}/dy) is the shear rate, and μ is the viscosity, and its graphic representation can be seen in Figure 1.

All gases, liquid water, and liquids of single molecules (ammonia, alcohol, benzene, petroleum, chloroform, butane, etc.) are Newtonian. Many food materials such as milk, apple juice, orange juice, wine, and beer have a Newtonian behavior [1].

### 1.2 Non-Newtonian fluids

When the relationship between shear stress and shear rate is not linear, the fluid is called non-Newtonian. There are many these types of fluids, and their behaviors are shown in Figure 1.

In the case of these fluids, the viscosity is no longer constant; therefore, the relationship between the shear stress and the shear rate of the fluid is no longer linear. For this reason, a new term is now introduced and is known as apparent viscosity or also known as shear rate-dependent viscosity [3].

Some fluids have a yield stress, from which the fluid begins to move. Below this tension the shear rate would be zero. This relationship is not linear or, if it is, it does not pass through the origin [4]. Complex mixtures are considered non-Newtonian fluids: grouts, pastes, gels, polymer solutions, etc. Most non-Newtonian fluids are mixtures with constituents of very different sizes. For example, toothpaste is composed of solid particles suspended in an aqueous solution of several polymers. Solid particles are much larger than water molecules, and polymer molecules are much larger than water molecules.

Much of the research that is carried out in the field of non-Newtonian fluids has been focused in the measure of its shear stress-shear strain curves and to look for mathematical descriptions of these curves. The study of the behavior of the flow of materials is called rheology (a term that originates from Greek words that give the meaning of “the study of flow”); thus, diagrams such as the one shown in Figure 1 are often called rheograms.

In the case of Bingham fluids, sometimes called Bingham plastics, they resist a small shear force indefinitely, but they flow easily under large shear stresses. In other words, at low stresses the plastic viscosity of Bingham is infinite, and at greater stresses the viscosity decreases with the increase in the velocity gradient. Examples are bread dough, toothpaste, apple sauce, some paints, plastics, mayonnaise, ketchup, aleas, and some grouts [5, 6].

## 2. Bingham model

Eugene C. Bingham described the paintings with this model in 1919, published in his book * Fluidity and Plasticity* in 1922. The model was analyzed by Oldroyd (1947), Reiner (1958), and Prager (1961).

The main feature of the Bingham model is the yield stress, necessary for the fluid to deform or flow. Above this minimum yield stress, the fluid begins to move. If this yield stress is not exceeded, the fluid behaves like a rigid or quasi-rigid body, with zero shear rate.

The relationship between the shear stress and the velocity gradient is linear, but it does not go through the origin for a Bingham plastic (Figure 1); its mathematical model is given by

where τ_{0} is the yield stress, μ_{B} is the plastic viscosity of Bingham, and

Other examples of Bingham-type fluids in foods are tomato sauce, whipped cream, whipped egg white, margarine, and mustard-type condiments [7, 8].

### 2.1 Analytical solution of the equation of motion in the case of a Bingham-type fluid

In this section, we will obtain a mathematical expression that shows how to quantify the velocity profile for a non-Newtonian fluid for the Bingham model.

In the case of a Poiseuille flow, the flow of a Bingham-type fluid in the x-direction is considered, between two plates separated by a distance 2H, taking into account the steady-state conditions, constant cross section, absence of gravitational effects and isothermal flow, and being incompressible, such as the one shown in Figure 2.

From the equation of motion, we can obtain the stress profile, as well as the velocity profile:

The pressure gradient effect is considered as a favorable driving force for fluid movement. Usually, the pressure decreases at a constant rate from the initial end to the end in the x direction.

The component of the flow density tensor of the amount of movement of Eq. (6) is τ_{yx}; therefore, considering the above conditions, we have the following equation to solve:

Making a separation of variables, in addition to performing the corresponding integrals in Eq. (8), we obtain

The integration constant is zero, when τ_{yx} = 0 at y = 0, i.e., at the center of the plates, the shear stress is minimal. Therefore, the shear stress profile is

Equating Eq. (10) with the Bingham model, we obtain

Making a second separation of variables, in addition to performing the corresponding integrals, we have

In Figure 2, it is shown that velocity is zero on the plates; i.e., v_{x} = 0 at y = ±H. Using this condition, the value of c_{2} is obtained. Substituting in Eq. (12) we obtain

To know the velocity profile in the region of the plug flow, the condition for the yield stress is proposed according to Eq. (10), when y = y_{0}:

Substituting Eq. (14) into Eq. (13), the velocity in the plug flow region is obtained:

Commonly, velocity profiles are usually represented with on the Bingham number, which is defined as

In Eq. (16), v is a characteristic velocity. Dividing Eq. (13) by this velocity,

is obtained. Eq. (17) represents the velocity profile for the Poiseuille flow between two parallel plates, in the case of a Bingham-type fluid, and its graphic representation is that shown in Figure 3, for values of Bn = 0.1, 0.2, 0.3, and 0.4, with dimensionless values [4].

The graph of the shear stress vs. normalized shear rate (rheogram) is shown in Figure 4.

## 3. Lattice Boltzmann Bhatnagar-Gross-Krook (BGK)

The Lattice Boltzmann Method (LBM) generally consists of a discrete lattice; each site (node) is represented by the distribution function, which is defined by the velocity of a particle and limited to a discrete group of allowed velocities. During each time step, the movement or jump of particle to nearby lattice sites, along its direction of movement, a collision with another particle can occur when they reach the same site. The result of the collisions is determined by means of the solution of the kinetic equation of Boltzmann for the new function of distribution of the particle to that site, and in this way the function of distribution of the particle is updated [9, 10].

There are different lattice models, which are given by DmQn; m indicates the dimension and n the permitted velocity, thus, the D2Q9 model (two-dimensional with nine speed directions), of which four sites correspond to nearby neighbors (right, left, up, and down), four other points of the lattice vectors along the diagonal faces of the following sites, along these diagonals. In this way the particles can travel in eight directions for each lattice site. The circle in the center of the square represents the vector, which has a value of zero and represents particles that have no movement, that is, particles at rest. Then, there are a total of nine real numbers that describe the distribution function of the particle for a lattice site (see Figure 5).

The process of the propagation and collision of particles generally occurs in two stages: the first is to denote the advance of the particles to the next lattice site along the directions of movement; this is for each time step Δt. The second stage is to simulate the collisions of the particles, which causes them to propagate in different directions at each lattice site [11, 12]. These stages can be described through the discretized Boltzmann equation on a lattice.

To simplify Eq. (18), the BGK approximation is usually used; this approximation replaces the term Ω:

This operator models the effect of the collision as a relaxation of the distribution function towards the Maxwell equilibrium distribution. The parameter τ (relaxation time) has dimensions of time and controls the frequency with which the distribution function relaxes to reach equilibrium, that is, this time determines the rate at which the fluctuations in the system lead to this state of equilibrium [13].

The macroscopic variables (mass (ρ) and velocity

In the case of a Newtonian fluid, the ratio of kinematic viscosity and relaxation time is given by [13] υ = 1/3 (τ-1/2).

## 4. Simulation of Bingham fluids with the lattice Boltzmann method

For the simulations of the Bingham fluid with the Lattice Boltzmann Method, a modification was made to the LBGK approach presented by Wang and Ho [14] and Tang et al. [15], for a D2Q9 model, which consists in proposing the relaxation parameter τ based on the apparent viscosity:

In Eq. (22),

The validation of the proposal in the LBM was performed by comparing the results of the analytical solutions for a Poiseuille flow between two separate plates a distance 2H, shown in Figure 2 using Eq. (17). The used conditions were pressure force = 2.66E-2, yield stress = 2.00E-5, and Bingham viscosity of 0.4 for a Bin = 0.1; pressure force = 5.83E-3, yield stress = 1.10E-5, and Bingham viscosity of 0.08 for a Bin = 0.2; pressure force = 5.19E-3, yield stress = 1.40E-5, and Bingham viscosity of 0.07 for a Bin = 0.3; and pressure force = 1.88E-3, yield stress = 6.50E-6, and Bingham viscosity of 0.025 for a Bin = 0.4.

Simulations were performed in porous media, applying the LBM in the case of deterministic porous medium and random porous media. A modification of a “Box-Muller method,” which is a random number generator, was inserted in random porous media, and blocks were inserted arbitrarily in the lattice for deterministic porous media [16, 17].

An alternative way or method is proposed for obtaining local permeabilities for deterministic and random porous media. This one consists in a modification of Darcy’s law; for this the permeability is calculated based on the apparent viscosity according to the following equation:

In Eq. (23), K is the permeability, v is the velocity, and dP/dx is a pressure force.

The discrete macroscopic pressure P is given by the state equation that relates the discrete density to the pressure _{s} is the speed of sound and ρ is the density that is calculated through Eq. (21).

The relationship is valid for incompressible fluid simulations and is only allowed to fluctuate locally around a fixed value [18]. Hidemitsu Hayashi proposed two LBMs for the flow generated by the pressure gradient (FGPG) and the flow driven by an external force (FDEF), which are consistent with each other [19].

The criterion used by Wang and Ho [14] was taken, for which yielding occurs when the magnitude of the extra shear stress tensor exceeded the yield stress,

Figure 6 shows the validation of the velocity profiles with the analytical solution and the simulations with LBM. The error between both solutions was less than 2.0%.

For the development of the work, three porous media with a deterministic structure and nine random were proposed; in each of them all the simulations were performed for three Bingham numbers (0.2, 0.3, and 0.4).

In Figures 7–15, the speed patterns for all simulations are shown; for this the values of the yield stress, the pressure forces, and the viscosities were varied.

In Figures 7–15 the decrease in porosity corresponds to a decrease in velocity. It can be noted that for a Bingham number of 0.2 (Figures 7–9), higher velocities are shown in deterministic porous media than random media. But in the latter, there are more places to pass the fluid. These behaviors are presented in the simulations for the three Bingham numbers used (0.2, 0.2, and 0.3). Comparing the Bingham number of 0.2 with that of 0.4, a decrease in the velocity in the deterministic porous media is observed as well as the random ones according to the conditions handled; this is due to the decrease of the initial effort, the pressure force, and the viscosity.

Local permeabilities were simulated based on apparent viscosities for all deterministic and random porous media. In Figures 16–19, only some of the results of local permeabilities for deterministic porous media 81.68 and 65.82% with Bingham numbers of 0.2 and 0.4, respectively, are shown. Likewise, only the result of the simulations for two random porous media 81.62 and 65.75% for Bingham numbers of 0.2 and 0.4, respectively, are shown.

Figures 16–19 show the zones in blue of the local permeabilities. It is remarkable that the blue areas predominate in random porous media. By comparing the Bingham number of 0.2 for the two deterministic and random porous media according to Figures 16 and 17 with that of 0.4 of Figures 18 and 19, an increase in permeabilities can be seen.

Finally, pressures for all porous media were simulated. Figures 20–25 show some of the results obtained in the case of deterministic porous media with porosities of 81.68, 73.75, and 65.82% for Bingham numbers 0.2, 0.3, and 0.4, respectively. Similarly, the results are presented for random porous media with porosities of 81.62, 73.68, and 65.75% for Bingham numbers 0.2, 0.3, and 0.4, respectively.

Figures 20–25, you can see in all cases the difference in pressures, higher pressure in the red colors, and less pressure in the green colors, in addition to observing the pressures in the different zones.

## 5. Conclusions

In the present work, the Lattice Boltzmann Method was applied to a problem of the flow of a non-Newtonian Bingham-type fluid between two plates, in the case of a Poiseuille flow.

This method is an alternative to the conventional ones used in computational fluid mechanics, its programming is not complicated, and today it is applied to many engineering problems.

Validations were carried out with the analytical solution of the velocity profiles for the case of a Poiseuille flow and the simulations with Lattice Boltzmann, for the case of Bingham-type fluids, for values of the Bingham number (Bin) of 0.1, 0.2, 0.3, and 0.4. The results of all the simulations were quite acceptable, since the percentage of error between both results did not exceed 2.0%.

The LBM proves to be kind for simulations with small lattices, such as the one used in the present work 64 × 64. All simulations were performed in a laminar regime.

Three deterministic porous media with porosities of 81.68, 75.75, and 65.82% and nine randomized ones with porosities of 81.62, 73.68, and 65.75% were proposed for three Bingham numbers (0.2, 0.3, and 0.4), to perform all simulations. In them the pressure forces, yield stress, and viscosities were varied.

Profiles of velocities, permeabilities, and local pressures were obtained, in all cases the results and behaviors were acceptable for all porous media, and the three Bingham numbers, although only some of the results obtained, were presented at work.

The LBM with the necessary restrictions allows to perfectly simulate the behavior of fluids, as is the case of the Bingham type; the importance of this is the application of multiple industrial processes, in the displacement of fluids reducing costs and time.

Finally, it would be convenient to perform simulations with turbulent flows to verify the goodness of the method with this type of fluid, in which its description is more complex.

## Acknowledgments

The present work was developed under the sponsorship of the Facultad de Estudios Superiores Cuautitlán-Universidad Nacional Autónoma de México.

## Conflict of interest

The author declares no conflicts of interest regarding the publication of this paper.

## References

- 1.
Pérez V. La Ecuación de redes de Boltzmann: Una alternativa para la simulación de fluidos Newtonianos y de Ostwald de Waele [Thesis]. Cuautitlán: Universidad Nacional Autónoma de México; 2016 - 2.
Chhabra RP, Richardson JF. Non-Newtonian Flow in the Process Industries, Fundamentals and Engineering Applications. 2nd ed. Burlington: Butterworth-Heinemann; 2008. 518p - 3.
León GE. Simulación de fluidos pseudoplásticos con métodos actuales de la dinámica de fluidos computacionales y su comparación con datos experimentales [Thesis]. Cuautitlán: Universidad Nacional Autónoma de México; 2017 - 4.
Guerrero V. Simulación del perfil de velocidades para un fluido tipo Bingham en canales rectangulares empleando redes de Boltzmann [Thesis]. Cuautitlán: Universidad Nacional Autónoma de México; 2018 - 5.
De Nevers N. Mecánica de Fluidos para Ingenieros Químicos. 1st ed. México: CECSA; 2006 - 6.
Moreno E, Cervera M. Elementos finitos mixtos para flujos confinados de Bingham y de Herschel-Bulkley. Parte I: Formulación. Revista Internacional de Metodos Numericos para Calculo y Diseno en Ingenieria. 2016; 32 :100-109. DOI: 10.1016/j.rimni.2015.02.004 - 7.
Moreno E, Cervera M. Elementos Finitos Mixtos Estabilizados para Flujos Viscoplasticos, Formulación y Aplicaciones. 1ª ed. Gran Capitán: Centro Internacional de Métodos Numéricos en Ingeniería; 2014. 319p - 8.
Bird R, Stewart W, Lightfoot E. Fenómenos de Transporte. 2nd ed. México: Limusa Wiley; 2006. 1062p - 9.
Chen S, Doolen G. Lattice Boltzmann method for fluid flows. Annual Review of Fluid Mechanics. 1998; 30 :329-364. DOI: 10.1146/annurev.fluid.30.1.329 - 10.
Wilke J. Cache optimizations for the lattice Boltzmann method in 2D [Thesis]. Erlangen: Friedrich-Alexander-Universität Erlangen-Nürnberg; 2003 - 11.
Chen S, Doolen G, Eggert K. Lattice Boltzmann versatile tool for multiphase, fluid dynamics and other complicated flows. Los Alamos Science. 1994; 20 :100-111 - 12.
ThÄurey N. A single-phase free-surface lattice Boltzmann [Thesis]. Erlangen: Friedrich-Alexander-Universität Erlangen-Nürnberg; 2003 - 13.
Usman R, Alireza E, Torsten M. The lattice-Boltzmann method on optimal sampling lattices. IEEE Transactions on Visualization & Computer Graphics. 2009; 15 :630-641 - 14.
Wang C, Ho J. Lattice Boltzmann modeling of Bingham plastics. Physica A: Statistical Mechanics and its Applications. 2008; 387 :4740-4748. DOI: 10.1016/j.physa.2008.04.008 - 15.
Tang G, Wang S, Ye P, Tao W. Bingham fluid simulation with the incompressible lattice Boltzmann model. Journal of Non-Newtonian Fluid Mechanics. 2011; 166 :145-151. DOI: 10.1016/j.jnnfm.2010.11.005 - 16.
Kloeden P, Platen E. Numerical Solution of Stochastic Differential Equations. New York: Springer-Verlag; 1999. DOI: 10.1007/978-3-662-12616-5. 636p - 17.
Golder E, Settle J. The box-Muller method for generating pseudo-random normal deviates. Applied Statistics. 1976; 25 :12-20. DOI: 10.2307/2346513 - 18.
Carrasco B. Aplication of the Lattice Boltzmann Method to issues of coolant flows in nuclear reactors [Thesis]. Barcelona-Mùnich: Universitat Politècnica de Catalunya, Escuela Técnica Superior de Ingeniería Industrial de Barcelona-Techische Universität München; 2013 - 19.
Hayashi H. Lattice Boltzmann method and its application to flow analysis in porous media. R&D Review of Toyota CRDL. 2003; 38 :17-25