defining region in FMR simulation

526 views
Skip to first unread message

sukh...@gmail.com

unread,
Aug 23, 2021, 8:55:05 AM8/23/21
to mumax2
Hi All,

I am using mumax to calculate dispersion relation (nr. 5) with the link below:


This mumax3 script simulates a uniformly magnetized nanowire with an applied field perpendicular to the wire. Spin waves are excited by a sinc pulse with a maximum frequency of 20GHz at the center of the simulation box.

I am confused with the code below where region is defined:

defregion(1, rect(2*{dx}, inf))

B_ext.setregion(1, vector(0.01 * sinc( 2*pi*{fmax}*(t-{T}/2)), 0, {Bz}))


How is this region defined? Is this region excludes the initial two cells along the length?

Why do we need to define the region?

What if I do simulation without region like below?

// defregion(1, rect(2*{dx}, inf))
B_ext = vector(0.01 * sinc( 2*pi*{fmax}*(t-{T}/2)), 0, {Bz})


Could anyone please explain me this.


Best regards
Sukhvinder Singh








Felipe Garcia

unread,
Aug 25, 2021, 8:00:28 AM8/25/21
to mumax2
Hi,

The example is to excite spin waves, which are excited from that region. If one wants to study the FMR, it is not necessary to use regions.

Best regards,
Felipe

--
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/babd7c4f-726c-4927-940e-111b9d96f4dfn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages