# Modelling Gas Diffusion from Breaking Coal Samples with the Discrete Element Method

Authors: Dan-Ling Lin; Yucang Wang; William W. Guo
Journal: Mathematical Problems in Engineering
 (2015)

---

## Abstract

Particle scale diffusion is implemented in the discrete element code, Esys-Particle. We focus on the question of how to calibrate the particle scale diffusion coefficient. For the regular 2D packing, theoretical relation between micro- and macrodiffusion coefficients is derived. This relation is then verified in several numerical tests where the macroscopic diffusion coefficient is determined numerically based on the half-time of a desorption scheme. To further test the coupled model, we simulate the diffusion and desorption in the circular sample. The numerical results match the analytical solution very well. An example of gas diffusion and desorption during sample crushing and fragmenting is given at the last. The current approach is the first step towards a realistic and comprehensive modelling of coal and gas outbursts.


---

## Body

## 1. Introduction

The migration of gas (i.e., methane or CO2) in coal plays an important role in the process of coalbed methane recovery or gas drainage prior to coal mining. It is generally accepted that gas transport in coal mainly occurs in two stages: gas flow within the coal matrix and flow in the cleat system which forms the natural fractures in coal [1–4]. Flow through the cleat system (or the fracture system) is believed to be pressure-driven laminar flow and can be described by Darcy’s law. Flow through the matrix is a diffusion process, which can be described by Fick’s diffusion law where the concentration gradient in the matrix is the driving force. From a microscopic point of view, the two kinds of flow patterns start from the desorption of gas which was initially adsorbed in the coal matrix, followed by the diffusion through the matrix into the cleat and then the flow through the cleat system into a production well or a drainage borehole. Hence, the gas production rate is mainly controlled by the gas diffusivity in the matrix and gas permeability in the cleat system.Meanwhile, gas diffusion and gas flow in the cleat system are also found to be major contributing factors to the start of coal and gas outbursts. An outburst of coal and gas is the sudden release of a large amount of gas in conjunction with the ejection of coal and possibly associated with rocks. Previous studies have suggested that the major contributing factors of outbursts include stress condition, gassiness of coal seams, geological structures, and mechanical and physical properties of coal [5–10]. These important mechanisms should be implemented in a coal and gas outburst model which will permit certain parameters to be varied so that their effects on the outburst can be quantitatively studied. However most of the current models do not model solid fracture and fragmentation explicitly. Free flow of fluid and two-way interactions between the solid and fluid are also missing in most of the existing outburst models. To overcome these difficulties, we have developed a new outburst model which couples two well-developed numerical approaches: the discrete element method (DEM) and the lattice Boltzmann method (LBM) [11, 12]. The DEM is used to model the deformation and fracture of solid, while LBM simulates fluid flow, including free flow and Darcy flow. These two methods are coupled in a two-way process: the solid part provides a moving boundary condition and transfers momentum to the fluid, and the fluid exerts a dragging force to the solid. The new model includes the most recognized factors of outbursts, including deformation, fracture and fragmentation of solids, free flow of fluid, Darcy flow, diffusion, desorption of gas, and two-way coupling of solid and fluid. The preliminary results with small scale simulations suggest that the new model has potentials to numerically investigate the underlying mechanism and interaction of contributing factors of outbursts.As the first step towards a realistic and comprehensive modelling for coal and gas outbursts, we mainly focus on the coupling of diffusion mechanism with the DEM model in this paper. Since the DEM models require some input parameters at particle scale which are not directly linked to the macroscopic parameters, calibration of the input parameters has to be carefully carried out. In this paper, we first introduce the implementation of diffusion mechanism into the DEM code and then discuss how to determine the particle scale diffusion coefficient so as to reproduce the macroscopic diffusion coefficient. Several numerical tests are carried out to verify the results by comparing with analytical solutions.


## 2. Implementation of Fluid Diffusion in DEM

