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.