Skip to content

Commit 7ca4995

Browse files
Merge pull request #11 from UppASD/switching2
Switching2
2 parents 9cde98b + a5bd998 commit 7ca4995

2 files changed

Lines changed: 20 additions & 23 deletions

File tree

content/switching/TASK2/damping/damping.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!bin/bash
1+
#!/bin/bash
22
for alpha in 0.2 0.4 0.6 0.8 1.0
33
do
44
mkdir Damping$alpha

content/switching/switching.rst

Lines changed: 19 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -8,71 +8,68 @@ speed and with lower energy consumption has obvious benefits for our society. He
88

99
The presentation is avalable as :download:`pdf <Presentation/Lecture_switching_UppASD_school.pdf>`
1010

11-
TASK1
11+
TASK1: External field
1212
-----------------
1313
* The magnetization direction of sample can be manipulated by applying an external magnetic field with the desired orientation. In this exercise you will apply a magnetic field to switch the magnetization direction of macrospin and bcc Fe from **+z** to **-z** direction.
1414

15-
All the input files are in the Folder ``TASK1``, use the flag ``hfield`` in ``inpsd.dat`` to control the strength as well as the direction of magnetic field.
16-
Here you will switch the magnetization direction of
17-
a macrospin and bcc Fe from **+z** to **-z** direction, compare the switching
15+
1. Use the flag ``hfield`` in ``inpsd.dat`` to control the strength as well as the direction of magnetic field.
16+
Here you will use the inputs in the folder ``macrospin`` to switch the magnetization direction of
17+
a macrospin from **+z** to **-z** direction, compare the switching
1818
time with external field ``-1000 ,-1500 ,-2000, -2500, -3000 Tesla``.
19-
You can directly use the script ``switching.sh`` to complete this simulation. Finally, use the plotting script ``plot.gnu`` or ``plot.py`` to plot the
19+
You can directly use the script ``switching.sh`` to complete this exercise. Finally, use the plotting script ``plot.gnu`` or ``plot.py`` to plot the
2020
average magnetization of **z** component as a function of time
2121
for each magnetic field and compare them. Keep in mind that the external field in this simulation
2222
is incrediblely huge, here we use huge magnetic field to accelerate our simulation.
2323

24-
After that, you can try different Jij in ``jfile`` of bccFe and compare
24+
2. After that, use the inputs in the folder ``bccFe``. Set the temperature to 0K and the external field to ``-2000T``, then you can try different Jij in ``jfile`` of bccFe and compare
2525
whether different set of Jij affects the switching process? Read the maunal and find out where you need to modify in the ``jfile``.
2626

2727
Do you think the switching process of bccFe behaves like a macrospin? Try to explain it
2828
from the output ``moment.bccFe100.out``.
2929

30-
TASK2
30+
TASK2: Damping and magnetic anisotropy
3131
------------------------
3232
* Damping enters the LLG equation as a phenomenological term, which denotes the energy and angular momentum dissipation from the magnetic system to the environment. The magnetic switching is heavily dependent on the damping.
3333
In this exercise you will compare the switching time of a macrospin with different damping.
3434

35-
Use the flag ``damping`` in ``inpsd.dat`` to control the damping parameter in LLG equation. Here you still switch the magnetization direction of
35+
The inputs for this simulation are in the folder ``damping``. Use the flag ``damping`` in ``inpsd.dat`` to control the damping parameter in LLG equation. Here you still switch the magnetization direction of
3636
the macrospin from **+z** to **-z** direction, compare the switching
37-
time with damping ``0.2 ,0.4, 0.6, 0.8, 1.0``. Finally, plot the
37+
time with damping ``0.2 ,0.4, 0.6, 0.8, 1.0``. You can directly use the script ``damping.sh`` to complete this exercise. Finally, plot the
3838
average magnetization of **z** component as a function of time
39-
for system with each damping and see how different damping affects the switching process(Here you can try to modify the python plot script in **TASK1**).
39+
for system with each damping and see how different damping affects the switching process and explain it from LLG equation(Here you can create a python plot script by yourself).
4040

4141
Keep in mind that the damping value in real materials is
4242
usually in the order of **1e^⁻3** or **1e^⁻4**, here we use huge
4343
damping to accelerate our simulation.
4444