The DEM is a widely used numerical tool to model the behaviour of rock and granular materials [13]. In DEM simulations, the specimen to be modelled is represented as an assembly of indivisible particles interacting with their nearest neighbours. By applying boundary conditions and solving Newton’s laws for each particle, the complex behaviour of the material may be simulated. The Esys-Particle, an open source DEM code, is used in this study. Detailed information about the model and the code can be found in the literature [14].In this study, diffusion is implemented into the DEM code in the following way. Solid particles are treated as porous materials. It is assumed that the voids inside particle are much smaller than the particle sizes. Therefore the porosity is just an average concept for each particle. There is an average and uniform concentrationCi for each particle i. For two contacted particles i and j, the fluid exchange at each time step Δt is determined by Fick’s first law of diffusion:
(1)qp=DpCi-CjΔt,
where Dp is the diffusion coefficient of the link at particle scale. For the regular packing in 2D case, we can derive theoretically the relation between Dp and the macroscopic diffusion coefficient Dm [15]:
(2)Dm=3Dp.


## 3. Numerical Verifications of (2) with 1D Diffusion Simulation

The method described in the book of Crank [16] is adopted in this study to determine the macroscopic diffusion coefficient. In this approach, we assume a constant diffusion coefficient and consider the case of one-dimensional diffusion in a medium bounded by two parallel planes, for example, the planes at x=0 and x=l. For diffusion through a plane sheet or membrane of thickness l with diffusion coefficient Dm, the diffusion equation is
(3)dCdt=Dmd2Cdx2.If the boundary and initial conditions are(4)C=C1,x=0,t≥0,C=C2,x=l,t≥0,C=C0,0<x<l,t=0,
the analytical solution of this problem is [16]
(5)C=C1+C2-C1xl+2π∑n=1∞C2cos⁡nπ-C1nsinnπxlexp⁡-Dmn2π2tl2+4C0π∑n=1∞12n+1sin2n+1πxl·exp⁡-Dm2n+12π2tl2.LetMt be the total amount of gas desorbed by the sheet at time t and M∞ the corresponding amount theoretically after infinite time; we have
(6)MtM∞=1-8π2∑n=1∞12n+12exp⁡-Dm2n+12π2tl2.The value oft for which Mt/M∞=1/2, written as t1/2, is given by [16]
(7)t1/2l2=-1π2Dmln⁡π216-19π2162.The macroscopic diffusion coefficient is found to be(8)Dm=0.049l2t1/2.Numerical tests have been carried out to calculate the macroscopic diffusion coefficients based on (8). In these tests, we use the regular packing which consists of 2006 particles with the same size of 1 unit and 5824 bonds (Figure 1). The width of the sheet in vertical direction is l=115. We keep the initial concentration C0=0.6 and the boundary condition C1=0.5 (top), C2=0.2 (bottom). Desorption can only occur on the top and bottom boundaries but is not allowed from the left and right boundaries. Therefore this is exactly a one-dimensional problem described in [16].Figure 1
Snapshots of concentration distribution at three different times (t = 10, 50, and 100) for Dp=6.The fractional lossMt/M∞ versus time for five different values, Dp = 2, 6, 10, 50, and 100, are plotted in Figure 2. Note that larger input values of Dp are used in this study since the small Dp requires huge amount of computer time. After reading t1/2 values from Figure 2, the macroscopic diffusion coefficient Dm can be calculated based on (8). The relation between Dm and Dp is plotted in Figure 3, where the straight line is the analytical solution of (2), and dots are the simulation results. A very good agreement is found, which verifies the method described in (8).Figure 2
The fractional lossMt/M∞ versus time t for several input Dp values. The fractional loss is the ratio of the total amount of gas desorbed by the sheet at time t and the corresponding amount theoretically after infinite time.Figure 3
The relation betweenDm and Dp, where the straight line is the analytical solution Dm=3Dp.


## 4. Further Verifications of Circle (or Cylinder) Diffusion

