OPhO 2024, Експеримент — Задача 1. Phase Transition

2024 OPhO Experimental Exam: Ising Model of Ferromagnetism · 30 август 2024 г. · 25 т.

Условие

Introduction

Paramagnetic materials have atoms with permanent magnetic dipoles, but point in random directions unless aligned by an external magnetic field. On the other hand, magnetic dipoles in ferromagnetic materials align with neighboring dipoles and can have a significant magnetization even without an external field.

Iron is one common example of a material that is ferromagnetic at room temperature. Other materials undergo a phase transition, where they are paramagnetic at higher temperatures, but become ferromagnetic below a certain temperature (the Curie temperature, TcT_c).

In this experiment, we will use the Ising Model and a Monte Carlo simulation to compute and examine the properties of this phase transition.

The Ising Model is a simple approximation for ferromagnetism. We take a 2D lattice of atoms and assume that each dipole points either up (si=1s_i = 1) or down (si=−1s_i = -1) along the same axis. Then we run the Monte Carlo simulation, which uses the following algorithm:

  1. Start with a 2D grid of size L×LL \times L, where each site represents a spin that can be either +1+1 or −1-1. The initial configuration is randomly assigned.
  2. Energy Calculation: For each spin at position (i,j)(i, j), calculate the change in energy (ΔE\Delta E) if the spin is flipped. This is done by considering the interaction of the spin with its nearest neighbors. The energy change ΔE\Delta E (in the absence of an external field) is given by:
ΔE=2J×spin×(∑neighborsspin)\Delta E = 2J \times \mathrm{spin} \times \left( \sum_{\mathrm{neighbors}} \mathrm{spin} \right)

where JJ is the interaction strength. 3. For each Monte Carlo step:

  • Randomly select a spin in the grid.
  • Calculate the energy change ΔE\Delta E if this spin were to be flipped.
  • If ΔE<0\Delta E < 0, flip the spin.
  • If ΔE≥0\Delta E \geq 0, flip the spin with probability e−ΔE/kBTe^{-\Delta E / k_B T}, where TT is the temperature and kBk_B is the Boltzmann constant.
  1. Repeat the spin-flipping process for a set number of steps, allowing the system to reach equilibrium.
  2. The final configuration of the grid after the simulation, representing the state of the system at temperature TT.

Accessing the Program

To access the Python notebook, follow this link and make a copy to your own Google Drive. You will be able to perform all the code online without needing to download anything.

Overview of Code

There are three cells to run experiments:

  1. Varying the temperature via T_list which contains all of the simulated temperatures.
  2. Varying the external magnetic field via B_list which contains all of the simulated external fields.
  3. Varying both.

Instructions for Using the Simulation

  • The simulation uses a 50x50 grid to represent the 2D lattice of atoms. This grid is periodic, meaning that it wraps around at the edges, allowing for continuous boundary conditions.
  • You can simulate the system at different temperatures by adjusting the T_list or B_list variable (based on desired experiment) in the code. The default temperatures provided are 1.0, 2.5, and 5.0.
  • The number of Monte Carlo steps can be modified by changing the n_steps variable. The default is set to 100,000 steps, but you may increase or decrease this based on your needs.
  • The interaction strength (J) and Boltzmann constant (k_B) are set to 1.0 by default. It is recommended not to change these values as they are critical to maintaining the accuracy of the model.
  • Once you’ve adjusted the parameters, run the cells in the notebook to simulate the Ising Model at the chosen temperatures. The results will be visualized, showing the spin configuration of the grid for each temperature.

Below is an image of what the initial simulation should look like for the first cell:

Three square spin-lattice snapshots (red and blue cells) titled T = 1.0, T = 2.5 and T = 5.0: large red and blue domains at T = 1.0, smaller clusters at T = 2.5, a fine random mixture at T = 5.0.

For the second cell:

Three square spin-lattice snapshots titled B = 0, B = 0.01 and B = 0.1: mixed red and blue domains at B = 0 and B = 0.01, almost entirely red with two small blue islands at B = 0.1.

For the third cell:

Phase Transition

For the following questions, include the figure with uncertainty if applicable, your reasoning, and any graphs if used.

A 3 by 3 grid of spin-lattice snapshots titled B = 0, T = 1.0; B = 0, T = 5.0; B = 0, T = 10.0; B = 0.01, T = 1.0; B = 0.01, T = 5.0; B = 0.01, T = 10.0; B = 0.1, T = 1.0; B = 0.1, T = 5.0; B = 0.1, T = 10.0. At T = 1.0 large domains appear (almost all red for B = 0.1); at T = 5.0 and T = 10.0 the lattices are finely mixed.

a) Find the value of TcT_c and explain what criteria you used. [6 т.]

b) Keeping the external magnetic field constant, plot the energy EE of the system as a function of temperature. [4 т.]

c) Plot the heat capacity CC of the system as a function of temperature. What are its maximum and minimum values?

A phase transition is first order in temperature if the energy is discontinuous, second order if the energy is continuous but its first derivative is discontinuous, etc. What is the order of the phase transition here? [5 т.]

Consider the net magnetization M=μ∑i=1NsiM = \mu \sum_{i=1}^{N} s_i of the system.

d) At temperatures slightly below TcT_c, MM can be approximated as M=α∣Tc−T∣βM = \alpha |T_c - T|^{\beta}. Find values for α\alpha and β\beta. [6 т.]

e) Set T=TcT = T_c. Plot how the net magnetization reacts as BB is varied. Qualitatively, what do you observe? What happens if T<TcT < T_c? [4 т.]

Отговори

Решение


Оригинал в Архива: experiment.pdf · официални решения: experiment_sol.pdf