Numerical Analysis of 2-D Ising Model. Ishita Agarwal Masters in Physics (University of Bonn) 17 th March 2011

Similar documents
Metropolis Monte Carlo simulation of the Ising Model

A Monte Carlo Implementation of the Ising Model in Python

The Phase Transition of the 2D-Ising Model

Monte Carlo Simulation of the 2D Ising model

Monte Carlo Simulation of the Ising Model. Abstract

Simulation of the two-dimensional square-lattice Lenz-Ising model in Python

Progress toward a Monte Carlo Simulation of the Ice VI-VII Phase Transition

Markov Chain Monte Carlo The Metropolis-Hastings Algorithm

Monte Carlo study of the Baxter-Wu model

Introduction to the Renormalization Group

J ij S i S j B i S i (1)

Phase Transition & Approximate Partition Function In Ising Model and Percolation In Two Dimension: Specifically For Square Lattices

c 2007 by Harvey Gould and Jan Tobochnik 28 May 2007

S j H o = gµ o H o. j=1

Monte Caro simulations

REVIEW: Derivation of the Mean Field Result

The XY-Model. David-Alexander Robinson Sch th January 2012

MONTE CARLO METHODS IN SEQUENTIAL AND PARALLEL COMPUTING OF 2D AND 3D ISING MODEL

Phase transitions and finite-size scaling

Physics 115/242 Monte Carlo simulations in Statistical Physics

Phase transitions in the Ising model with random gap defects using the Monte Carlo method

Lab 70 in TFFM08. Curie & Ising

Computational Physics (6810): Session 13

Renormalization Group for the Two-Dimensional Ising Model

Calculations of the Partition Function Zeros for the Ising Ferromagnet on 6 x 6 Square Lattice with Periodic Boundary Conditions

Copyright 2001 University of Cambridge. Not to be quoted or copied without permission.

arxiv:cond-mat/ v1 22 Sep 1998

Magnetic ordering of local moments

Ising Model. Ising Lattice. E. J. Maginn, J. K. Shah

Spontaneous Symmetry Breaking

Statistical Thermodynamics Solution Exercise 8 HS Solution Exercise 8

3. General properties of phase transitions and the Landau theory

Monte-Carlo simulation of small 2D Ising lattice with Metropolis dynamics

WORLD SCIENTIFIC (2014)

Collective Effects. Equilibrium and Nonequilibrium Physics

Physics 127b: Statistical Mechanics. Landau Theory of Second Order Phase Transitions. Order Parameter

arxiv:cond-mat/ v1 [cond-mat.stat-mech] 14 Mar 2006

Spontaneous magnetization of the square 2D Ising lattice with nearest- and weak next-nearest-neighbour interactions

Decimation Technique on Sierpinski Gasket in External Magnetic Field

Home Page ISING MODEL. Title Page. Contents. Lecture 12. Page 1 of 100. Go Back. Full Screen. Close. Quit

Evaluation of Wang-Landau Monte Carlo Simulations

The Monte Carlo Method of Random Sampling in Statistical Physics

Lecture Notes on Statistical Mechanics

Markov Chain Monte Carlo Method

Cluster Algorithms to Reduce Critical Slowing Down

A Monte Carlo Study of the Specific Heat of Diluted Antiferromagnets

Electromagnetism II. Cristina Lazzeroni Lecture 5

Physics 127b: Statistical Mechanics. Second Order Phase Transitions. The Ising Ferromagnet

Advanced Monte Carlo Methods Problems

Hanoi 7/11/2018. Ngo Van Thanh, Institute of Physics, Hanoi, Vietnam.

Phase transitions and critical phenomena

Critical Dynamics of Two-Replica Cluster Algorithms

Ernst Ising. Student of Wilhelm Lenz in Hamburg. PhD Thesis work on linear chains of coupled magnetic moments. This is known as the Ising model.

LECTURE 10: Monte Carlo Methods II

Any live cell with less than 2 live neighbours dies. Any live cell with 2 or 3 live neighbours lives on to the next step.

Branislav K. Nikolić

VSOP19, Quy Nhon 3-18/08/2013. Ngo Van Thanh, Institute of Physics, Hanoi, Vietnam.

Phase Transitions of Random Binary Magnetic Square Lattice Ising Systems

Computational Statistical Physics

Physics Sep Example A Spin System

Phase Transitions and Critical Behavior:

Invaded cluster dynamics for frustrated models

ICCP Project 2 - Advanced Monte Carlo Methods Choose one of the three options below

Quantum annealing by ferromagnetic interaction with the mean-field scheme

Efficiency of Parallel Tempering for Ising Systems

Kinetic Monte Carlo (KMC) Kinetic Monte Carlo (KMC)

Monte Carlo Study of Planar Rotator Model with Weak Dzyaloshinsky Moriya Interaction

arxiv: v1 [cond-mat.dis-nn] 25 Apr 2018

Stat 8501 Lecture Notes Spatial Lattice Processes Charles J. Geyer November 16, Introduction

Intro. Each particle has energy that we assume to be an integer E i. Any single-particle energy is equally probable for exchange, except zero, assume

4. Cluster update algorithms

PY 502, Computational Physics, Fall 2017 Monte Carlo simulations in classical statistical physics

Statistical mechanics, the Ising model and critical phenomena Lecture Notes. September 26, 2017

Binder Cumulants for the Ising Model using Worm algorithms

Surface effects in frustrated magnetic materials: phase transition and spin resistivity

A New Algorithm for Monte Carlo Simulation of king Spin Systems* A. B. BORTZ M. H. KALOS J. L. LEBOWITZ

PHY331 Magnetism. Lecture 6

8.334: Statistical Mechanics II Problem Set # 4 Due: 4/9/14 Transfer Matrices & Position space renormalization

3.320 Lecture 18 (4/12/05)

VI. Series Expansions

arxiv:cond-mat/ v1 [cond-mat.stat-mech] 24 Jul 2001

The Ising model Summary of L12

Two Dimensional Ising Model Application With MONTE CARLO Method

CHAPTER 2 MAGNETISM. 2.1 Magnetic materials

Marginal Densities, Factor Graph Duality, and High-Temperature Series Expansions

Lecture 24 Origins of Magnetization (A number of illustrations in this lecture were generously provided by Prof. Geoffrey Beach)

Magnetism at finite temperature: molecular field, phase transitions

