TEMPRATURE IN MUMAX

1,260 views
Skip to first unread message

Dheerendra Bhandari

unread,
Dec 7, 2021, 9:46:09 AM12/7/21
to mumax2
hi,
how one can implement temperature in mumax3.10?? 
I want to calculate magnetization as a function of temp ?  

thanx.

Joshua Lauzier

unread,
Dec 8, 2021, 3:53:26 AM12/8/21
to mumax2
Hello,

Temperature can be set using the Temp command as

Temp= 330

To set the temperature to 330 K, for example. Related commands or subroutines can be found in the api. For the full details of implementation, I would refer you to this paper:  'Adaptively time stepping the stochastic Landau-Lifshitz-Gilbert equation at nonzero temperature: Implementation and validation in MuMax3' by Leliaert et al.

Note that temperature only works when using commands like run(). Energy minimization techniques like minimize() and relax() disable temperature. So what you would want to do is set up a for loop, where you increment the temperature, then run() for a sufficiently long period to reach a steady state in each loop (this time will depend upon your problem). One example would be:

Tempmax=300
tempstep=1

for temperature:=10; temperature<=Tempmax; temperature+=tempstep{
Temp=temperature
run(1e-9)
tablesave()
 }

This would ramp the temperature starting from 10 K, running for 1 ns before incrementing the temperature by 1 K. Until the system reaches 300 K.

Best,
Josh L.

Dheerendra Bhandari

unread,
Dec 9, 2021, 11:40:03 PM12/9/21
to mum...@googlegroups.com
Thanx for your response.
I am working on it, and trying to find Curie temp for my material. 

--
You received this message because you are subscribed to the Google Groups "mumax2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mumax2+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mumax2/3fb22180-6dd3-456b-a9b1-fdd11febffb1n%40googlegroups.com.

Felipe Garcia

unread,
Dec 10, 2021, 4:36:32 AM12/10/21
to mumax2
Hi,

For Curie temperature, mumax3 is not the best tool. For that you need some atomistic code. mumax3 has temperature as a way to include thermal fluctuations, noisy or stochastic behavior. One can try other approaches with micromagnetism, like LLb or so, but for LLB, the Curie temperature is an input parameter. To calculate the Curie temperature, one needs another approach like atomistic simulations.

Best regards,
Felipe

Eloi Junior

unread,
Dec 13, 2021, 10:37:32 AM12/13/21
to mumax2
Hi, 

as pkwgarcias said is necessary try other approaches like atomistc simularions. An options is Vampire 4.

link for Vampire 4:
Reply all
Reply to author
Forward
0 new messages