Hello everyone,
I am currently attempting to reproduce the phenomena described in the paper "Tuning magnonic devices with on-chip permanent micromagnets." However, I have encountered some issues during the simulation process. Below is my Mumax3 code for reference,along with a comparison of my results with those from the paper.
sizeX := 40e-6
sizeY := 1.8e-6
sizeZ := 25e-9
Nx := 400
Ny := 18
setgridsize(Nx, Ny, 1)
setcellsize(sizeX/Nx, sizeY/Ny, sizeZ)
defregion(1,xrange(-14e-6,-12e-6))
defregion(2,xrange(-20e-6,-14e-6))
defregion(3,xrange(-12e-6,20e-6))
Msat = 1229e3
Aex = 14.3e-12
alpha = 5.11e-3
anisU = vector(0, 1, 0)
Ku1 = 12.5e3
m = uniform(0, 1, 0)
relax()
OutputFormat = OVF2_TEXT
tableAdd(B_ext)
autosave(m, 3e-11)
tableautosave(3e-11)
SetSolver(2)
B_ext = vector(0, 0.06, 0)
B_ext.setRegion(1,vector(2*sin(2*pi*9.25e9*t),0.06,0))
run(90e-9)

As shown in the figure, only the dispersion relation results are in reasonable agreement with those reported in the literature. In contrast, all other results exhibit significant discrepancies compared to the data presented in the paper. What could be the potential issues with my code? Any guidance or suggestions would be greatly appreciated.
Thank you very much for the guidance from all the seniors. I used setsolver(2) because a previous spin wave simulation code employed this setting, and I built upon that code for my modifications. I tried removing this line, but it didn't produce significant changes. Since I'm not entirely clear about the specific differences between the various solvers, I kept it. I used an amplitude of 2 T because, with a smaller amplitude, I couldn't obtain the dispersion relation shown in the figure—it only excited spin waves corresponding to the input frequency of 9.25 GHz. The specific simulation code and results are as shown in the figure below.

Recently, I've begun to suspect that my initial magnetization results might be incorrect. This is because, in the latest article by the paper's author, he reported his initial magnetization results, as shown in the figure. I don't understand why his magnetization results indicate that the magnetic moment is perpendicular to the waveguide boundary, whereas in other related simulations I've found, due to the demagnetizing field, the magnetic moment tends to align parallel to the boundary. Could someone please advise under what circumstances such a result might occur?

Regarding the anisotropy axis, the simulation device layout at the end of the paper indicates that his anisotropy axis points in the y-direction. I've tried changing the direction of the anisotropy axis to achieve a result where the magnetic moment is perpendicular to the waveguide boundary, but it still wasn't correct. At present, I am also studying how to use COMSOL to simulate the magnetic field distribution of the coplanar waveguide described in the article, but I am still in the learning process.
Once again, thank you very much to all the seniors for your guidance. I am truly grateful for any further suggestions you may have.
Thank you for your reply. I have proceeded with the excitation function you suggested: 2e-4 * sinc(2pi15e9*(t-1e-9)). Attached are the calculation results.

The results show a primary spin wave excitation peak at 15 GHz. However, similar dispersion curves were also obtained at other frequency components. Is this behavior typical for this type of excitation function, or might it indicate an area for refinement in the setup?
I would greatly appreciate your insights or suggestions on how to interpret these results or improve the simulation.
Best regards,
Ji jiaqing
Thank you for the insightful guidance from all three professors. Your suggestions proved extremely valuable and directly contributed to the significant improvement in my results. By employing sinc and sin functions in the simulation, I derived the spin wave dispersion relations and visualized the corresponding spin wave excitations across various modes. Below are the computational results I obtained. Attached is my code.

However, certain discrepancies remain when comparing my results with those reported in the literature. These differences may be attributed to the static magnetization profile within the waveguide. As Josh Lauzier pointed out, particular attention must be paid to the initialization of m. In the author’s related work, Standalone Integrated Magnonic Devices, the initialization results are provided; yet it is unclear why, in his case, the magnetic moments at the boundaries remain perpendicular to the surface. This contrasts with most simulation outcomes I have observed, where—due to the demagnetizing field—magnetic moments at boundaries typically align parallel to them.
I appreciate all group members for reading this, and I would be very grateful if someone could explain the reason behind the initialization distribution shown in the figure below.