Research Article | Open Access

Volume 2017 |Article ID 6401835 | 11 pages | https://doi.org/10.1155/2017/6401835

# Calibrating the Micromechanical Parameters of the PFC2D(3D) Models Using the Improved Simulated Annealing Algorithm

Academic Editor: Yakov Strelniker
Received15 Jan 2017
Revised17 Mar 2017
Accepted10 Apr 2017
Published26 Apr 2017

#### Abstract

PFC2D(3D) is commercial software, which is commonly used to model the crack initiation of rock and rock-like materials. For the PFC2D(3D) numerical simulation, a proper set of microparameters need to be determined before the numerical simulation. To obtain a proper set of microparameters for PFC2D(3D) model based on the macroparameters obtained from physical experiments, a novel technique has been carried out in this paper. The improved simulated annealing algorithm was employed to calibrate the microparameters of the numerical simulation model of PFC2D(3D). A Python script completely controls the calibration process, which can terminate automatically based on a termination criterion. The microparameter calibration process is not based on establishing the relationship between microparameters and macroparameters; instead, the microparameters are calibrated according to the improved simulated annealing algorithm. By using the proposed approach, the microparameters of both the contact-bond model and parallel-bond model in PFC2D(3D) can be determined. To verify the validity of calibrating the microparameters of PFC2D(3D) via the improved simulated annealing algorithm, some examples were selected from the literature. The corresponding numerical simulations were performed, and the numerical simulation results indicated that the proposed method is reliable for calibrating the microparameters of PFC2D(3D) model.

#### 1. Introduction

The discrete element method (DEM) was firstly proposed by Cundall in 1971 [1]. The DEM was investigated further over the following years [27]. It has been widely employed in modeling the damage and nonlinear behaviors of materials. The particle flow code in 2 or 3 dimensions (PFC2D(3D)) models the movement and interaction of circular (2D) or spherical (3D) particles using the DEM. It has many advantages [810]: It is efficient, as contact detection between circular objects is much simpler than contact detection between angular objects, it is possible for the blocks to break (because they are composed of bonded particles), among others. Thanks to these advantages of the PFC2D(3D), PFC2D(3D) is extensively utilized to solve rock mechanics and rock engineering problems [1123]. However, the software also has its disadvantages: it requires calibration. In other words, some microparameters must be specified to result in a material with desired macroparameters such as the uniaxial compressive strength (UCS), Young’s modulus, Poisson’s ratio, and tensile strength.

The relationship between the microparameters and the macroparameters is difficult to quantify and the microparameters cannot be directly determined according to the macroparameters obtained from the physical experiments. In practice, however, the microparameters of a numerical simulation model in PFC2D(3D) can be calibrated based on the macroparameters determined by the physical experiments, for example, UCS, Poisson’s ratio, Young’s modulus, and tensile strength. According to the difference between the macroparameters obtained from the physical experiments and the numerical simulation, the microparameters are calibrated until the macroparameters obtained from the numerical simulation are sufficiently closed to those from physical experiments. This calibration procedure is called the “trial and error” method [24]. While the drawbacks of the “trial and error” method are obvious, on the one hand, the calibration procedure is subjective, as it depends on the experiments and the experimenter; if the experimenter is not experienced at calibrating the microparameters, then the calibration process will take a very long time. On the other hand, calibrating the microparameters means modifying the microparameters in the command flow  .txt file of the numerical simulations for each step of calibration, which would be hard work. In summary, calibrating the microparameters via the “trial and error” method does not illustrate how to calibrate the microparameters of PFC2D(3D) specifically, as it depends on the experiments or the experimenter. Despite these drawbacks of the “trial and error” approach, the method has been commonly adopted by many researchers [2533] primarily because there is no other better way to determine the microparameters of PFC2D(3D) models.

To avoid the subjectivity in the process of calibrating the microparameters, Yoon [34] carried out a new approach for calibrating the microparameters of contact-bond models in PFC2D. The relationships between microparameters and UCS, Young’s modulus, and Poisson’s ratio were constructed. By combining the numerical simulation results, Plackett-Burman designed a central composite method. The optimum set of microparameters were determined, and the macroparameters obtained from the numerical simulation results were in good agreement with the laboratory results, whereas the interaction of different microparameters is not considered in the method presented by Yoon [34], and the approach can only be used in the contact-bond model of PFC2D. Additionally, the method can only determine the microparameters of rock materials with their physical properties falling within the following ranges: UCS (40–170 MPa), Young’s modulus (20–50 GPa), and Poisson’s ratio (0.19–0.25). In summary, the approach proposed by Yoon [34] has a limited application. Tawadrous et al. [35] conducted a large number of PFC3D numerical simulations. By combining the numerical simulation results and artificial neural networks, the microparameters of parallel-bond of PFC3D can be predicted. However, the numbers of determined microparameters are limited; namely, the parallel-bond and particle elastic modulus, normal-to-shear stiffness ratio, and parallel-bond strength can be determined by utilizing this method. Moreover, the key for the success of artificial neural networks is sufficient training data [3638], which implies that a large number of numerical simulations should be conducted using this method. Its applicability to the other models of PFC2D(3D) also requires further investigation.

According to the references given above, the difficulty of screening out a proper set of microparameters can be classified into three categories: The subjectivity of calibrating the microparameters: the calibration process should be more objective and should not depend on the experiments or the experimenter; the hard work of calibrating the microparameters: during the calibration process, the microparameters must be changed by hand for each calibration step, which is time-consuming and tedious; the limited use of the microparameters calibration method: the calibration method should be applied to different kinds of numerical models in both PFC2D and PFC3D software.

For convenience of singling out a proper set of microparameters of PFC2D(3D) based on some basic experimental macroparameters (UCS, Young’s modules, Poisson’s ratio, tensile strength, etc.), a new approach for calibrating microparameters is proposed in this paper. The method is based on the improved simulated annealing algorithm. In addition, Python scripts were developed to accomplish the calibration process automatically. The main merit of the proposed method is decreasing the difficulty of calibrating microparameters in calibration process. Additionally, it avoids the subjectivity in calibrating microparameters, and it can be applied to calibrate the microparameters of contact-bond materials and parallel-bond models in both PFC2D and PFC3D. Additionally, the numbers of microparameters and macroparameters can be increased or decreased according to the specific circumstances in the presented method, which is quite flexible in practical use.

