Owen Medeiros

TDGL Simulation

A physics simulation tool implementing the Time-Dependent Ginzburg–Landau (TDGL) equations for studying superconducting materials and flux dynamics in type-II superconductors.

TDGL vortex dynamics simulation

TDGL order parameter and magnetic field time evolution
Time evolution of a type-II superconductor under a 0.6 mT applied field in the z-direction, turned off at t=65. Top: 2D color map of the order parameter. Bottom: 2D color map of the z-component of the magnetic field.

Overview

This project implements a numerical solver for the Time-Dependent Ginzburg–Landau equations, enabling detailed study of superconducting vortex dynamics, flux penetration, and magnetic field effects. The simulation provides insights into the fundamental physics of superconductivity and practical applications in superconducting device design.

Getting started

Installation

git clone https://github.com/omedeiro/tdgl.git
cd tdgl
pip install -r requirements.txt

Basic simulation

import numpy as np
from tdgl_solver import TDGLSolver

# Initialize simulation parameters
params = {
    'alpha': -1.0,
    'beta': 1.0,
    'gamma': 1.0,
    'grid_size': (128, 128),
    'dt': 0.01
}

# Create solver instance
solver = TDGLSolver(params)

# Run simulation
results = solver.evolve(time_steps=1000)

# Visualize results
solver.plot_order_parameter()
solver.animate_vortex_dynamics()

Source

github.com/omedeiro/simulation6336