Applying external displacement field

151 views
Skip to first unread message

ZWcsjs

unread,
Mar 11, 2025, 8:57:55 AMMar 11
to mumax2
Dear  everyone
    I am simulating a heterostructure consisting of a piezoelectric material and a ferromagnetic layer. I want to control the magnetization of the ferromagnetic layer through the strain transmitted by the piezoelectric material. The applied effective field comes from the displacement field derived from Comsol, but I got confusing results. If you can give me some advice, I would be very grateful. Below is my code, ovf file and running results.view.png
displacement.ovf
code.txt

Josh Lauzier

unread,
Mar 12, 2025, 6:37:16 AMMar 12
to mumax2
Hi,

Is this image from after run()? Reading your script, it seems like you apply an initial displacement, but there is nothing to hold that displacement, so it will simply relax away. One either needs to apply a strain, or freeze the displacements.

Also, in the script you've posted, various elastic parameters like C11 are commented out. These need to be set to get sensible results, they're not optional for the ME module.

Best,
Josh L.

juan li

unread,
Oct 14, 2025, 11:17:54 PMOct 14
to mumax2
Hi,

I am currently working on a project similar to your approach, where I import the displacement field from COMSOL into Mumax3 to investigate its influence on magnetic properties.

I recall that you have also worked on importing COMSOL displacement fields into Mumax3 to study their effects on magnetism. Are you still continuing with this research?

My main question is about how you managed to fix the imported displacement field in the simulation. I have implemented the code as shown below, but I am facing an issue where the displacement field changes during the runtime, rather than remaining static as intended.

Best regards,

Juan L.

txt.png


Reply all
Reply to author
Forward
0 new messages