Skip to content

STT coupling - #91

Draft
jackieyao0114 wants to merge 22 commits into
AMReX-Microelectronics:developmentfrom
jackieyao0114:STT
Draft

jackieyao0114 wants to merge 22 commits into
AMReX-Microelectronics:developmentfrom
jackieyao0114:STT

Conversation

@jackieyao0114

Copy link
Copy Markdown
Member

No description provided.

jackieyao0114 and others added 22 commits July 20, 2023 00:26
The file still contained <<<<<<< / ======= / >>>>>>> markers from a merge,
which stops the code from compiling. Keep the upstream side (the HEAD side
only added a commented-out printf), so the two versions are functionally
identical.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EJTSSZYebAAxreM2H6anyV
Slonczewski spin-transfer torque (STT) for spin valves and magnetic tunnel
junctions, written as two effective fields that are added to H_eff:

    H_STT_DL = a_J (m x p)    damping-like torque
    H_STT_TL = b_J  p         field-like torque

with a_J = beta*epsilon, b_J = beta*epsilon', beta = hbar J / (mu0 e Ms d)
and epsilon = P Lambda^2 / ((Lambda^2+1) + (Lambda^2-1) m.p), which is the
convention of OOMMF (Oxs_SpinXferEvolve) and MuMax3. p is the direction of
the fixed-layer magnetization and J the current density.

- STT_DL_coupling and STT_TL_coupling switch the two terms on and off
  independently. Both default to 0, so existing inputs behave as before.
- New inputs, required only when a term is on: J_STT_parser(x,y,z,t),
  timedependent_J_STT, STT_polarization_axis, STT_free_layer_thickness,
  STT_polarization (DL), STT_epsilon_prime (TL). Optional: STT_Lambda,
  plot_STT_DL, plot_STT_TL, fast_STT, implicit_STT.
- CalculateH_STT (new EffectiveSTTField.cpp) and ComputeJ_STT are
  MFIter + ParallelFor GPU kernels like the other effective fields.
- The fields enter every time integrator: forward Euler,
  predictor-corrector, EvolveM_2nd, and the AMReX/SUNDIALS integrators
  including the MRI fast and IMEX implicit partitions. A time-dependent
  current is evaluated at the same time levels as H_bias.
- Plotfiles gain Hx/Hy/Hz_STT_DL and Hx/Hy/Hz_STT_TL.
- precession = 0 together with STT aborts: relaxation without the M x H
  term is not defined for a torque that is not derived from an energy.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EJTSSZYebAAxreM2H6anyV
- Exec/STT_inputs/inputs_STT_MTJ: STT switching of a perpendicular
  CoFeB(1 nm)/MgO(1 nm)/CoFeB(1 nm) magnetic tunnel junction, a 40 nm
  pillar on 1 nm cells. The MgO barrier is the Ms = 0 layer between the
  reference and free layers. A 1.5 ns, 2e11 A/m^2 pulse switches the free
  layer from antiparallel to parallel in about 1.2 ns. STT_DL_coupling and
  STT_TL_coupling toggle the two STT terms.
- Exec/regression_inputs/inputs_STT_macrospin: uniform block with only the
  two STT fields, which has a closed-form solution; the file tabulates the
  expected magnetization at four times.
- Exec/README: describe both inputs.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EJTSSZYebAAxreM2H6anyV
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants