HK algorithm for estimation of percolation in square lattice using Python programing

Percolation theory spans a wide area of application ranging from social science, geology, soil science, to complex material structure. Here in this paper, a high speed Monte Carlo program is developed using Python language to find out the site percolation threshold precisely in the square lattice. T...

Full description

Saved in:
Bibliographic Details
Published inAIP conference proceedings Vol. 2220; no. 1
Main Authors Nath, Madhumita, Bandyopadhyay, Atul, Chakraborty, Saptarshi
Format Journal Article Conference Proceeding
LanguageEnglish
Published Melville American Institute of Physics 04.05.2020
Subjects
Online AccessGet full text
ISSN0094-243X
1551-7616
DOI10.1063/5.0001720

Cover

More Information
Summary:Percolation theory spans a wide area of application ranging from social science, geology, soil science, to complex material structure. Here in this paper, a high speed Monte Carlo program is developed using Python language to find out the site percolation threshold precisely in the square lattice. The coding is done by using the inbuilt libraries of Python named NumPy, SciPy, Matplotlib etc. The cluster identification and numbering is based on Hoshen-Kopelman(HK) algorithm which consumes low computer memory with small computation time compared to other methods. The percolation threshold (pc) computed in our case was is 0.5924528 which is consistent with series expansion method. We have also characterized the percolation by demonstrating normalized mass of percolating cluster (Npc), normalized size of spanning cluster (Nsc) and the ratio of Nsc /Npc. Present work is our generous effort to represent Python as an efficient tool for coding in percolation theory. The realizations of percolations by means of HK algorithm using Python language is reported for the first time as far as our knowledge is concerned.
Bibliography:ObjectType-Conference Proceeding-1
SourceType-Conference Papers & Proceedings-1
content type line 21
ISSN:0094-243X
1551-7616
DOI:10.1063/5.0001720