E = <ij> N 2. (0.3) (so that k BT

The Farey Fraction Spin Chain

Physics 562: Statistical Mechanics Spring 2002, James P. Sethna Prelim, due Wednesday, March 13 Latest revision: March 22, 2002, 10:9

ABSTRACT. We measure the efficiency of the Metropolis, Swendsen-Wang, and Wolff algorithms in

Quantum Monte Carlo and the Holstein Model

arxiv:cond-mat/ v1 19 Sep 1995

Immigration, integration and ghetto formation

Rensselaer Polytechnic Institute, 110 8th Street, Troy, NY , USA. Florida State University, Tallahassee, Florida , USA

Advanced Sampling Algorithms

(G). This remains probably true in most random magnets. It raises the question of. On correlation functions in random magnets LETTER TO THE EDITOR

Collective Effects. Equilibrium and Nonequilibrium Physics

Topological defects and its role in the phase transition of a dense defect system

Physics 127b: Statistical Mechanics. Renormalization Group: 1d Ising Model. Perturbation expansion

Transcription:

Numerical Analysis of 2-D Ising Model By Ishita Agarwal Masters in Physics (University of Bonn) 17 th March 2011

Contents Abstract Acknowledgment Introduction Computational techniques Numerical Analysis Summary References 2

Abstract This report is a study of selected properties of ferromagnetic material represented by a two dimensional Ising model using Monte Carlo simulation. It begins with an introduction of ferromagnetism and the Ising model followed by short notes on the computational techniques implemented. The experimental tasks with results and their analysis are then discussed. Experimental and analytic solutions for temperature dependence of average magnetization are compared. Critical exponents and critical temperature are found by finite size scaling. In the end, autocorrelation function of Metropolis algorithm is studied. 3

Acknowledgment I wish to thank professor Dr. Carsten Urbach and my tutor Mr. Konstantin Ottnand for their help and support. 4

Introduction Ferromagnetic materials are a class of magnetic materials that form permanent magnets and have many practical applications like electromagnets. The ferromagnetic materials exhibit long range ordering phenomenon at the atomic level which cause the unpaired electron spins to line up parallel with each other in a region called a domain. The domains are randomly oriented with respect to one another in the absence of external field. So although each domain has some net magnetization, there is no total magnetic field observed in the bulk of the sample. When an external magnetic field is applied, the domains already in the direction of the applied field grow at the expense of their neighbors. The spins are all in one direction and a net macroscopic magnetization is observed. The most important property of ferromagnetism is that it retains the magnetism even after the external field has been removed. At temperatures higher than the so called Critical temperature or Curies temperature, a ferromagnetic material undergo second order phase transition into paramagnetic material. The domains now have enough thermal energy to be randomly oriented again. The simplest model that describes ferromagnetic material in two dimensions is the Ising model [1]. The Ising model was invented by the physicist Wilhelm Lenz (1920) and was solved by his student Ernst Ising (1-D Ising model). The 2-D Model (with no applied magnetic field) was solved by L. Onsager (1944). Thermodynamic properties of Ising models in more than three dimensions cannot be solved numerically or analytically. The Ising model mathematically models a ferromagnetic lattice in statistical mechanics. It consists of discrete variables called the spin. They are arranged in a lattice and each lattice site has only one spin with either +1 (spin up) or -1 (spin down) value. The spins interact only with their nearest neighbors. The Ising model is used to study the phase transitions and cooperative phenomenon [2]. Here we study the 2-D Ising model solved by Onsager. The Hamiltonian, H of the Ising model is give by: H = J s s J ij is the interaction energy between spins at lattice point i and j. In case of ferromagnetism, the system will have minimum energy when the spins are all aligned and J>0. J is positive for ferromagnetic material and negative for antiferromagnetic. Here i and j run over all lattice sites and are next neighbor pairs. s i and s j are the spin states at lattice site i and j respectively. The parameter 1/2 is to avoid double counting. We study the ferromagnetic model in the absence of external magnetic field. The partition function, Z of the Ising model is given by:. Z = e where is 1/(k B T), T is the temperature and E y is the energy of the state y. 5

Computational Techniques Monte Carlo Monte Carlo methods are those which solve a problem by generating suitable random numbers and observing that fraction of the numbers obeying some property or properties. The method is useful for obtaining numerical solutions to problems which are too complicated to solve analytically. It was named the Monte Carlo method by S. Ulam after the Monte Carlo Casino based on random number generation [3]. There is no single Monte Carlo method but a large class of approaches following a particular pattern [4]: 1. Defining phase space - a domain of possible inputs. 2. Sampling- generating inputs randomly from the phase space using a certain specified probability distribution. 3. Deterministic computation- computing the problem using the generated inputs (random numbers). 4. Final result- aggregation of the individual computation results. We study the system in thermal equilibrium so that its bulk properties (intensive and extensive) remain unchanged. The probability P(x) of the system in sate x is then given by normalized Boltzmann factor as [4]: P(x) = 1 Z e where = 1/(k T), T = temperature, k = Boltzmann constant = 1.380658 x 10-23 J/K [##] and E x = energy of state x. Z = Y e (-E Y ) = partition function, where Y represents all possible states of the system with E Y corresponding to the energy of the Yth state. Metropolis Algorithm The Metropolis algorithm is one of the procedures that realize Importance sampling. It involves the construction of a state x l+1 from the previous state x l with a transition probability W(x x ). Here many Markov chains are constructed from one Markov chain. We choose W in such a way that the probability distribution of the states tends towards the equilibrium probability for infinite number of states [4]. 6

In our project we choose the transition probability from state x l to x l as: 1 W(x x ) = τ e 1 where s is an arbitrary factor and we choose it to be unity. The algorithm for spin flip is given as the following: 1. Set all the macroscopic variables like the lattice length L. 2. Select the lattice site i where the spin S i is to be flipped. 3. Calculate the energy difference () associated with this spin flip. 4. Choose a random number Z between zero and unity. 5. Only if Z< s W, the spin is flipped. The end of this step gives a new configuration which may or may not have the spin flipped. 6. The above steps are repeated a number of times τ Finite Size Scaling We are studying a statistical system which is defined at thermodynamic limit i.e. L, but due to computational limitations the system has finite lattice size LL. The correlation length (t) at T>>Tc and at T<<Tc is small and the system is comparable to an infinite system. But at T Tc, the correlation length becomes equivalent to the length L of the system. As a result the critical exponents at Tc get rounded and shifted. Thus we need to do finite size scaling which determines the real critical singularities by observing the measured quantities for different lengths (sizes) of the system [4]. The following relations define the critical exponents-,, and and are valid only close to the critical temperature: -equation (1) where m l, l and c l are spontaneous magnetization, susceptibility and specific heat respectively, L is the lattice length and (χ, c, m ) are called the scaling functions. The scaling functions are independent of lattice size but are dependent of temperature and the critical exponents. On plotting the observed parameters for different lattice size, we get the corresponding critical exponent ratios. 7

Numerical Analysis Temperature dependence of magnetization We first studied the changes in the lattice (spin orientations at each lattice site) with temperature by plotting the ferromagnetic lattice for different temperatures. In figure1, at low temperature T = 0.0001 the yellow (spin up) and black (spin down) are in patches. This means the spin down and spin up particles were in groups of same spin orientation, clearly showing domain formation. Also we mostly observed yellow patches showing that most of the spins were aligned in one direction and had +1 value (note that even though the temperature is much lower than the critical temperature we still see black patches, i.e. all the spins are not aligned. This is probably because the figure is a plot of only the last configuration of the lattice and not an average configuration). But as the temperature was increased, for T = 2.0, T = 10.0, we saw smaller but more patches implying smaller domain size. Also, the number of up spins had decreased and down spins had increased from before. Numerically this was because the system now had enough energy and by Metropolis algorithm, lattices with anti-parallel spins were accepted. Physically, there is a competition between independency (due to temperature) and interdependency (due to Exchange interaction between neighbors) of the spins. At high temperatures, thermal disorder wins over exchange interactions resulting in anti-parallel spin orientation [2]. At high temperatures T = 100, because all spin flips were accepted, we observed yellow and black dots which were more or less equal implying equal number of up and down spins. Again physically, since there was more thermal energy with the system, more anti-parallel spin orientations were possible. Average magnetization, m is the order parameter for the Ising model. By studying the variation of magnetization with temperature, we can determine the critical temperature at which phase 8 Figure 1: Ferromagnetic lattice at T=.0001, 2, 10 and 100

transition is taking place.to study the temperature dependence of average magnetization, m of the Ising model we first found m using the following formula [4]: m = <s i > (i.e the sum of all spins in the lattice) and then studied the variation of absolute magnetization (abs m) with temperature (T). We found for a square lattice of length 100, at high temperatures around 10,000 the magnetization was 0.0086 0 since there were equal up and down spins. At temperatures around 10, absolute magnetization was 0.0098 still very close to zero (number of spins up and down were almost the same). But at low temperatures around 1, absolute magnetization became 1, since most spins were either aligned upwards or downwards. Figure 2 is a plot of abs m with T varying from 0.01 to 30.0 with steps of 0.1 also showing this variation. The temperature around which the magnetization started to reduce to zero, the critical temperature Tc was = 2.3. This is clearly seen in figure 3 where T varies from 1.0 to 3.0 with steps of.005 and 10,000 iteration steps. Figure 2: temperature dependence of average magnetization for lattice size 100 Figure 3: temperature dependence of absolute magnetization for temperature ranging from 1.0-3.0. Tc = 2.3 9

Dependence of critical temperature on lattice size can be seen from figure 4. It plots absolute magnetization with temperature from 1.9 to 3.0 for different lattice size. For a smaller lattice, the system undergoes phase transition faster as compared to a larger lattice size. In figure 4 the critical temperature for lattice size 5050 smaller than that for lattice size 150150. Figure 4: dependence of critical temperature on lattice size L= 50, 100 and 150 Figure 5: comparison between theoretical and experimental solution of critical temperature In 1944, Lars Onsager solved the 2 dimensional Ising model with no applied external magnetic field and in 1949 he gave the solution for spontaneous magnetization as the following [5]: 10 M = {1 (sinh 2 T ) } The Comparison of the analytical solution of the magnetization given by Onsager with numerical solution (Monte Carlo technique) is shown in figure 5. The two curves are found to have the

same shape and a drop to zero magnetization at T = 2.26 showing an agreement between the numerical and analytic calculations. The curve showing Onsager s solution doesn t touch zero in the plot. This is because the iteration steps were not small enough to coincide with the exact value of temperature for which Onsager s magnetization is zero. We used the maximum sample number, 1,000,000 in Gnuplot 4.4 to attain this graph. Critical Exponents The critical exponents are given by the following equation: c ( τ) m ( τ) -equation (2) χ ( τ) ξ ( τ) Where, c is the specific heat, m the spontaneous magnetization, the susceptibility and the correlation length. Doing finite size scaling (expressing the observables as a function of lattice size) we obtain equation (1). From this equation / could be found by plotting m vs. L on logarithmic axis. The slope of this plot gave /. Figure 6 is a plot of the root mean square value of average magnetization against different lattice size ranging from 10 to 120 with steps of 10 on logarithmic axis at Tc = 2.691. By mean square fit of the curve, the slope was found to be 0.12545±0.02441 which is /. The theoretical value for this ratio is 0.125. Figure 6: plot of absolute magnetization and temperature on logarithmic scale with error bars Autocorrelation function for Metropolis algorithm The autocorrelation function for the Metropolis algorithm was studied and is shown in figure 7 for temperature T=.001 and 10. It was found that at low temperatures T=.001, there was an exponential decay in correlation between the data after which it remained uncorrelated. This was because initially the distance between the data was not too big hence correlation between the 11

data points was possible. But with increase in time, the distance between data increased reducing the correlation. For higher temperature, T= 10 only the first few data points were correlated and the rest uncorrelated with their autocorrelation function fluctuating randomly about zero. Figure 7: autocorrelation function for Metropolis algorithm at Temperature T=.001 and 10. Summary Numerical and analytic relation for temperature dependence of spontaneous magnetization was found to be in agreement. Average magnetization was found to be 1 below critical temperature and approached 0 at temperatures higher than critical temperature. Critical temperature was found to be 2.3 and the ratio of beta/nu was found to be -0.12545±0.02441. Autocorrelation function for the Metropolis algorithm was found to be zero at high temperatures. For low temperatures it fell to zero and stayed there. References [1] Myers, H.P., Introductory Solid State Physics, second edition, Taylor and Francis, 2009 [2] Ashcroft, N.W. and Mermin, N.D., Solid State Physics, Saunders, 1976 [3] Metropolis, N. The Beginning of the Monte Carlo Method, Los Alamos Science, No. 15. http://jackman.stanford.edu/mcmc/metropolis1.pdf [4] Binder, K., and Heermann, D.W., Monte Carlo Simulation in Statistical Physics- An Introducion, fourth edition, Springer, 2002 [5] Benettin,G., Gallavotti*,G., et al.: Commun. math. Phys. 30, 45--54 (1973) 12