Repository navigation
STT coupling - #91
Draft
jackieyao0114 wants to merge 22 commits into
Draft
STT coupling#91jackieyao0114 wants to merge 22 commits into
jackieyao0114 wants to merge 22 commits into
Conversation
…and total energy calculations
…e will be reached within ~1000000 steps
…th larger time step
…into development
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.