Re: how to use two ucf files? or how to inject spin current at left boundary using spin orbit torque?

384 views
Skip to first unread message

Gavin Abo

unread,
Oct 13, 2021, 1:59:08 AM10/13/21
to vampir...@googlegroups.com

As far as I know, VAMPIRE currently will only handle and read in one ucf file.

The post at the following link about having different materials using one ucf file might be of interest:

https://groups.google.com/g/vampire-users/c/QGFtYVB6Kd8/m/aJLRijgZBQAJ

For micromagnetic simulators, I believe it is quite common that layers can only be made in the z-direction.  Perhaps it is the same with the design of VAMPIRE as well.  As seen on the multilayers webpage, the layers are in the z-direction (with top layer and bottom layer) at

https://vampire.york.ac.uk/tutorials/system-generation/multilayers/

So instead of a left layer and right layer, you might have to change your viewpoint by rotating your structure by 90 degrees to define your structure as bottom and top.

In addition, the same above multilayers webpage link seems to have an important cautionary note about the .ucf file that you will probably want to read.

Regarding the spin-orbit torque, I do not know where you got the "spin-orbit-polarization-unit-vector" and "spin-orbit-torque".  Are you perhaps using a modified version of VAMPIRE that is only available internally to your organization?  If so, that is obviously not something that we could help you with.

On the other hand, VAMPIRE 6.0 does look like it has some spin orbit torque functions under development but it looks like you have to change the source code and recompile it to try to use the "enable_spin_torque_fields" and "sot_polarization_unit_vector(x,y,z)" variables seen the source code file at:

https://github.com/richard-evans/vampire/blob/v6.0/src/simulate/data.cpp

I don't know the state of that or what you would have to do to be able to use it from within the input file instead.  It is something you would have to wait and see if the VAMPIRE developers respond with more information about it in this Google group.

Kind Regards,

Gavin
VAMPIRE user

On 10/10/2021 4:25 AM, 윤종필 wrote:
Dear All,


I want to use two ucf files to separate two regions.
My first question is the possibility of two ucf files.
My situation is this.
First, I want to set 1 AFM lattice at the left boundary.
Second, I want to set many AFM lattices next to the left boundary lattice.
I think that it can be possible to use two ucf files. So how can I use two ucf files?
like 

material:unit-cell-files=1.ucf
create:cube
material:unit-cell-files=2.ucf
create:full
??
Is this right? or is it possible?

Second, the question is how can I use spin-orbit torque?
I use this code
sim:spin-orbit-polarization-unit-vector=0,0,1

material[1]=spin-orbit-torque=1 !T

But something makes an error. Is it the wrong spin-orbit torque code??
Message has been deleted
Message has been deleted

jongpil yun

unread,
Oct 15, 2021, 1:08:58 PM10/15/21
to Vampire Users
Thank you very much to reply my question.

Your suggestion is very useful for me.

I solve the problem using one unit cell file, material minimum, maximum height.

Thank you very much. 
I delete two replies. Because I solve my additional problems.
Sorry to delete replies.
2021년 10월 13일 수요일 오후 2시 59분 8초 UTC+9에 gabo...@gmail.com님이 작성:
Reply all
Reply to author
Forward
0 new messages