45-
* To switch a magnetic system, one needs to overcome the energy barrier, which is determined by system’s magnetic anisotropy and the volume of the system. In actual device, the energy barrier can stablize system's magnetic order. However, huge energy barrier will induce higher power consumption to manipulate the magnetism in device. In this assignment, you will explore the magnetic switching process of macrospin with different magnetic anisotropy.
45+
* To switch a magnetic system, one needs to overcome the energy barrier, which is determined by system’s magnetic anisotropy and the volume of the system. In actual device, the energy barrier can stablize system's magnetic order. However, huge energy barrier induces higher power consumption to manipulate the magnetism in device. In this assignment, you will explore the magnetic switching process of macrospin with different magnetic anisotropy.
4646

47-
Use the flag ``anisotropy`` in ``inpsd.dat`` combined with an external
47+
The inputs for this simulation are in the folder ``anisotropy``. Use the flag ``anisotropy`` in ``inpsd.dat`` combined with an external
4848
file named ``kfile`` storing the magnetic anisotropy
4949
parameter of system to manipulate the magnetic anisotropy parameter.
5050
Here still switch the magnetization direction of
5151
macrospin from **+z** to **-z** direction, compare the switching
52-
time with anisotropy ``K1=-0.02 ,-0.2, -0.4``. Read the maunal and find out where you need to modify in the ``kfile``.
53-
Plot the average magnetization of **z** component as a function of time
52+
time with anisotropy ``K1=-0.02 ,-0.2, -0.4``. You can directly use the script ``switching_K.sh`` to complete this exercise. Read the manual and find out where you need to modify in the ``kfile``.
53+
Plot the average magnetization of **z** component as a function of time
5454
for system with each magnetic anisotropy and see the effect of anisotropy on switching.
5555

5656

57-
58-
TASK3
57+
TASK3: Precessional switching
5958
------------------------
6059
In this exercise, you will simulate the precessional switching which has been introduced in the talk.
6160

6261
Here you will use the flag ``do_bpulse`` in ``inpsd.dat`` to control the type of field pulse(The pulse type like square pulse, square pulse with exponential head and tail,
63-
Gaussian pulse,exponentially decaying pulse have been implemented in UppASD). Here you will use the Gaussian pulse in this exercise, so set ``do_bpulse 2``.
64-
Then modify the parameter of pulse center and width of pulse for Gaussian in the file named ``bpulsefile``.
65-
Plot the average magnetization of **z** component as a function of time and compare the switching process of different pulse.
66-
62+
Gaussian pulse,exponentially decaying pulse have been implemented in UppASD). Here you will use the Gaussian pulse in this exercise, so set ``do_bpulse 2``. Run the simulation and plot the average magnetization of **z** component as a function of time.
63+
If you have time, try to compare the switching process with different damping and parameters for Gaussian pulse in the file named ``bpulsefile``.
6764

6865

69-
TASK4
66+
TASK4: Spin transfer torque(STT)
7067
------------------------
7168
* Magnetic memory devices have been studied extensively in the past years. The IBM racetrack memory being one of the prime examples of this. This device relies on the movement of a magnetic texture connecting two magnetic domains with different orientation. This texture is known as a domain wall. To move this wall a spin polarized current can be applied to the system exerting a torque over the texture forcing it to move. In this exercise, you will simulate the precessional switching.
7269

7370
In this task, use the flag ``Initmag 4`` and ``restartfile ./restart.DOMAIN.DW`` to initialize spin configuration of
7471
the system. Then turn on the STT flag by ``stt A`` and define the polarized direction of current by ``jvec jx jy jz``. Visualize the domain wall motion dynamics of the
75-
system by UppASD GUI, for that you need to set ``do tottraj Y`` to get the trajectory of each spin at each sampling step. You can play with the flag ``jvec`` to manipulate the direction of domain motion.
72+
system by UppASD GUI, for that you need to set ``do tottraj Y`` to get the trajectory of each spin at each sampling step. You can play with the flag ``jvec`` to manipulate the direction of domain motion(Play with different strength and vectors of current).
7673

7774

7875

0 commit comments

Comments
 (0)