loganbvh / py-tdgl

2D time-dependent Ginzburg-Landau in Python
MIT License
37 stars 13 forks source link

Pinned Vortex #85

Open eloijunior-py opened 1 month ago

eloijunior-py commented 1 month ago

Hello, firstly, I would like to thank you for the excellent tool you have made available.

I would like to know if it is possible to add pinned vortex to a layer. I made some experimental measurements and observed that it is likely that some vortexes are being pinned when doing a field sweep, that is, at zero field the vortex remains on the device. Is there any way to implement this in this package? Or could you suggest a solution?

I appreciate any help.

loganbvh commented 1 month ago

Hi, sorry for the slow response. Pinning sites can be included either using the disorder_epsilon parameter to create a region with suppressed critical temperature or by creating a small hole in the film. However, it's difficult to ensure that a single vortex will be pinned on a given pinning site (this depends on the applied field distribution and film geometry).

One approach is to use the applied vector potential from a small current loop or magnetic dipole to locally generate a vortex, as demonstrated in this paper: https://arxiv.org/abs/2304.13093. If you do trap a vortex on a pinning site in the simulation, it should remain pinned even if the applied field is turned off. You could then use the solution with a pinned vortex as the seed_solution for another simulation.

eloijunior-py commented 1 month ago

I understand. Thank you!!