#### 2. Calibration Process via the Improved Simulated Annealing Algorithm

##### 2.1. Introduction of the Simulated Annealing Algorithm

The simulated annealing algorithm was a stochastic search method that was first carried out by Metropolis et al. [46], and, then, the simulated annealing algorithm was successfully applied to solving the optimization problems by Kirkpatrick et al. [47]. The simulated annealing algorithm is analogous to the annealing process of materials. Boltzmann [48] reckoned that if a system was in thermal equilibrium at a temperature T, the probability of the system being in a given state could be expressed as follows:where is the energy of the state , is the Boltzmann constant (cooling coefficient), and is the set of all the possible states. However, (1) does not give any information on how the material reaches thermal equilibrium at a given temperature. Metropolis et al. [46] proposed an algorithm that simulated the process described by Boltzmann: when the system is in the original state with original energy , a random neighborhood state is selected, which leads to a new energy . Based on the Metropolis criterion, if , then the new state is accepted. If ), then the probability of accepting the new state can be written as follows:

To reach the thermal equilibrium completely, the process will be repeated Markov times at each temperature, and Markov is thus called the Markov chain [49]. For better understanding of the simulated annealing algorithm, its flowchart is illustrated in Figure 1.

In recent years, the simulated annealing algorithm has been widely applied in the field of optimization [5058]. The process of calibrating microparameters can be described as minimizing the difference between the macroparameters obtained from the numerical simulations and the physical experiments, which is a typical optimization problem: the calibration process is to find the minimum value of the difference between the macroparameters obtained from the numerical simulation and the physical experiments, and the corresponding set of microparameters are the proper one. Accordingly, the calibration process is transformed into an optimization problem. However, the simulated annealing algorithm should be improved to minimize the total iterations, which will be given in the following section.

##### 2.2. Disadvantages of the Simulated Annealing Algorithm

The simulated annealing algorithm has a drawback: the computation times are large [59, 60], which is mainly caused by the characteristics of the simulated annealing algorithm itself. There are four conditions for the success of the simulated annealing algorithm which are as follows [6165]: The initial temperature must be high enough; the cooling speed for the temperature must be slow enough; for each temperature, the length of the Markov chain must be long enough; the final temperature must be low enough. These four conditions increase the total computation times directly or indirectly, which results in the slow convergence speed. Thereafter, it is necessary to improve the simulated annealing algorithm so as to decrease the total iterations. To improve the simulated annealing algorithm, some procedures of the simulated annealing algorithm were changed, which will be explained explicitly in the following part.

##### 2.3. Improved Simulated Annealing Algorithm

In this paper, the simulated annealing algorithm would be improved from two aspects: the disturbance method and the cooling method.

###### 2.3.1. The Change of the Cooling Temperature Method

For the original simulated annealing algorithm, the cooling process can be expressed as follows:where is the initial temperature, is the cooling efficient, and is the cooling temperature.

According to Ingber [6668], the convergence speed of the simulated annealing algorithm will increase when the following cooling strategy is adopted:where is the iteration time, is a constant, and is the number of input parameters in the simulated annealing algorithm.

In practice use, (4) can be simplified as follows:where is a constant, which is falling within . In this paper, is set to 0.99.

###### 2.3.2. The Change of the Disturbance Method for the Variables

In the traditional simulated annealing algorithm, the disturbance for the variable can be denoted as follows:where is the new generated value for the variable , is the original value of , is the upper bound of the variable , is the lower bound of the variable , and is a random number between 0 and 1, which is subjected to the normal distribution.

Based on the study by Ingber [66, 69, 70], the Cauchy random distribution function for the disturbance is conducive for the convergence of the simulated annealing algorithm:where is the random number between 0 and 1 and the generated value is subjected to the Cauchy distribution.

##### 2.4. Calibrating Microparameters via the Improved Simulated Annealing Algorithm

Before using the improved simulated annealing algorithm for calibrating the microparameters, some changes are required. After the PFC2D(3D) numerical simulations based on the set of microparameters, the corresponding macroparameters can be obtained. In the calibration process, the macroparameters determined by numerical simulations are defined as the state of the system. To implement the microparameters calibration process via the improved simulated annealing algorithm, the energy function (objective function) calculated by the macroparameters of the numerical simulation is denoted as follows:where is the set of macroparameters obtained from the physical experiments and is the set of macroparameters determined by the numerical simulations. The objective function in (8) indicates that the value of is the maximum difference between the macroparameters obtained from the numerical simulation and the physical experiments. The macroparameters of the numerical simulation are determined by performing the numerical simulations by using the microparameters . It should be noted that the numbers of macroparameters and microparameters can be increased or decreased according to the specific circumstances, which is one of the advantages of the proposed technique.

To search for the microparameters completely within the determined range, the length of the Markov chain is utilized. The length of the Markov chain represents the iteration times at each temperature. With increasing length of the Markov chain, the corresponding iteration time will increase as well; in this paper, the length of the Markov chain is set to 100.

Another important factor is the bounding of the microparameters. The new microparameters should be generated within a certain range during the calibration, or the numerical simulations of PFC2D(3D) cannot proceed successfully. For example, all the microparameters in PFC2D(3D) should be larger than 0, or the numerical simulations cannot run successfully.

In this paper, the termination criterion of the calibration process is , meaning that the maximum error between the macroparameters obtained from the numerical simulations and the physical experiments is less than 10%.

By combining the improved simulated annealing algorithm and some basic parameters for the calibration process, the procedure of calibrating microparameters via the improved simulated annealing algorithm can be described step-by-step as follows.

