-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a rigid strain example #61
base: dev
Are you sure you want to change the base?
Conversation
examples/rigid_strain.py
Outdated
magnet.rigid_shear_strain.add_time_term(shear_strain_t_sin, mask=shear_strain_xyz_sin) | ||
|
||
# Create a domain wall | ||
magnet.magnetization = twodomain((1,0,0), (0,-1,0), (-1,0,0), nx*cx/2, 10*cx) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The magnetization should first relax before running, no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It takes a long time :(
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And the domain wall tends to move fully to the side if placed too close to a boundary :/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The system should relax before setting the strain (since at t = 0s
the strain is non-zero). This should not take long...
Perhaps use "squash and merge" for this branch instead of simply merging. |
This example is based on the simulation and experiment they did in Mechanism to transfer linear momentum from a Surface Acoustic Wave to a Magnetic Domain Wall.
Its a ferromagnet with a domain wall and by applying a time and space dependent strain (representing a SAW) coming from the right, the wall moves towards the left.
The example shows the initial and final magnetization and also shows a plot of the DW position (estimated by a linear interpolation using the average magnetization) in function of time.