Can't save custom damping profile because of timeout

41 views
Skip to first unread message

Ashwin George

unread,
Nov 6, 2024, 7:09:38 AM11/6/24
to Boris Computational Spintronics
Hi Serban,

I'm trying to add a custom damping profile that I created using a numpy array for each cell of a 256*256 sample. 

I then use,

ns.setparamvar('damping', 'array', damping_profile)

ns.saveovf2param(paramname='damping', filename=ovf_filename)

ns.setparamvar('damping', 'ovf2', ovf_filename)


But I get the error, "SendCommand (send): timed out."

When i reduce the size to 50*50, the profile is created and saved.
How can i save it for 256*256?

Many thanks,
Ashwin

Serban Lepadatu

unread,
Nov 7, 2024, 2:23:03 AM11/7/24
to Boris Computational Spintronics
Hi Ashwin,

'array' is not an option for setting a parameter spatial variation (see relevant chapter in the manual from pg. 244).
You would have to build an ovf file and set it as a spatial variation (there's a Write_OVF2 method available in NetSocks). Since 'damping' is a magnetic parameter, the cellsize and dimensions in your ovf file have to match the mesh dimensions and magnetic cellsize.

Regards,
Serban
Reply all
Reply to author
Forward
0 new messages