FMR Frequency Plot

143 views
Skip to first unread message

gabo...@gmail.com

unread,
Sep 25, 2024, 3:05:36 AM9/25/24
to Vampire Users
I ran a VAMPIRE calculation that is hopefully simplified for illustrating a FMR frequency plot.  Should others be interested in it, the terminal steps are below and files are attached.  Feel free to provide any corrections if you find errors with it and modified it as needed for more complex FMR calculations. 

username@computername:~/Desktop/TM$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04.1 LTS
Release: 24.04
Codename: noble
username@computername:~/Desktop/TM$ ls -l
total 20
-rwxr-xr-x 1 username username 887 Sep 24 23:54 fft.py
-rw-r--r-- 1 username username 705 Sep 24 23:08 input
-rw-r--r-- 1 username username  97 Sep 24 23:12 plotFreqFFT
-rw-r--r-- 1 username username 119 Sep 24 23:13 plotTimeM
-rw-r--r-- 1 username username 454 Sep 24 17:44 TM.mat
username@computername:~/Desktop/TM$ vampire-serial
                                                _          
                                               (_)        
                    __   ____ _ _ __ ___  _ __  _ _ __ ___
                    \ \ / / _` | '_ ` _ \| '_ \| | '__/ _ \
                     \ V / (_| | | | | | | |_) | | | |  __/
                      \_/ \__,_|_| |_| |_| .__/|_|_|  \___|
                                         | |              
                                         |_|              

                      Version 7.0.0 Dec 27 2023 21:29:33

             Git commit: fd9de813cab95bc2b2837122bd03f0238a5d2d76

  Licensed under the GNU Public License(v2). See licence file for details.

  Developers:   Richard F L Evans, Sarah Jenkins, Andrea Meo,
                Daniel Meilak, Andrew Naden, Matthew Ellis,
                Oscar Arbelaez, Sam Morris, Rory Pond, Weijia Fan,
                Phanwadee Chureemart, Pawel Sobieszczyk, Joe Barker,
                Thomas Ostler, Andreas Biternas, Roy W Chantrell,
                Wu Hong-Ye, Razvan Ababei, Sam Westmoreland,
                Milton Persson
 
                Compiled with:  GNU C++ Compiler
                Compiler Flags:

  Vampire includes a copy of the qhull library from C.B. Barber and The
  Geometry Center and may be obtained via http from www.qhull.org.

================================================================================
Tue Sep 24 23:56:29 2024
================================================================================
Initialising system variables
Creating system
Generating neighbour list..........done!
Copying system data to optimised data structures.
Using generic/normalised form of exchange interaction with 48 total interactions.
Number of atoms generated: 2700
Starting Simulation with Program fmr...
Simulation run time [s]: 2.17081
Simulation ended gracefully.
username@computername:~/Desktop/TM$ gnuplot --persist plotTimeM
username@computername:~/Desktop/TM$ python3 fft.py
username@computername:~/Desktop/TM$ gnuplot --persist plotFreqFFT

TimeM.png

FreqFFT.png

Best Regards,
Gavin
VAMPIRE user
plotFreqFFT
plotTimeM
input
fft.py
TM.mat

Charlie

unread,
Sep 25, 2024, 7:12:14 AM9/25/24
to Vampire Users
Is this with a fmr field pulse ? 

Charlie Freeman

unread,
Sep 25, 2024, 11:05:14 AM9/25/24
to Vampire Users
Let me clarify. Have you modified the source code to apply a sinc pulse instead of the usual sine wave fmr field to do this ? I have been trying to do this myself and had some success, but still having issues with it. 

Charlie

--
You received this message because you are subscribed to the Google Groups "Vampire Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vampire-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vampire-users/5c428e5c-ee2f-4393-85b2-d47931b55685n%40googlegroups.com.

gabo...@gmail.com

unread,
Sep 25, 2024, 12:21:57 PM9/25/24
to Vampire Users
Yes, I used "sim:program = fmr" & sim:enable-fmr-field and followed posts [1-3] to add sim:fmr-field-strength, sim:fmr-field-frequency, and sim:fmr-field-unit-vector.

Though, in the input file I previously attached, you should see I chose different values in my case of:

sim:fmr-field-strength = 0.001 !T
sim:fmr-field-frequency = 0.7 !GHz
sim:fmr-field-unit-vector = 0.001,0.999,0


Kind Regards,
Gavin
VAMPIRE user

gabo...@gmail.com

unread,
Sep 25, 2024, 12:40:47 PM9/25/24
to Vampire Users
No, I did not modify the source code.  To get the damped sinusoid, it seemed to help when I changed the damping-constant.  During one of my attempts, I had a damping constant of 0.002. 

In the previous post at (1) that has the plot of the damped sinusiod that had an attached material file, you should see though that it was changed in TM.mat to:

 material[1]:damping-constant=0.1

TimeMsmallAlpha.png


Kind Regards,
Gavin
VAMPIRE user

TimeM.png

AMRENDRA KUMAR

unread,
Sep 26, 2024, 3:02:05 AM9/26/24
to Vampire Users

Dear Gavin,

I hope this message finds you well.

I wanted to reach out to see if you would be interested in collaborating on a ferromagnetic resonance (FMR) program for standard ferromagnets such as NiFe, which have been well studied using micromagnetic simulators like MuMax3 (I am also familiar with Mumax3).

I’ve conducted some simulations and encountered a few challenges that I believe we could resolve together. If you're open to it, we could meet to work on the project, and potentially publish the code for a better understanding of FMR using Vampire.

Please let me know if you’re interested in exploring this further.

Best regards,
Amrendra Kumar


Reply all
Reply to author
Forward
0 new messages