[Paper Review] SuperScreen: An open-source package for simulating the magnetic response of two-dimensional superconducting devices
SuperScreen is an open-source Python package that simulates the magnetic response of two-dimensional superconducting thin films using the 2D London equation with an efficient matrix inversion method. It calculates Meissner screening currents and magnetic fields for arbitrary geometries and penetration depths, enabling accurate modeling of inductance, flux screening, and SQUID-like responses with high accuracy and user-friendly design for experimental validation.
Quantitative understanding of the spatial distribution of magnetic fields and Meissner screening currents in two-dimensional (2D) superconductors and mesoscopic thin film superconducting devices is critical to interpreting the results of magnetic measurements of such systems. Here, we introduce SuperScreen, an open-source Python package for simulating the response of 2D superconductors to trapped flux and applied time-independent or quasi-DC magnetic fields for any value of the effective magnetic penetration depth, $\Lambda$. Given an applied magnetic field, SuperScreen solves the 2D London equation using an efficient matrix inversion method to obtain the Meissner currents and magnetic fields in and around structures composed of one or more superconducting thin films of arbitrary geometry. SuperScreen can be used to model screening effects and calculate self- and mutual-inductance in thin film superconducting devices.
Motivation & Objective
- To provide a user-friendly, open-source tool for simulating magnetic screening in 2D superconducting thin films.
- To overcome limitations of existing closed-source or low-level tools for modeling superconducting devices.
- To enable accurate simulation of Meissner currents, magnetic fields, and inductance in mesoscopic superconducting structures.
- To support experimental interpretation by modeling screening effects under applied and trapped flux.
- To facilitate high-precision simulations with customizable mesh resolution and parallelization for complex multi-layer devices.
Proposed method
- Solves the 2D London equation using a matrix inversion method based on the Brandt-Clem formalism.
- Models superconducting films as current-carrying sheets with thickness-integrated current density J(x, y) related to the stream function g via J = −∇× (gẑ).
- Uses the integral equation H_z = Λ∇²g + H_z,applied to relate the applied field to the screening field via the dipole kernel functions Qz.
- Employs a Galerkin finite element method with triangular meshes to discretize the stream function and compute the magnetic field at arbitrary points.
- Implements iterative matrix inversion with caching of kernel matrices for multi-layer systems to improve performance.
- Supports parallel computation via multiprocessing or Ray for solving multiple device configurations simultaneously.
Experimental results
Research questions
- RQ1How accurately can SuperScreen simulate the magnetic field distribution and screening currents in 2D superconducting thin films with arbitrary geometry and penetration depth?
- RQ2What is the performance and memory scaling behavior of SuperScreen for multi-layer superconducting devices with closely spaced films?
- RQ3How does the mesh resolution affect the accuracy of mutual inductance and field calculations in thin-film superconducting devices?
- RQ4To what extent can SuperScreen reproduce analytical solutions and experimental results for SQUID-like sensors and flux traps?
- RQ5Can SuperScreen be efficiently scaled to large-scale simulations using shared-memory parallelization and mixed-precision floating-point arithmetic?
Key findings
- SuperScreen accurately reproduces analytical solutions for magnetic field distributions in circular and rectangular superconducting films, with deviations below 1% for well-resolved meshes.
- The package correctly models mutual inductance in SQUID-like devices, with errors arising only when vertical spacing δz is smaller than mesh spacing δr, which can be mitigated by increasing mesh density.
- For multi-layer structures, the memory footprint of kernel matrices scales approximately as ⟨δr⟩⁻⁴, making high-resolution simulations memory-intensive.
- Using 32-bit single-precision floats instead of 64-bit doubles reduces memory usage by up to 50% with minimal impact on solution accuracy.
- Parallelization via Ray or multiprocessing enables efficient batch simulation of multiple device configurations, with shared-memory architecture minimizing data duplication.
- The tool successfully models complex screening effects in mesoscopic superconducting devices, including vortex pinning and flux trapping, as validated against experimental data.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.