-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
bugA bug in UbermagA bug in Ubermaghelp wantedNo resources available - help invitedNo resources available - help invited
Description
Hello!
I'm trying to simulate a multilayer system, for example with three magnetic layers and two spacers. I want to couple Layer1 with Layer2 and Layer 2 with Layer3 through RKKY energy term. Also I need to implement two Uniaxial anisotropies, which gave me no issues, but when I try to add two RKKY interactions, the code fails: "Key Oxs_LinearScalarField:rkkyfield already in use". So, it is not possible to add more RKKY interactions?
Thanks !
Felipe Brevis
system = mm.System(name="rkky")
system.energy = (
mm.Exchange(A=1e-12) + mm.RKKY(sigma=-1e-4, sigma2=0, subregions=['layer1', 'layer2bottom'], name="rkky_12")
+ mm.RKKY(sigma=-1e-4,sigma2=0,subregions=['layer2top', 'layer3'], name="rkky_23")
+ mm.UniaxialAnisotropy(K=0.5e6, u=(0, 0, 1), name='OOP_anisotropy') + mm.UniaxialAnisotropy(K=0.5e6, u=(1, 0, 0), name='IP_anisotropy')
)
Metadata
Metadata
Assignees
Labels
bugA bug in UbermagA bug in Ubermaghelp wantedNo resources available - help invitedNo resources available - help invited