
Granular materials are heterogenous grains in contact, which are ubiquitous in many scientific and engineering applications such as chemical engineering, fluid mechanics, geomechanics, pharmaceutics, and so on. Granular materials pose a great challenge to predictability, due to the presence of critical phenomena and large fluctuation of local forces. In this paper, we consider the quasi-static simulation of the dense granular media, and investigate the performances of typical minimization algorithms such as conjugate gradient methods and quasi-Newton methods. Furthermore, we develop preconditioning techniques to enhance the performance. Those methods are validated with numerical experiments for typical physically interested scenarios such as the jamming transition, the scaling law behavior close to the jamming state, and shear deformation of over jammed states.
Citation: Haolei Wang, Lei Zhang. Energy minimization and preconditioning in the simulation of athermal granular materials in two dimensions[J]. Electronic Research Archive, 2020, 28(1): 405-421. doi: 10.3934/era.2020023
[1] | Haolei Wang, Lei Zhang . Energy minimization and preconditioning in the simulation of athermal granular materials in two dimensions. Electronic Research Archive, 2020, 28(1): 405-421. doi: 10.3934/era.2020023 |
[2] | Jincheng Shi, Shuman Li, Cuntao Xiao, Yan Liu . Spatial behavior for the quasi-static heat conduction within the second gradient of type Ⅲ. Electronic Research Archive, 2024, 32(11): 6235-6257. doi: 10.3934/era.2024290 |
[3] | Dongtao Wang, Ping Xu, Chengxing Yang, Shuguang Yao, Zhen Liu . Crashworthiness performance of gradient energy-absorbing structure for subway vehicles under quasi-static loading. Electronic Research Archive, 2023, 31(6): 3568-3593. doi: 10.3934/era.2023181 |
[4] | Xincai Zhu, Yajie Zhu . Existence and limit behavior of constraint minimizers for elliptic equations with two nonlocal terms. Electronic Research Archive, 2024, 32(8): 4991-5009. doi: 10.3934/era.2024230 |
[5] | ShinJa Jeong, Mi-Young Kim . Computational aspects of the multiscale discontinuous Galerkin method for convection-diffusion-reaction problems. Electronic Research Archive, 2021, 29(2): 1991-2006. doi: 10.3934/era.2020101 |
[6] | Liangliang Li . Chaotic oscillations of 1D wave equation with or without energy-injections. Electronic Research Archive, 2022, 30(7): 2600-2617. doi: 10.3934/era.2022133 |
[7] | Rajakumar Ramalingam, Saleena B, Shakila Basheer, Prakash Balasubramanian, Mamoon Rashid, Gitanjali Jayaraman . EECHS-ARO: Energy-efficient cluster head selection mechanism for livestock industry using artificial rabbits optimization and wireless sensor networks. Electronic Research Archive, 2023, 31(6): 3123-3144. doi: 10.3934/era.2023158 |
[8] | Mingtao Cui, Min Pan, Jie Wang, Pengjie Li . A parameterized level set method for structural topology optimization based on reaction diffusion equation and fuzzy PID control algorithm. Electronic Research Archive, 2022, 30(7): 2568-2599. doi: 10.3934/era.2022132 |
[9] | Xiaoxia Wang, Jinping Jiang . The uniform asymptotic behavior of solutions for 2D g-Navier-Stokes equations with nonlinear dampness and its dimensions. Electronic Research Archive, 2023, 31(7): 3963-3979. doi: 10.3934/era.2023201 |
[10] | Hong Yang, Yiliang He . The Ill-posedness and Fourier regularization for the backward heat conduction equation with uncertainty. Electronic Research Archive, 2025, 33(4): 1998-2031. doi: 10.3934/era.2025089 |
Granular materials are heterogenous grains in contact, which are ubiquitous in many scientific and engineering applications such as chemical engineering, fluid mechanics, geomechanics, pharmaceutics, and so on. Granular materials pose a great challenge to predictability, due to the presence of critical phenomena and large fluctuation of local forces. In this paper, we consider the quasi-static simulation of the dense granular media, and investigate the performances of typical minimization algorithms such as conjugate gradient methods and quasi-Newton methods. Furthermore, we develop preconditioning techniques to enhance the performance. Those methods are validated with numerical experiments for typical physically interested scenarios such as the jamming transition, the scaling law behavior close to the jamming state, and shear deformation of over jammed states.
Granular materials are conglomerates of discrete, macroscopic, solid particles, such as sand, soils, pills, etc. They are ubiquitous in many industrial and natural processes. Analytical study is usually difficult due to the complicated nonlinear heterogeneous multi-body interactions in the dense granular system. Numerical methods have remarkable significance in the study of granular materials since most perturbative analytical methods in condense matter physics requires either the low density in the ideal gas limit or a prefect lattice for crystals. On the meanwhile, it is difficult for experimental methods to deal with large number of particles, measure physical quantities in 3D and investigate phase transitions such as jamming phenomena quantitatively [10,25]. Numerical simulations allow access to all detailed information of the particle system, and usually it is straightforward to calculate all the relevant quantities (e.g. fabric, stress, energy) of the system.
However, it remains challenging to develop efficient and robust numerical methods for granular system, especially for large particle systems. Molecular dynamics and energy minimization are two main classes of simulation methods. Discrete element method (soft-particle method) is one of the typical molecular dynamics methods in granular applications [12], where a set of Langevin equations of motion are formulated, with relaxation and random fluctuation terms to quantify the physical relaxation time scale and thermal effect, respectively. Related methods include event-driven method, non-smooth contact dynamics, etc, see references in [11]. On the other hand, energy minimization methods can be applied to the situation of quasi-static deformation, when the applied load changes slowly over time with respect to the inertial forces. One thus can significantly speed up the simulation if time scales are not needed to be fully resolved. Also, the high accuracy of the energy minimization methods provides advantage for the quantitative study of the jamming transition and the scaling law behavior close to the jamming point. Although molecular dynamics method have been extensively used in the simulation of granular materials, the application of energy minimization methods is relatively recent. For example, Luding et. al. have applied trust region methods to study the relaxation and shear of granular system [11]. In this paper, we will study the performance of several typical minimization methods for the granular simulation, such as conjugate gradient methods and quasi-Newton type methods.
Preconditioning is the main bottleneck for the development of efficient and robust numerical algorithms for large scale molecular simulation [1,19], boh in the case of molecular dynamics and energy minimization. General purpose preconditioners are not specifically targeted at large-scale atomistic systems, and are not particularly effective. In this paper, we will also stress on the development of preconditioning techniques for the efficient energy minimization of granular systems.
Remark 1.1. The molecular details of molecular dynamics methods such as soft-particle methods and energy minimization methods are usually not the same. However, it is important to note that the equilibrium physical quantities such as fabric, stress and energy remain similar [11]. Also, there is no temperature in the granular model simulated by energy minimization methods, namely, we are only interested in athermal granular materials.
The paper is organized as follows. In Section 2, we present the physical model for the granular system, as well as the critical jamming transition which is important for the numerical investigation of dense granular system. We present the optimization and preconditioning techniques used for granular simulation in Section 3. The numerical methods are validated and benchmarked in the numerical experiments in Section 4. We conclude in Section 5 and point out some future improvements.
In this section, we will start with a brief introduction for a contact model for granular materials in Sec 2.1 and 2.2, then give the definitions for some macroscopic variables such as stress, elastic modulus and average contact number in Sec 2.3, finally in Sec 2.4 we present the jamming formation which is an important physical phenomena for granular systems. For simplicity, we only consider the two dimensional granular system.
An admissible configuration
ϕ=1V∑iπr2i, | (1) |
where
The geometric structure of the granular materials can be characterized by the following fabric tensor,
F=1V∑c∈Cπ(r2i+r2j)→nc⊗→nc, | (2) |
where
→lc=→xi−→xj,lc=|→lc|,→nc=→lclc. | (3) |
It is important to note that granular particles can not interact unless they overlap. In other words, there is only repulsive force therefore the system is qualitatively different from the repulsive-attractive forces such as Lennard-Jones [5]. Also for simplicity, we only consider contact models without tangential forces.
Here we will introduce a contact potential of the following form,
Eij={kij(ri+rj−|→xi−→xj|)ααfor|→xi−→xj|<ri+rj,i≠j0for|→xi−→xj|≥ri+rj,i≠j0fori=j | (4) |
where
The total potential energy of the system is the sum of interaction energy of all particles.
Etot=∑i<jEij. | (5) |
See Figure 1 for an illustration.
Since the particles interact with each other only if they contact, we can rewrite the potential energy for a single contact
Ec=kc(δc∨0)αα, | (6) |
where
δc=ri+rj−|→xi−→xj|. | (7) |
In this formula, particle
∂Ec∂→xi=−→fc=−kδα−1c→nc,∂Ec∂→xj=→fc=kδα−1c→nc, | (8) |
where
∂2Ec∂→xi∂→xi=kδα−2c((α−1+δclc)→nc⊗→nc−Iδclc),∂2Ec∂→xj∂→xj=∂2Ec∂→xi∂→xi,∂2Ec∂→xi∂→xj=−∂2Ec∂→xi∂→xi, | (9) |
where
Remark 1. The exponent
The average stress tensor can be calculated by the following formula [2],
σ=1V∑c∈C→lc⊗→fc, | (10) |
where
p=d∑α=1σααd, | (11) |
where
B=ϕdpdϕ. | (12) |
For a simple shear [17] such that the deformation matrix is given by
D=(1γ01), |
the shear stress is
G=−dσ12dγ. | (13) |
In addition, the average contact number or coordination number, denoted by
ˉz=|C|N, |
where
We note that there exist particles with zero contacts, namely, the so called "rattlers". In addition, in our 2D frictionless circular disk system, some particles are called "dynamic rattlers" [6] if their numbers of contacts are less than 3, which can lead to mechanical instability. Thus, these rattlers are excluded from the calculation of the coordination number. We denote the number of particles with at least 3 contacts by
z=|C3|N3, | (14) |
which will be used in the numerical experiments of this paper.
The jamming transition is an important physical process in granular system [13,18,24], which refers to the critical slowing down of the system due to "overcrowded" particles when the packing fraction
In this paper, we adopt the approach by O'Hern et al. [18] to generate a jamming configuration: An initial configuration is sampled with sufficiently low packing fraction
We can adopt a bisection algorithm to increase the accuracy of
Algorithm 1 Generation of the Jamming Configuration. |
Input: |
particle number initial packing fraction increment prescribed accuracy |
Output: |
critical volume fraction jamming configuration 1: Generate an initial configuration 2: let 3: // Increment Step 4: while 5: Let 6: Fix the position of the particles, and enlarge their radii uniformly to generate a new configuration 7: Let 8: if 9: 10: else 11: 12: end if 13: end while 14: // Bisection Step 15:while 16: 17: Generate an intermediate configuration 18: Let 19: if 20: 21: else 22: 23: end if 24: end while 25: Denote 26: return |
The overall procedure is summarized in the Algorithm 1 for the generation of the jamming configuration. Denote by
The minimization of the total potential energy (5) relies on the state-of-the-art optimization and precondition techniques which will be presented in this section. The performance of those methods is contingent upon the particular applications. In particular, the construction of a good preconditioner, can be regarded as "an art rather than a science" [23].
In this paper, we use the limited-memory Broyden–Fletcher–Goldfarb–Shanno (L-BFGS) method [15] and Fletcher-Reeves conjugate gradient (FR-CG) method [16] for the energy minimization of granular system. We denote the total energy of a system as
L-BFGS is one type of the quasi-Newton methods, namely, it utilizes an approximation of the inverse Hessian matrix to generate the search direction. Instead of the full dense
We denote the approximate inverse Hessian at step
Algorithm 4 Preconditioned FR-CG method. |
1: 2: 3: return |
The matrix
B(k)0=s(k−1),Ty(k−1)y(k−1),Ty(k−1)I. |
This choice ensures that the search direction is well scaled and therefore the unit step length is accepted in most iterations. Besides, the diagonal matrix makes it much simpler to compute the multiplication
We use the Fletcher-Reeves variant [7] of the nonlinear conjugate gradient (CG) method [20]. As an extension of the linear conjugate gradient method [8], the search direction
Algorithm 4 Preconditioned FR-CG method. |
1: 2: 3: return |
Once we calculate the new search direction using either L-BFGS in Algorithm 2 or FR-CG in Algorithm 3, the next iteration is given by
x(k+1)=x(k)+α(k)p(k), | (15) |
where
Preconditioning is important for the efficiency of the minimization algorithms, especially for large scale problems. We have to choose the preconidtioner matrix
For L-BFGS algorithm 2, we replace the boxed step in the algorithm with:
r=P(k),−1q, | (16) |
in order to obtain a preconditioned L-BFGS algorithm.
For FR-CG algorithm 3, we have the following preconditioned version for
Algorithm 4 Preconditioned FR-CG method. |
1: 2: 3: return |
The equation (16) or Step 1 in Algorithm 4 is equivalent to solve a linear system:
P(k)r=q. | (17) |
An alternative point of view for the preconditioning is to make a change of coordinates:
∇F(˜x)=P(k),−1/2∇f(P(k),−1/2˜x). | (18) |
Applying the L-BFGS algorithm 2 or FR-CG algorithm 3 to optimize the transformed function
Preconditioning is well established in numerical linear algebra and numerical PDE problems [23]. However, in many applications general purpose preconditioners do not work particularly well, and specifically designed preconditioned are preferable. For large scale atomic/molecular simulations, Packwood et. al. proposed the so-called "universal preconditioner"
The universal preconditioner
uTPu=μ∑0<|rij|<rcutcij|ui−uj|2,cij=exp(−A(rij/rnn−1)). | (19) |
Here
Pij={−μ,dij<rcut0,dij≥rcut,Pii=−∑i≠jPij+μCstab, | (20) |
where
In our model problem, the bi-disperse granular system is composed of two types of particles, whose radii are denoted by
νT(∇E(x0+ν)−∇E(x0))=μνTPμ=1ν, | (21) |
where
ν(x)=M(sin(x/L)), | (22) |
where
Since we need to solve linear system (17) with respect to
In our numerical experiments, we use the bi-disperse granular system which consists of two types of particles with number ratio 1:1 and size ratio
In the numerical experiments, we test the performance of preconditioned L-BFGS method and preconditioned FR-CG method, by running several benchmark simulations: the jamming formation, the scaling law behavior for the jammed configuration, and the shear deformation of the over-jammed states. In those different scenarios, we will show that the proposed preconditioned algorithm has better performance compared to their un-preconditioned counterparts, and preconditioned L-BFGS is currently the method of choice.
We first run Algorithm 1 to generate the jamming configuration, starting from a relaxed configuration with volume fraction
In Figure 2, the residual norm of each iteration during a relaxation process is plotted. We apply four methods (L-BFGS, preconditioned L-BFGS, FR-CG, Preconditioned FR-CG) to minimize the energy of an unjamming configuration. A high accuracy tolerance is adopted here when an accurate jamming point is pursued. The figure shows that: L-BFGS is better than FR-CG, preconditioned L-BFGS method has the best convergence curve compared to other methods, and preconditioner provides a factor of two speed up for L-BFGS.
We also notice that convergence curves for all methods are extremely rough and have long asymptotic regimes, that indicates the granular system may have a complex and rough energy landscape.
Figure 3 shows the evolution of the granular system up to the jamming point. The volume fraction of the initial configuration is small, therefore particles can move around in order to achieve a zero energy configuration. When the volume fraction increases, the particles start to contact with each other, but initially it is still possible to achieve a zero energy configuration through energy relaxation (minimization). As the free space becomes less and less, at a critical volume fraction, the particles are forced to contact and overlap, and the potential energy of the system becomes non-zero.
Once the jamming configuration
In Figure 4, we plot the log-log curve of pressure
If we exert small simple shear strain
The modified average contact number
In Figure 7, we plot the iteration number vs. volume fraction difference
In Table 1, we illustrate the performance of four optimization methods: L-BFGS, preconditioned L-BFGS, FR-CG, and preconditioned FR-CG in three different situations given an over-jammed configuration with 4096 particles and volume fraction
Method | L-BFGS | P-L-BFGS (A=0) |
P-L-BFGS (A=3) |
FR-CG | P-FR-CG | |
Case 1 | n_iter | 2003 | 705 | 813 | 4574 | 1101 |
time/s | 24.3 | 11.8 | 16.2 | 58.9 | 18.5 | |
Case 2 | n_iter | 2749 | 986 | 1351 | 7306 | 2013 |
time/s | 29.2 | 15.8 | 27.1 | 90.1 | 33.5 | |
Case 3 | n_iter | 602 | 380 | 432 | 940 | 528 |
time/s | 7.5 | 6.8 | 9.1 | 11.9 | 9.2 |
● Case 1, fixing the positions of the particles, and enlarging them slightly with ratio
● Case 2, applying a small shear strain (
● Case 3, exerting a small (
The comparison of iteration number and computational time in Table 1 clearly demonstrates that the preconditioner can improve the efficiency of the energy minimization methods. Also, it seems we can simply take the parameter
In the shear test, we deform the over-jammed configuration with pure shear (stretching in x direction and compressing in y direction, while keeping the area unchanged). The deformation matrix is given by,
D=(1+γ0011+γ). |
The stress vs. strain and fabric vs. strain curve for the pure shear simulation is shown in Figure 8. Notice that we use increments of different sizes,
In this paper, we introduce the energy minimization techniques for the efficient simulation of dense athermal granular systems in two dimensions. Preconditioners are used to enhance the performance of the simulation. We carry out numerical experiments for some typical scenarios of granular simulation in order to validate the numerical methods, which include the jamming formation, scaling law phenomena close to the jamming point, and deformation of over-jammed states. Speedup of the preconditioned minimization methods are observed.
This work opens avenue for several possible improvements: First of all, we are going to extend the current work to three dimensions, which is physically more relevant to real applications, and still difficult for experimental studies [10,25].
Secondly, from the practical point of view, we will optimize the implementation of preconditioners using, for example, AMG [3] and other types of state-of-the-art techniques, especially for the three dimensional case.
Last but not least, we observe that the iteration number of our current preconditioned algorithms follows a scaling law behavior close to the jamming point, which is a fundamental bottleneck for the energy minimization approach. It remains open whether one can find a preconditioner which is robust close to the jamming point. Usually, an efficient preconditioner takes account of the long wavelength modes of the system. However, close to the phase transition point, more and more high frequency information might be needed. The development of numerical techniques in this direction relies on the understanding of the physical origin of the jamming transition.
We thank Jie Zhang and Zhaohui Jin from Shanghai Jiao Tong University for stimulating discussions on granular modeling, experiments and simulation. We thank Christoph Ortner from University of Warwick and Mingjie Liao from Shanghai Jiao Tong University for stimulating discussions on numerical methods of atomic simulation and their efficient implementations.
[1] |
Some remarks on preconditioning molecular dynamics. SMAI J. Comput. Math. (2018) 4: 57-80. ![]() |
[2] |
K. Bagi, Stress and strain in granular assemblies, Mechanics of Materials, 22 (1996), no. 3,165–178. doi: 10.1016/0167-6636(95)00044-5
![]() |
[3] | A. Brandt, S. McCoruick and J. Ruge, Algebraic multigrid (AMG) for sparse matrix equations, in Sparsity and its Applications, Cambridge Univ. Press, Cambridge, 1985, 257–284. |
[4] |
E. Cuthill and J. McKee, Reducing the bandwidth of sparse symmetric matrices, in Proceedings of the 1969 24th National Conference, Association for Computing Machinery, New York, NY, 1969,157–172. doi: 10.1145/800195.805928
![]() |
[5] |
J. E. Jones, On the determination of molecular fields II. From the equation of state of a gas, Proc. R. Soc. Lond. A, 106 (1924), no. 738,463–477. doi: 10.1098/rspa.1924.0082
![]() |
[6] |
F. Göncü, O. Durán and S. Luding, Constitutive relations for the isotropic deformation of frictionless packings of polydisperse spheres, Comptes Rendus Mécanique, 338 (2010), no. 10-11,570–586. doi: https://doi.org/10.1016/j.crme.2010.10.004
![]() |
[7] |
Function minimization by conjugate gradients. Comput. J. (1964) 7: 149-154. ![]() |
[8] |
M. R. Hestenes and E. Stiefel, Methods of conjugate gradients for solving linear systems, J. Research Nat. Bur. Standards, 49 (1952), no. 6,409–436. doi: 10.6028/jres.049.044
![]() |
[9] |
(1987) Contact Mechanics. Cambridge: Cambridge University Press. ![]() |
[10] |
Granular materials flow like complex fluids. Nature (2017) 551: 360-363. ![]() |
[11] |
Simulating granular materials by energy minimization. Comp. Part. Mech. (2016) 3: 463-475. ![]() |
[12] |
S. Luding, Introduction to discrete element methods: Basic of contact force models and how to perform the micro-macro transition to continuum theory, European Journal of Environmental and Civil Engineering, 12 (2008), no. 7-8,785–826. doi: 10.1080/19648189.2008.9693050
![]() |
[13] |
Contact force measurements and stress-induced anisotropy in granular materials. Nature (2005) 435: 1079-1082. ![]() |
[14] |
L. Mones, C. Ortner and G. Csnyi, Preconditioners for the geometry optimisation and saddle point search of molecular systems, Scientific Reports, 8 (2018), Art. 13991. doi: 10.1038/s41598-018-32105-x
![]() |
[15] |
J. Nocedal, Updating quasi-Newton matrices with limited storage, Math. Comp., 35 (1980), no. 151,773–782 doi: 10.1090/S0025-5718-1980-0572855-7
![]() |
[16] |
J. Nocedal and S. J. Wright, Numerical Optimization, 2nd edition, Springer, New York, 2006. doi: 10.1007/978-0-387-40065-5
![]() |
[17] | R. W. Ogden, Non-linear Elastic Deformations, Dover Publications, Mineola, NY, 1997. |
[18] |
C. S. O'Hern, L. E. Silbert, A. J. Liu and S. R. Nagel, Jamming at zero temperature and zero applied stress: The epitome of disorder, Phys. Rev. E, 68 (2003), 011306. doi: 10.1103/PhysRevE.68.011306
![]() |
[19] |
D. Packwood, J. Kermode, L. Mones, N. Bernstein, J. Woolley, N. Gould, C. Ortner and G. Csányi, A universal preconditioner for simulating condensed phase materials, AIP J. Chem. Phys., 144 (2016), no. 16, 164109. doi: 10.1063/1.4947024
![]() |
[20] | R. Pytlak, Conjugate Gradient Algorithms in Nonconvex Optimization. Nonconvex Optimization and its Applications, Vol. 89, Springer-Verlag, Berlin, 2009. |
[21] |
R. J. Speedy, Glass transition in hard disc mixtures, AIP J. Chem. Phys., 110 (1999), no. 9, 4559–4565. doi: 10.1063/1.478337
![]() |
[22] |
A. Stukowski, Visualization and analysis of atomistic simulation data with OVITO – the Open Visualization Tool, Modelling and Simulation in Materials Science and Engineering, 18 (2009), no. 1, 015012. doi: 10.1088/0965-0393/18/1/015012
![]() |
[23] |
Preconditioning. Acta Numer. (2015) 24: 329-376. ![]() |
[24] |
H. Zhang and H. A. Makse, Jamming transition in emulsions and granular materials, Phys. Rev. E, 72 (2005), 011301. doi: 10.1103/PhysRevE.72.011301
![]() |
[25] |
L. Zhang, Y. Wang and J. Zhang., Force-chain distributions in granular systems, Phys. Rev. E, 89 (2014), 012203. doi: 10.1103/PhysRevE.89.012203
![]() |
Algorithm 1 Generation of the Jamming Configuration. |
Input: |
particle number initial packing fraction increment prescribed accuracy |
Output: |
critical volume fraction jamming configuration 1: Generate an initial configuration 2: let 3: // Increment Step 4: while 5: Let 6: Fix the position of the particles, and enlarge their radii uniformly to generate a new configuration 7: Let 8: if 9: 10: else 11: 12: end if 13: end while 14: // Bisection Step 15:while 16: 17: Generate an intermediate configuration 18: Let 19: if 20: 21: else 22: 23: end if 24: end while 25: Denote 26: return |
Algorithm 4 Preconditioned FR-CG method. |
1: 2: 3: return |
Algorithm 4 Preconditioned FR-CG method. |
1: 2: 3: return |
Algorithm 4 Preconditioned FR-CG method. |
1: 2: 3: return |
Method | L-BFGS | P-L-BFGS (A=0) |
P-L-BFGS (A=3) |
FR-CG | P-FR-CG | |
Case 1 | n_iter | 2003 | 705 | 813 | 4574 | 1101 |
time/s | 24.3 | 11.8 | 16.2 | 58.9 | 18.5 | |
Case 2 | n_iter | 2749 | 986 | 1351 | 7306 | 2013 |
time/s | 29.2 | 15.8 | 27.1 | 90.1 | 33.5 | |
Case 3 | n_iter | 602 | 380 | 432 | 940 | 528 |
time/s | 7.5 | 6.8 | 9.1 | 11.9 | 9.2 |
Algorithm 1 Generation of the Jamming Configuration. |
Input: |
particle number initial packing fraction increment prescribed accuracy |
Output: |
critical volume fraction jamming configuration 1: Generate an initial configuration 2: let 3: // Increment Step 4: while 5: Let 6: Fix the position of the particles, and enlarge their radii uniformly to generate a new configuration 7: Let 8: if 9: 10: else 11: 12: end if 13: end while 14: // Bisection Step 15:while 16: 17: Generate an intermediate configuration 18: Let 19: if 20: 21: else 22: 23: end if 24: end while 25: Denote 26: return |
Algorithm 4 Preconditioned FR-CG method. |
1: 2: 3: return |
Algorithm 4 Preconditioned FR-CG method. |
1: 2: 3: return |
Algorithm 4 Preconditioned FR-CG method. |
1: 2: 3: return |
Method | L-BFGS | P-L-BFGS (A=0) |
P-L-BFGS (A=3) |
FR-CG | P-FR-CG | |
Case 1 | n_iter | 2003 | 705 | 813 | 4574 | 1101 |
time/s | 24.3 | 11.8 | 16.2 | 58.9 | 18.5 | |
Case 2 | n_iter | 2749 | 986 | 1351 | 7306 | 2013 |
time/s | 29.2 | 15.8 | 27.1 | 90.1 | 33.5 | |
Case 3 | n_iter | 602 | 380 | 432 | 940 | 528 |
time/s | 7.5 | 6.8 | 9.1 | 11.9 | 9.2 |