Step 1. The initial temperature , the cooling efficient , the length of Markov chain Markov, the numbers of the microparameters N, and the range of microparameters are initialized, and the initial iteration time i is set to 1. A set of microparameters is randomly generated; the microparameters should be within the determined range. By using the microparameters , PFC2D or PFC3D numerical simulations are conducted to obtain the macroparameters . is estimated based on (8).

Step 2. If , then go to Step 10.

Step 3. M = 0.

Step 4. A new set of random neighborhood microparameters near the microparameters is generated; the new generated microparameters should be within the determined range. Taking the microparameter as example, the new generated microparameter can be expressed as follows:where is the newly generated microparameter, is the original microparameter, is the upper bound of the microparameter MIj, is the lower bound of the microparameter , and represents a random value between 0 and 1; besides, the generated value is subjected to the Cauchy distribution. The macroparameters are determined by the PFC2D or PFC3D numerical simulations by using the microparameters . is calculated based on (9).

Step 5. If , then the new microparameters and are accepted, while if , then the probability of accepting the new microparameters and can be expressed as follows:

Step 6. If , then go to Step 10.

Step 7. .

Step 8. ; if , then go to Step 4.

Step 9. ; go to Step 3.

Step 10. End.

Because the microparameters need to be changed and the PFC2D(3D) software needs to be manipulated many times for each step of calibration, the process of calibrating microparameters is accomplished using Python script. Python (https://www.python.org) is a scripting language that is very easy to use and widely applied in many fields [7176].

The numerical simulation mentioned in this section includes four parts: The command flow  .txt file based on the microparameters is written; the particle assembly is carried out; the numerical simulation is performed to obtain the macroparameters; the output of the macroparameters is produced.

###### 2.4.1. Writing the Command Flow  .txt File Based on the Microparameters

In practice, the command flow is frequently complied in a  .txt file, which will be convenient for the PFC2D(3D) numerical simulations. Due to the change in the microparameters for each step of calibration, the command flow  .txt file is written by the Python scripts, and the microparameters for each calibration are changed according to the improved simulated annealing algorithm.

###### 2.4.2. The Particle Assembly

Before the numerical simulation, a PFC2D(3D) assembly is generated, and the process involves particle generation, packing the particles, isotropic stress installation (stress initialization), floating particle elimination, and bond installation, which is described in detail by Itasca [9, 77] and will not be repeated in this paper.

###### 2.4.3. The Numerical Simulation to Obtain the Macroparameters

To obtain the macroparameters, the corresponding numerical simulations should be carried out. The UCS, Young’s modulus, and Poisson’s ratio can be obtained by the uniaxial compression test. Meanwhile, the tensile strength can be determined via the Brazilian disc test. Other numerical simulations can also be utilized to obtain the corresponding macroparameters. In practice, the numbers of macroparameters and microparameters can be increased or decreased according to the specific circumstances. The corresponding command flow  .txt file should be changed accordingly.

###### 2.4.4. The Output of the Macroparameters

The aim of the PFC2D(3D) numerical simulations is to obtain the numerical macroparameters. Thereafter, the macroparameters will be output in the log file when the numerical simulations terminate [9, 10].

#### 3. Examples of Calibrating Microparameters via the Improved Simulated Annealing Algorithm

##### 3.1. A Detailed Example
###### 3.1.1. Basic Information about the Numerical Simulations

To illustrate the calibration process of microparameters more specifically, an example was selected. In [78], sandstone was utilized to investigate the Kaiser effect. Moreover, the PFC2D was employed to reproduce the Kaiser effect, the deformation, and the rate of deformation. Meanwhile, the contact-bond model in PFC2D was utilized, and the size of the numerical simulation for the macroparameters was . According to the physical experiments, the UCS and Young’s modulus of the sandstone were 83.1 MPa and 14.3 GPa, respectively.

In total, 10 microparameters determine the contact-bonded model in PFC2D. The microparameters and their corresponding descriptions are listed in Table 1.

 Parameter Description Minimum ball radius [m] Ball size ratio, uniform distribution [] Ball density [kg/m3] Ball-ball contact modulus [Pa] Ball stiffness ratio [] Ball friction coefficient (mean) Contact-bond normal strength, mean [Pa] (std. dev.) Contact-bond normal strength, std. dev. [Pa] (mean) Contact-bond shear strength, mean [Pa] (std. dev.) Contact-bond shear strength, std. dev. [Pa]

As listed in Table 1, the density of the ball can be treated as the density of the sandstone, which is 2397 kg/m3 [78]. The effect of gravity does not need to be considered, as the specimens are small in the physical experiments and the gravity-induced stress has a negligible effect on the macroparameters [77]. In addition, the microparameters should be in a certain range, which guarantees the success of the numerical simulations. For example, , the ball size ratio, should be greater than 1, or the numerical simulation cannot run successfully. Therefore, it is necessary to determine a reasonable range of microparameters. Table 2 gives the range of the microparameters of the contact-bonded model in the numerical simulations.

 Parameter Description Range Minimum ball radius [m] 0.1e − 3~1 Ball size ratio, uniform distribution [] 1~20 Ball-ball contact modulus [Pa] 0~100e9 Ball stiffness ratio [] 0~10 Ball friction coefficient 0~1 (mean) Contact-bond normal strength, mean [Pa] 0~1000e6 (std. dev.) Contact-bond normal strength, std. dev. [Pa] 0~100e6 (mean) Contact-bond shear strength, mean [Pa] 0~1000e6 (std. dev.) Contact-bond shear strength, std. dev. [Pa] 0~100e6

It should be noted that the minimum ball radius should be larger than  m, or the error “Error: Fewer balls generated” will occur during the numerical simulations, which will stop the numerical simulation from running. The upper bound of the microparameters in Table 2 can be increased slightly, but this will increase the computation times.

###### 3.1.2. Basic Parameters of the Improved Simulated Annealing Algorithm

Some basic parameters of the improved simulated annealing algorithm need to be determined before the numerical simulations; these are listed in Table 3.

 Parameter Value The length of the Markov chain 100 Cooling efficient k 0.95 The initial temperature T 100 The number of microparameters N 9
###### 3.1.3. Numerical Simulation Platform

In the numerical simulation, the operation system is Linux Mint 18 Sarah (on a personal computer with an Intel Core i5, 3.30 GHz CPU, and 8 GB RAM); the operation system is open source. The Python version is 3.5. Additionally, to implement the improved simulated annealing algorithm and manipulate the PFC2D(3D) software, two extra Python packages were installed, numpy (to accomplish the improved simulated annealing algorithm) and subprocess (to manipulate the PFC2D(3D) software). The PFC2D version 3.1 in this paper was adapted to run on the Linux system. Wine, an open source software for running the Windows system application, was used for this purpose.

###### 3.1.4. Numerical Simulations Results

Based on the improved simulated annealing algorithm, after 2739 iterations, the termination criterion is satisfied and the numerical simulation is terminated. The UCS and Young’s modulus determined by the numerical simulation are 74.356 MPa and 14.824 GPa, respectively, which is quite close to the physical experiment results (UCS 82.1 MPa and Young’s modulus 14.3 GPa.). The corresponding microparameters are obtained and are listed in Table 4.

 Parameter Value 0.746 m 1.567 20.688 GPa 1.833 0.590 (mean) 88.916 MPa (std. dev.) 36.950 MPa (mean) 83.768 MPa (std. dev.) 28.932 MPa

The microparameters can successfully be determined by the improved simulated annealing algorithm. This saves a tremendous amount of hard work, as it is not necessary to change the microparameters and manipulate PFC2D by hand for each step of calibration, which is convenient for use.

##### 3.2. More Examples

From the analysis of the detailed example in Section 3.1, it is found that the calibration method is independent of the numerical simulation model; that is, once the command flow for numerical simulations is fixed, the calibration process can change the microparameters in the command flow  .txt file for each step of calibration. Thus, it can be used for contact bond and parallel bond in both PFC2D and PFC3D. Recall that the numbers of microparameters and macroparameters can be increased or decreased according to the specific circumstances, in which case the corresponding Python scripts should also be changed correspondingly. To further validate the proposed method, more numerical simulation tests were performed. The numerical simulation results are listed in Table 5.

 Author Material species Numerical model Macroparameters determined by the numerical simulations (error) Chang et al. 2001 [39] Kimachi sandstone PFC2DContact-bond Experimental results: : 48 MPa : 0.27: 6.5 GPa Numerical results: : 44.372 MPa (7.558%): 0.275 (1.851%) : 6.477 GPa (0.353%) Chang 2002[40] Hwangdeung granite PFC2DContact-bond Experimental results: : 162 MPa : 0.28: 50.7 GPaNumerical results: : 171.357 MPa (5.775%): 0.283 (1.071%) : 48.492 GPa (4.355%) Hong 2004[41] Daejeon granite PFC2DContact-bond Experimental results: : 161.7 MPa : 0.22: 50.9 GPaNumerical results: : 159.172 MPa (1.563%): 0.239 (8.636%) : 46.943 GPa (7.774%) Wang et al.2016 [12] Rock cored from the rock mass in the Heishan open pit mine in Chengde city, China PFC2DContact-bond Experimental results: : 132.3 MPa : 12.0 GPaNumerical results: : 130.329 MPa (1.489%): 11.924 GPa (0.633%) Yang et al.2014 [42] Red sandstone PFC2DParallel-bond Experimental results: : 52.98 MPa : 14.42 GPa: 5.113Numerical results: : 57.832 MPa (9.158%): 15.490 GPa (7.420%) : 4.650 (9.055%) Zhou et al.2016 [43] Concrete PFC2DParallel-bond Experimental results: : 23.3 MPa : 0.17: 37 GPaNumerical results: : 23.525 MPa (0.965%): 0.159 (6.470%) : 35.822 GPa (3.183%) Yang et al.2015 [44] Sandstone PFC2DParallel-bond Experimental results: : 190.80 MPa : 35.64 GPaNumerical results: : 173.583 MPa (9.023%): 39.035 GPa (9.525%) Fan et al.2015 [25] Rock-like materials PFC3DContact-bond Experimental results: : 8.27 MPa : 4.04 GPaNumerical results: : 8.947 MPa (8.186%): 4.228 GPa (4.653%) Duan et al2015 [45] Beishan granite PFC3DParallel-bond Experimental results: : 136.4 MPa : 0.266: 43.167 GPaNumerical results: : 127.017 MPa (6.879%): 0.265 (0.375%) : 42.652 GPa (1.193%)
: Uniaxial compressive strength; : Poisson’s ratio : Young’s modulus; : tensile strength; : peak axial strain.

As listed in Table 5, calibrating the microparameters via the improved simulated annealing algorithm is a viable strategy for both parallel bond and contact bond in PFC2D(3D). It has wide practical use in PFC2D(3D) numerical simulations.

#### 4. Discussion

PFC2D(3D) is a typical DEM, which is widely applied to model the damage and nonlinear behaviors of rock materials. However, the microparameters in PFC2D(3D) need to be determined before the numerical simulations. In theory, the microparameters can be calibrated on the basis of macroparameters determined by the physical experiments. In practice, determining the proper set of microparameters based on the macroparameters obtained from the physical experiments is very difficult but is critically important for the success of the PFC2D(3D) numerical simulations.

The microparameters are mainly calibrated based on the macroparameters determined by the physical experiments. In recent years, the most commonly used method for calibrating microparameters in PFC2D(3D) is called the “trial and error” method [24]. Its main process for calibrating the microparameters is comparing the macroparameters determined by the numerical simulation and the physical experiments; then, the microparameters are changed according to the difference between the macroparameters of the numerical simulation and the physical experiments. However, the calibration process is quite subjective; it is influenced by the experiment and experimenter significantly. In principle, this means that if a user is familiar with the influence of microparameters on the macroparameters, it will not take very long. In contrast, if a user is inexperienced, the calibration process will be lengthy. Another significant issue is that this calibration process is accomplished by hand. In the calibration process, each step of calibrating microparameters requires a series of repeated work: changing the microparameters in the command flow  .txt file, opening the PFC2D(3D) software, and calling the command flow  .txt file. With increasing iterations, it takes much time and work. Therefore, accomplishing the calibration process automatically has great practical utility in PFC2D(3D) numerical simulations. As described above, there exist two unsolved problems in calibrating microparameters: how to avoid the subjectivity in the calibration process and how to accomplish the calibration process automatically.

In this paper, the improved simulated annealing algorithm was applied to calibrate the microparameters based on the macroparameters determined from the physical experiments, and the calibration process was completely accomplished by Python scripts (the corresponding Python scripts in this paper will be published on GitHub (https://github.com/)). The improved simulated annealing algorithm was mainly utilized to obtain the proper set of microparameters. By using this method, the microparameters are changed on the basis of the improved simulated annealing algorithm; when the macroparameters of the numerical simulations are quite close to the macroparameters obtained from the physical experiments, the calibration process terminated. The calibration process was accomplished by Python scripts, eliminating the necessity of human input at each step. Additionally, this method can be applied to different kinds of the bond models in PFC2D and PFC3D. Consequently, the method proposed in this paper has a practical use in PFC2D(3D) numerical simulations.

However, the calibration process is realized in the Linux operation system in this paper; meanwhile, the PFC2D(3D) are mainly used in the Windows operation system. Thereafter, whether the complying Python scripts are suitable in the Windows operation system needs to be further investigated and will be our next work.

#### 5. Conclusions

To determine a proper set of microparameters based on the macroparameters obtained by physical experiments, the improved simulated annealing algorithm was utilized to calibrate the microparameters of the PFC2D(3D) models. Moreover, the Python scripts were developed to accomplish the calibration process successfully. The main conclusions of this paper are as follows.

The improved simulated algorithm was utilized to calibrate the microparameters based on the macroparameters obtained from the physical experiments, avoiding the subjectivity in the calibration process. Moreover, the Python scripts were developed to calibrate the microparameters by changing the microparameters in the command  .txt file for each step of calibration based on the improved simulated annealing algorithm. This method could be implemented automatically, and the calibration program terminated when a proper set of microparameters were obtained.

By using the improved simulated algorithm, a set of numerical simulations were performed. It is indicated that the proposed approach can be used for the calibration of microparameters. This method can be used for the contact-bond or parallel-bond models in PFC2D(3D). The method has a practical value for the PFC2D(3D) numerical simulations. However, the corresponding Python scripts were developed on the Linux operation system platform, and it is necessary to realize the calibration process on the Windows operation system; it requires further investigation.

#### Conflicts of Interest

The authors declare that they have no conflicts of interest.

#### Acknowledgments

This study was funded by the National Natural Science Foundation of China (51174088, 51174228, 51274253, and 51474252); China Postdoctoral Science Foundation and the Postdoctoral Science Foundation of Central South University; the National Basic Research Program of China (013CB035401); the Fundamental Research Funds for the Central Universities of Central South University (2015zzts077, 2014zzts055); and the Open Research Fund Program of Hunan Provincial Key Laboratory of Shale Gas Resource Utilization, Hunan University of Science and Technology (E21527).

#### References

1. P. A. Cundall, “A computer model for simulating progressive large scale movements in blocky system,” in Proceedings of the Symposium for International Society for Rock Mechanics, L. E. D. Muller, Ed., vol. 1, pp. 8–12, Balkema A A, Rotterdam, The Netherlands, 1971. View at: Google Scholar
2. O. D. L. Strack and P. A. Cundal, “The distinct element method as a tool for research in granular,” Part I. Report to the National Science Foundation, University of Minnesota, Minnesota, USA, 1978. View at: Google Scholar
3. P. A. Cundall and O. D. L. Strack, “The distinct element method a tool for research in granula media,” Part II. Report to the National Science Foundation, University of Minnesota, Minnesota, Minn, USA, 1979. View at: Google Scholar
4. P. A. Cundall and O. D. L. Strack, “A discrete numerical model for granular assembles,” Geotechnique, vol. 29, no. 1, pp. 47–65, 1979. View at: Google Scholar
5. O. R. Walton, “Particle dynamics modeling of geological materials,” Report UCRL-52915, Lawrence Livermore National Lab, 1980. View at: Google Scholar
6. C. S. Campbell and C. E. Brennen, “Computer simulation of granular shear flows,” Journal of Fluid Mechanics, vol. 151, pp. 167–188, 1985. View at: Publisher Site | Google Scholar
7. C. S. Campbell and C. E. Brennen, “Chute flows of granular material: some computer simulations,” Journal of Applied Mechanics, vol. 52, no. 1, pp. 172–178, 1985. View at: Publisher Site | Google Scholar
8. T. Wang, W. Zhou, J. Chen, X. Xiao, Y. Li, and X. Zhao, “Simulation of hydraulic fracturing using particle flow method and application in a coal mine,” International Journal of Coal Geology, vol. 121, pp. 1–13, 2014. View at: Publisher Site | Google Scholar
9. PFC2D (Particle Flow Code in 2 Dimensions), Version 3.1, Itasca Consulting Group, Minneapolis, Minn, USA, 1999.
10. PFC3D (Particle Flow Code in 3 Dimensions), Version 3.1, Itasca Consulting Group, Minneapolis, Minn, USA, 1999.
11. M. Zhou and E. Song, “A random virtual crack DEM model for creep behavior of rockfill based on the subcritical crack propagation theory,” Acta Geotechnica, vol. 11, no. 4, pp. 827–847, 2016. View at: Publisher Site | Google Scholar
12. P. Wang, T. Yang, T. Xu, M. Cai, and C. Li, “Numerical analysis on scale effect of elasticity, strength and failure patterns of jointed rock masses,” Geosciences Journal, vol. 20, no. 4, pp. 539–549, 2016. View at: Publisher Site | Google Scholar
13. Z. Wang, F. Jacobs, and M. Ziegler, “Experimental and DEM investigation of geogrid-soil interaction under pullout loads,” Geotextiles and Geomembranes, vol. 44, no. 3, pp. 230–246, 2016. View at: Publisher Site | Google Scholar
14. J. J. Oetomo, E. Vincens, F. Dedecker, and J.-C. Morel, “Modeling the 2D behavior of dry-stone retaining walls by a fully discrete element method,” International Journal for Numerical and Analytical Methods in Geomechanics, vol. 40, no. 7, pp. 1099–1120, 2016. View at: Publisher Site | Google Scholar
15. M. Bahaaddini, P. C. Hagan, R. Mitra, and M. H. Khosravi, “Experimental and numerical study of asperity degradation in the direct shear test,” Engineering Geology, vol. 204, pp. 41–52, 2016. View at: Publisher Site | Google Scholar
16. S.-Q. Yang, W.-L. Tian, Y.-H. Huang, P. G. Ranjith, and Y. Ju, “An experimental and numerical study on cracking behavior of brittle sandstone containing two non-coplanar fissures under uniaxial compression,” Rock Mechanics and Rock Engineering, vol. 49, no. 4, pp. 1497–1515, 2016. View at: Publisher Site | Google Scholar
17. H. Haeri, “Experimental and numerical study on crack propagation in pre-cracked beam specimens under three-point bending,” Journal of Central South University, vol. 23, no. 2, pp. 430–439, 2016. View at: Publisher Site | Google Scholar
18. M. Oliaei and E. Manafi, “Static analysis of interaction between twin-tunnels using discrete element method (DEM),” Scientia Iranica, vol. 22, no. 6, pp. 1964–1971, 2015. View at: Google Scholar
19. C.-H. Lin and M.-L. Lin, “Evolution of the large landslide induced by Typhoon Morakot: a case study in the Butangbunasi River, southern Taiwan using the discrete element method,” Engineering Geology, vol. 197, pp. 172–187, 2015. View at: Publisher Site | Google Scholar
20. A. Turichshev and J. Hadjigeorgiou, “Experimental and numerical investigations into the strength of intact veined rock,” Rock Mechanics and Rock Engineering, vol. 48, no. 5, pp. 1897–1912, 2015. View at: Publisher Site | Google Scholar
21. X. Yang, P. H. S. W. Kulatilake, H. Jing, and S. Yang, “Numerical simulation of a jointed rock block mechanical behavior adjacent to an underground excavation and comparison with physical model test results,” Tunnelling and Underground Space Technology, vol. 50, pp. 129–142, 2015. View at: Publisher Site | Google Scholar
22. C. Khazaei, J. Hazzard, and R. Chalaturnyk, “Damage quantification of intact rocks using acoustic emission energies recorded during uniaxial compression test and discrete element modeling,” Computers and Geotechnics, vol. 67, pp. 94–102, 2015. View at: Publisher Site | Google Scholar
23. S. Bock and S. Prusek, “Numerical study of pressure on dams in a backfilled mining shaft based on PFC3D code,” Computers and Geotechnics, vol. 66, pp. 230–244, 2015. View at: Publisher Site | Google Scholar
24. D. O. Potyondy and P. A. Cundall, “A bonded-particle model for rock,” International Journal of Rock Mechanics and Mining Sciences, vol. 41, no. 8, pp. 1329–1364, 2004. View at: Publisher Site | Google Scholar
25. X. Fan, P. H. S. W. Kulatilake, and X. Chen, “Mechanical behavior of rock-like jointed blocks with multi-non-persistent joints under uniaxial loading: a particle mechanics approach,” Engineering Geology, vol. 190, pp. 17–32, 2015. View at: Publisher Site | Google Scholar
26. Q. Zhang, H.-H. Zhu, and L. Zhang, “Studying the effect of non-spherical micro-particles on Hoek-Brown strength parameter mi using numerical true triaxial compressive tests,” International Journal for Numerical and Analytical Methods in Geomechanics, vol. 39, no. 1, pp. 96–114, 2015. View at: Publisher Site | Google Scholar
27. Z. J. Wen, X. Wang, Q. H. Li et al., “Simulation analysis on the strength and acoustic emission characteristics of jointed rock mass,” Technical Gazette, vol. 23, no. 5, pp. 1277–1284, 2016. View at: Publisher Site | Google Scholar
28. Y. Franco, D. Rubinstein, and I. Shmulevich, “Prediction of soil-bulldozer blade interaction using discrete element method,” Transactions of the ASABE, vol. 50, no. 2, pp. 345–353, 2007. View at: Publisher Site | Google Scholar
29. Y. H. Jong and C. G. Lee, “Suggested method for determining a complete set of micro-parameters quantitatively in PFC2D,” Tunnel and Underground Space, vol. 16, no. 4, pp. 334–346, 2006. View at: Google Scholar
30. H. Lee, T. Moon, and B. C. Haimson, “Borehole breakouts induced in Arkosic sandstones and a discrete element analysis,” Rock Mechanics and Rock Engineering, vol. 49, no. 4, pp. 1369–1388, 2016. View at: Publisher Site | Google Scholar
31. J. A. Vallejos, K. Suzuki, A. Brzovic, and D. M. Ivars, “Application of Synthetic Rock Mass modeling to veined core-size samples,” International Journal of Rock Mechanics and Mining Sciences, vol. 81, pp. 47–61, 2016. View at: Publisher Site | Google Scholar
32. H. Hofmann, T. Babadagli, J. S. Yoon, A. Zang, and G. Zimmermann, “A grain based modeling study of mineralogical factors affecting strength, elastic behavior and micro fracture development during compression tests in granites,” Engineering Fracture Mechanics, vol. 147, pp. 261–275, 2015. View at: Publisher Site | Google Scholar
33. J. Liu, P. Cao, C.-H. Du, Z. Jiang, and J.-S. Liu, “Effects of discontinuities on penetration of TBM cutters,” Journal of Central South University, vol. 22, no. 9, pp. 3624–3632, 2015. View at: Publisher Site | Google Scholar
34. J. Yoon, “Application of experimental design and optimization to PFC model calibration in uniaxial compression simulation,” International Journal of Rock Mechanics and Mining Sciences, vol. 44, no. 6, pp. 871–889, 2007. View at: Publisher Site | Google Scholar
35. A. S. Tawadrous, D. DeGagné, M. Pierce, and D. M. Ivars, “Prediction of uniaxial compression PFC3D model micro-properties using artificial neural networks,” International Journal for Numerical and Analytical Methods in Geomechanics, vol. 33, no. 18, pp. 1953–1962, 2009. View at: Publisher Site | Google Scholar
36. J. V. Tu, “Advantages and disadvantages of using artificial neural networks versus logistic regression for predicting medical outcomes,” Journal of Clinical Epidemiology, vol. 49, no. 11, pp. 1225–1231, 1996. View at: Publisher Site | Google Scholar
37. M. Smith, Neural Networks for Statistical Modeling, Van Nostrand Reinhold, New York, NY, USA, 1993.
38. G. E. Hinton, “Connectionist learning procedures,” Artificial Intelligence, vol. 40, no. 1–3, pp. 185–234, 1989. View at: Publisher Site | Google Scholar
39. S. H. Chang, M. Seto, and C. I. Lee, “Damage and fracture characteristics of Kimachi sandstone in uniaxial compression,” Geosystem Engineering, vol. 4, no. 1, pp. 18–26, 2001. View at: Publisher Site | Google Scholar
40. S. H. Chang, Characterization of stress-induced damage in rock and its application on the analysis of rock damaged zone around a deep tunnel [Ph.D thesis], School of Civil, Urban and Geosystem Eng, Seoul National University, Seoul, South Korea, 2002.
41. J. S. Hong, Characteristics of creep deformation behavior of granite under uniaxial compression, [MS thesis], School of Civil, Urban and Geosystem Engineering, Seoul National University, 2004.
42. S.-Q. Yang, Y.-H. Huang, H.-W. Jing, and X.-R. Liu, “Discrete element modeling on fracture coalescence behavior of red sandstone containing two unparallel fissures under uniaxial compression,” Engineering Geology, vol. 178, pp. 28–48, 2014. View at: Publisher Site | Google Scholar
43. S. Zhou, H. Zhu, Z. Yan, J. W. Ju, and L. Zhang, “A micromechanical study of the breakage mechanism of microcapsules in concrete using PFC2D,” Construction and Building Materials, vol. 115, pp. 452–463, 2016. View at: Publisher Site | Google Scholar
44. S.-Q. Yang, Y.-H. Huang, P. G. Ranjith, Y.-Y. Jiao, and J. Ji, “Discrete element modeling on the crack evolution behavior of brittle sandstone containing three fissures under uniaxial compression,” Acta Mechanica Sinica, vol. 31, no. 6, pp. 871–889, 2015. View at: Publisher Site | Google Scholar | MathSciNet
45. K. Duan, C. Y. Kwok, and L. G. Tham, “Micromechanical analysis of the failure process of brittle rock,” International Journal for Numerical and Analytical Methods in Geomechanics, vol. 39, no. 6, pp. 618–634, 2015. View at: Publisher Site | Google Scholar
46. N. Metropolis, A. W. Rosenbluth, M. N. Rosenbluth, A. H. Teller, and E. Teller, “Equation of state calculations by fast computing machines,” The Journal of Chemical Physics, vol. 21, no. 6, pp. 1087–1092, 1953. View at: Publisher Site | Google Scholar
47. S. Kirkpatrick, J. Gelatt, and M. P. Vecchi, “Optimization by simulated annealing,” Science, vol. 220, no. 4598, pp. 671–680, 1983. View at: Publisher Site | Google Scholar | MathSciNet
48. C. Cercignani, The Boltzmann Equation and Its Applications, Springer-Verlag, Berlin, Germany, 1988. View at: Publisher Site | MathSciNet
49. R. K. Puri and J. Aichelin, “Simulated annealing clusterization algorithm for studying the multifragmentation,” Journal of Computational Physics, vol. 162, no. 1, pp. 245–266, 2000. View at: Publisher Site | Google Scholar
50. Y. Boykov, O. Veksler, and R. Zabih, “Fast approximate energy minimization via graph cuts,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 23, no. 11, pp. 1222–1239, 2001. View at: Publisher Site | Google Scholar
51. A. D. Mackerell Jr., M. Feig, and C. L. Brooks III, “Extending the treatment of backbone energetics in protein force fields: limitations of gas-phase quantum mechanics in reproducing protein conformational distributions in molecular dynamics simulation,” Journal of Computational Chemistry, vol. 25, no. 11, pp. 1400–1415, 2004. View at: Publisher Site | Google Scholar
52. Z. W. Geem, J. H. Kim, and G. V. Loganathan, “A new heuristic optimization algorithm: harmony search,” Simulation, vol. 76, no. 2, pp. 60–68, 2001. View at: Publisher Site | Google Scholar
53. M. Dorigo and L. M. Gambardella, “Ant colonies for the travelling salesman problem,” BioSystems, vol. 43, no. 2, pp. 73–81, 1997. View at: Publisher Site | Google Scholar
54. T. D. Braun, H. J. Siegel, N. Beck et al., “A comparison of eleven static heuristics for mapping a class of independent tasks onto heterogeneous distributed computing systems,” Journal of Parallel and Distributed Computing, vol. 61, no. 6, pp. 810–837, 2001. View at: Publisher Site | Google Scholar
55. M. Sambridge, “Geophysical inversion with a neighbourhood algorithm—I. Searching a parameter space,” Geophysical Journal International, vol. 138, no. 2, pp. 479–494, 1999. View at: Publisher Site | Google Scholar
56. M. V. Petoukhov and D. I. Svergun, “Global rigid body modeling of macromolecular complexes against small-angle scattering data,” Biophysical Journal, vol. 89, no. 2, pp. 1237–1250, 2005. View at: Publisher Site | Google Scholar
57. S. Maritorena, D. A. Siegel, and A. R. Peterson, “Optimization of a semianalytical ocean color model for global-scale applications,” Applied Optics, vol. 41, no. 15, pp. 2705–2714, 2002. View at: Publisher Site | Google Scholar
58. S. Bandyopadhyay, S. Saha, U. Maulik, and K. Deb, “A simulated annealing-based multiobjective optimization algorithm: AMOSA,” IEEE Transactions on Evolutionary Computation, vol. 12, no. 3, pp. 269–283, 2008. View at: Publisher Site | Google Scholar
59. S.-F. Hwang and R.-S. He, “Improving real-parameter genetic algorithm with simulated annealing for engineering problems,” Advances in Engineering Software, vol. 37, no. 6, pp. 406–418, 2006. View at: Publisher Site | Google Scholar
60. I.-K. Jeong and J.-J. Lee, “Adaptive simulated annealing genetic algorithm for system identification,” Engineering Applications of Artificial Intelligence, vol. 9, no. 5, pp. 523–532, 1996. View at: Publisher Site | Google Scholar
61. S. Mahmoodpour and M. Masihi, “An improved simulated annealing algorithm in fracture network modeling,” Journal of Natural Gas Science and Engineering, vol. 33, pp. 538–550, 2016. View at: Publisher Site | Google Scholar
62. T. Zhang, Z. Chen, Y. Zheng, and J. Chen, “An improved simulated annealing algorithm for bilevel multiobjective programming problems with application,” Journal of Nonlinear Sciences and Applications, vol. 9, no. 6, pp. 3672–3685, 2016. View at: Google Scholar | MathSciNet
63. G. Arbelaez Garces, A. Rakotondranaivo, and E. Bonjour, “Improving users’ product acceptability: an approach based on Bayesian networks and a simulated annealing algorithm,” International Journal of Production Research, vol. 54, no. 17, pp. 5151–5168, 2016. View at: Publisher Site | Google Scholar
64. M. Dai, D. Tang, A. Giret, M. A. Salido, and W. D. Li, “Energy-efficient scheduling for a flexible flow shop using an improved genetic-simulated annealing algorithm,” Robotics and Computer-Integrated Manufacturing, vol. 29, no. 5, pp. 418–429, 2013. View at: Publisher Site | Google Scholar
65. X.-G. Li and X. Wei, “An improved genetic algorithm-simulated annealing hybrid algorithm for the optimization of multiple reservoirs,” Water Resources Management, vol. 22, no. 8, pp. 1031–1049, 2008. View at: Publisher Site | Google Scholar
66. L. Ingber, “Very fast simulated re-annealing,” Mathematical and Computer Modelling, vol. 12, no. 8, pp. 967–973, 1989. View at: Publisher Site | Google Scholar | MathSciNet
67. M. Jenkinson and S. Smith, “A global optimisation method for robust affine registration of brain images,” Medical Image Analysis, vol. 5, no. 2, pp. 143–156, 2001. View at: Publisher Site | Google Scholar
68. W. Huyer and A. Neumaier, “Global optimization by multilevel coordinate search,” Journal of Global Optimization, vol. 14, no. 4, pp. 331–355, 1999. View at: Publisher Site | Google Scholar | MathSciNet
69. B. White, J. Lepreau, L. Stoller et al., “An integrated experimental environment for distributed systems and networks,” ACM SIGOPS Operating Systems Review, vol. 36, supplement 1, pp. 255–270, 2002. View at: Publisher Site | Google Scholar
70. G. Rudolph, “Local convergence rates of simple evolutionary algorithms with cauchy mutations,” IEEE Transactions on Evolutionary Computation, vol. 1, no. 4, pp. 249–258, 1997. View at: Publisher Site | Google Scholar
71. P. D. Adams, P. V. Afonine, G. Bunkóczi et al., “PHENIX: a comprehensive Python-based system for macromolecular structure solution,” Acta Crystallographica D: Biological Crystallography, vol. 66, part 2, pp. 213–221, 2010. View at: Publisher Site | Google Scholar
72. P. Fabian, V. Gaeel, G. Alexandre, and et al., “Scikit-learn: machine learning in Python,” Journal of Machine Learning Research, vol. 12, pp. 2825–2830, 2011. View at: Google Scholar | MathSciNet
73. M. F. Sanner, “Python: a programming language for software integration and development,” Journal of Molecular Graphics and Modelling, vol. 17, no. 1, pp. 57–61, 1999. View at: Google Scholar
74. A. Simon, P. P. Theodor, and W. Huber, “HTSeq—a Python framework to work with high-throughput sequencing data,” Bioinformatics, vol. 31, no. 2, pp. 166–169, 2015. View at: Publisher Site | Google Scholar
75. T. E. Oliphant, “Python for scientific computing,” Computing in Science and Engineering, vol. 9, no. 3, pp. 10–20, 2007. View at: Publisher Site | Google Scholar
76. J. W. Peirce, “PsychoPy-Psychophysics software in Python,” Journal of Neuroscience Methods, vol. 162, no. 1-2, pp. 8–13, 2007. View at: Publisher Site | Google Scholar
77. A. Ghazvinian, V. Sarfarazi, W. Schubert, and M. Blumel, “A study of the failure mechanism of planar non-persistent open joints using PFC2D,” Rock Mechanics and Rock Engineering, vol. 45, no. 5, pp. 677–693, 2012. View at: Publisher Site | Google Scholar
78. S. P. Hunt, A. G. Meyers, and V. Louchnikov, “Modelling the Kaiser effect and deformation rate analysis in sandstone using the discrete element method,” Computers and Geotechnics, vol. 30, no. 7, pp. 611–621, 2003. View at: Publisher Site | Google Scholar

Copyright © 2017 Min Wang and Ping Cao. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### More related articles

1288 Views | 592 Downloads | 5 Citations
PDFDownload CitationCitation
Download other formatsMore
Order printed copiesOrder

#### Related articles

We are committed to sharing findings related to COVID-19 as quickly and safely as possible. Any author submitting a COVID-19 paper should notify us at help@hindawi.com to ensure their research is fast-tracked and made available on a preprint server as soon as possible. We will be providing unlimited waivers of publication charges for accepted articles related to COVID-19. Sign up here as a reviewer to help fast-track new submissions.