To further test the coupled model, we simulate diffusion and desorption in a circular (or cylinder) sample. We assume that the cylinder length is infinite, diffusion coefficient (Dm) is constant, and the gas concentration (C) depends on the radial coordinate of the cylinder only; then the diffusion equation is given as
(9)∂C∂t=Dm∂2C∂r2+1r∂C∂r,0≤r<a,t>0.The initial and boundary conditions can be expressed as(10)C=C0,0≤r<a,t=0,C=C1,r=a,t>0,C=finite,r=0,t>0,
where a is the radius of the cylinder, C0 is the initial uniform concentration, and C1 is the constant concentration at the surface of the cylinder. The analytical solution of (9) with the boundary and initial conditions above is [16]
(11)C=C1-2C1-C0a∑n=1∞exp⁡-Dmαn2tJ0αnrαnJ1αna,
where J0x is the Bessel function of the first kind of order zero and J1x is the Bessel function of the first order, and αn, n=1,2,3,… are roots of J0αa=0.Similarly, the analytical solution of the fractional loss can be obtained [16]:
(12)MtM∞=1-∑n=1∞4αn2a2exp⁡-Dmαn2t.Several numerical tests have been carried out to further test the coupled model based on the calculated macroscopic diffusion coefficients in Section3. Figure 4 shows the snapshots of concentration distribution at three different times for particle scale diffusion coefficient Dp=6. Figure 5 presents the fractional loss Mt/M∞ versus Dmt/a2. The solid line is the analytical solution of (12), and the dots are simulation results. Good agreements are observed between the numerical results and the analytical solutions.Figure 4
Snapshots of concentration distribution of a cylindrical sample at three different times (t = 10, 75, and 125) for Dp=6.Figure 5
The fractional lossMt/M∞ versus Dmt/a2 for Dp=6. The solid line is (12) with the first 16 terms.


## 5. Diffusion and Desorption during Fracturing Process

In coal mines, the coal sample may be crushed to quickly measure the desorbed gas content and residual gas. This process is modelled by moving two rigid loading walls towards each other in vertical direction. In this case neighboring particles are bonded and the bonds can break if the stress condition is reached, explicitly modelling microscopic fracturing events. Figure6 shows the distribution of concentration during crushing process at t = 10, 20, and 25. It can be seen that once fractures occur and new surfaces are generated, the desorption process speeds up due to the increase of new surfaces, which further enhances the diffusion process and greatly reduces the total concentration in the sample. Therefore in the relative intact areas, the concentration keeps higher, while in the fractured areas in the central part close to the major crack, the concentration is very low.Figure 6
Diffusion and desorption when the sample is under crushing. Colours represent fluid concentration in particles, with red for high and blue for low.Figure7 shows the fluid velocity at the fixed grids during the crushing process. In this test, the fluid flow outside solid particles is modelled using lattice Boltzmann method (LBM). Gas desorption and moving boundary conditions are implemented at the surface of particles which are exposed to fluid grids. The detailed coupling of DEM and LBM is not discussed here but can be found in our published papers [11, 12]. We can clearly see that the gas is desorbed from the sample surface in the beginning with high speed (left plot). With the generation of cracks and loss of gas, the desorption rate is reduced. From the middle and right plot in Figure 7, we can still observe higher fluid velocity at the bottom part of the major crack. This is because the desorbed gas, although not so strong now, is trying to escape through the narrow passage. To our knowledge, this is the first attempt to model this process.Figure 7
The fluid velocity during the crushing process. Colours represent macroscopic fluid velocity in the LBM grids, with red for high and blue for low.


## 6. Discussions and Conclusions

In this paper, particle scale diffusion was implemented in the open source discrete element code, the Esys-Particle. Diffusion of gas occurs between particles since each particle was regarded as a porous particle. We specifically focused on how to calibrate the particle scale diffusion coefficient. For the regular 2D packing, we derived theoretically the relation between micro- and macrodiffusion coefficients. This relation was verified in several numerical tests where the macroscopic diffusion coefficient can be determined numerically based on the half-time of a desorption scheme. To further test the coupled model, we simulated diffusion and desorption in the circular sample, and the numerical results match the analytical solution very well. We also simulated the process of diffusion and desorption while the sample is loaded and crushed into small pieces. Desorption occurs at the solid surface when the particle is exposed to the fluid. In this case the analytical solution is not available. Since diffusion process can be described by Fick’s diffusion law or diffusion equation at macroscopic scale, this process can easily be modelled using continuum approaches (i.e., finite difference, finite element method). However, once fractures occur, the continuum based methods are not suitable to model the discontinuity caused by large deformation of solids. The discrete element method does not suffer from this limitation. This is the major advantage of the approach presented in this paper.



---

*Source: 582963-2015-02-12.xml*