Skip to content
View Alisama20's full-sized avatar
  • University of Granada
  • Spain

Highlights

  • Pro

Block or report Alisama20

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
Alisama20/README.md

Hi, I'm Ali 👋

MSc in Physics & Mathematics · University of Granada, Spain

 


About me

I am a physics and mathematics student with a strong interest in computational methods for physical systems. My main research areas are:

🔵  Computational Electromagnetics — integral equation methods, scattering, wave propagation
🟢  Monte Carlo Methods — stochastic simulation, diffusion MC, particle-in-cell
🔴  Numerical Methods in general — spectral methods, finite differences, integrators, FFT

I enjoy working at the intersection of mathematical rigour and physical intuition, building solvers from scratch and comparing them with theoretical predictions.


🛠 Tools


📂 Projects

⚡ Collisionless Plasma · Vlasov–Maxwell

Collisionless-Plasma-Vlasov-Maxwell

Semi-Lagrangian schemes and Particle-in-Cell (PIC) Monte Carlo for the 1D Vlasov–Maxwell system. Simulates Weibel (electromagnetic) and two-stream (electrostatic) plasma instabilities. Implements Strang splitting with cubic Catmull–Rom interpolation and FFT-based Poisson solver.


Two-stream instability: exponential growth of the electric field and electrostatic energy

🌐 Computational Electromagnetics · Method of Moments


Radar cross section of a 2D PEC cylinder — MFIE vs analytical solution

MoM-electromagnetic-scattering

Method of Moments implementation of EFIE and MFIE for electromagnetic scattering by PEC bodies. Solves 2D cylinder (pulse and triangular basis) and 3D sphere (RWG basis functions). Validated against analytical Mie series.


🎲 Quantum Monte Carlo · Harmonic Bosons

Diffusion-Monte-Carlo-for-harmonic-bosons

Diffusion Monte Carlo (DMC) simulation of $N$ interacting bosons in a 1D harmonic trap. Implements both pure DMC and importance-sampling DMC with a Jastrow trial wave function. Demonstrates $1/N$ convergence of the ground-state energy.


Ground-state energy distribution for N=100 bosons — importance-sampling DMC

🌊 Quantum Dynamics · Time-Dependent Schrödinger Equation


Gaussian wave packet scattering off a rectangular barrier

Crank-Nicolson-TDSE

Cayley (Crank–Nicolson) integrator for the 1D time-dependent Schrödinger equation. Exact norm conservation, transmission coefficient $T(\lambda)$ vs analytical formula, and Monte Carlo quantum measurement simulation.


📐 Spectral Methods · Helmholtz Equation

Chebyshev-Spectral-Galerkin-Helmholtz

Chebyshev spectral–Galerkin discretisation of the 2D Helmholtz equation. Includes full theoretical derivation of the weak formulation, construction of basis functions satisfying Dirichlet BCs, Kronecker-product matrix assembly, and exponential convergence study.


Exponential (spectral) convergence of the Chebyshev–Galerkin method

🌌 N-body Dynamics · Molecular & Planetary


Protoplanetary disk formation via inelastic collisions — N-body simulation

Verlet-algorithm-applied-to-molecular-and-planetary-dynamics

Velocity-Verlet N-body integrator (Numba-accelerated) for the Solar System, planet-formation via inelastic collisions, and 2D Lennard-Jones molecular dynamics. Tracks energy conservation, radial distribution function, and temperature equilibration.


🔬 Quantum Transport · Nanoelectronics

Quantum-transport-nanoelectronics

Quantum transport simulation in 1D nanostructures: particle-in-a-box, double-well potential, and ballistic MOSFET I–V characteristics. Solves the Schrödinger equation self-consistently with quantum confinement effects and computes conductance vs gate voltage.


MOSFET I–V family of curves with quantum confinement

🪐 Celestial Mechanics · Restricted Three-Body Problem


Spacecraft escape trajectory in the Earth–Moon rotating frame

Earth-Moon-Spacecraft-restricted-three-body

Numerical integration of the circular restricted three-body problem (CR3BP) in the Earth–Moon system. Explores Lagrange points, Jacobi integral conservation, spacecraft transfer orbits, and chaotic meteorite trajectories.


📈 Critical Phenomena & Cooperative Systems

Critical-and-Cooperative-Phenomena-Simulations

Monte Carlo simulations of critical phenomena: KPZ universality class, scaling collapse, and wetting dynamics. Extracts critical exponents via finite-size scaling and validates against theoretical predictions of the KPZ universality class.


Interface width variance vs time — KPZ universality class (RDSR model)

🎲 FFT & Quantum Physics


Quantum harmonic oscillator ground state via imaginary-time FFT propagation

FFT-and-quantum-physics

Self-contained recursive and iterative FFT implementations validated against analytical DFTs and NumPy. Applied to the quantum harmonic oscillator via FFT-based split-operator imaginary-time propagation. Includes performance benchmarks.


🧬 Stochastic Evolutionary Game Theory

Stochastic-Evolutionary-Game-Theory

Monte Carlo simulation of evolutionary dynamics in finite populations. Computes fixation probabilities and fixation times for different game-theoretic payoff matrices, comparing stochastic results with analytical predictions from the Moran process.


Fixation probability vs initial frequency — Monte Carlo vs analytical Moran process

📡 MOSFET 1/f Noise · McWhorter Model

MOSFET-1f-Noise-Characterization

Experimental characterization of 1/f (flicker) noise in a MOSFET using an HP 35670A FFT spectrum analyzer. Extracts oxide trap density $N_T(E_f)$ from drain current noise spectra via the McWhorter model, with and without mobility correlation. Includes transfer curve analysis and 1/f spectral fitting across 21 bias points.


Drain current noise spectra S_Id(f) for 20 gate bias points showing 1/f behaviour

🧲 FRAM Cell · Landau-Khalatnikov Model


Full FRAM operation: Write → Wait → Read — voltage, polarisation and current readout

FRAM-Ferroelectric-Memory-Simulation

Numerical simulation of a ferroelectric RAM (FRAM) cell based on HfO₂ using the Landau-Devonshire free energy and Landau-Khalatnikov polarisation dynamics. Simulates the P-E hysteresis loop, Write → Wait → Read operation, and the ferroelectric phase transition P_r(T) near the Curie temperature.


🔴 Ising Model · Monte Carlo


Typical spin configurations of the 2D Ising model at six temperatures spanning the phase transition

Ising-Model-Monte-Carlo

Monte Carlo simulation of the 2D Ising model with Metropolis and Glauber dynamics. Validates observables against exact analytical solutions (J = 0) and the Onsager exact solution (J ≠ 0). Tracks the ferromagnetic phase transition at $T_c \approx 2.269$. Numba JIT-compiled and parallelised.


📡 FDTD · Perfectly Matched Layers


FDTD 2D: PML absorbs the wave (top) vs PEC reflections (bottom) at six time steps

FDTD-PML-Absorbing-Boundary-Conditions

FDTD solvers for the 1D and 2D electromagnetic wave equations with Perfectly Matched Layer (PML) absorbing boundary conditions. Implements the Gedney polynomial conductivity profile with correct staggered-grid treatment and full 2D corner handling (σ = σ_x + σ_y). Validates reflection against theoretical $R_0$ vs PML width and resolution. Numba-accelerated.


🧠 Complex Networks · Neural, Social & Ecological

Complex-Networks-Dynamics

Three themes of dynamics on complex networks. Neural networks: McCulloch–Pitts logic gates, Hodgkin–Huxley conductance-based neuron (full 4D and reduced 2D), FitzHugh–Nagumo excitability, Tsodyks–Markram dynamic synapses, and Hopfield attractor memory with finite-temperature phase transition at T_c = 1. Social dynamics: voter model on Watts–Strogatz and Barabási–Albert networks, Abrams–Strogatz language competition. Ecological networks: niche model of food webs, trophic coherence, and May stability criterion.


Hopfield attractor network: overlap m(T) vs temperature showing phase transition at T_c = 1

⚛️ Path Integral Monte Carlo · Quantum Mechanics

Path-Integral-Monte-Carlo

Lattice Monte Carlo simulation of quantum mechanics in Euclidean (imaginary) time, following Creutz & Freedman (1981). Computes ground-state wavefunctions, energy levels, effective potentials, and instanton kink configurations in the double-well potential. Validated against Blankenbecler-DeGrand-Sugar benchmark. Numba JIT-compiled.


Single instanton kink: Metropolis path transitioning between double-well minima vs analytical tanh solution

🖥️ MOSFET TCAD · 180 nm Drift-Diffusion Simulation


ID–VD output curves for V_G = 0.3, 0.6, 0.9, 1.2 V — triode and saturation regions

MOSFET-TCAD-Sentaurus

2D TCAD drift-diffusion simulation of a 180 nm n-channel MOSFET (Synopsys Sentaurus). Generates full I–V characterisation (ID–VG, ID–VD), extracts V_T, SS, g_m, I_ON/I_OFF, DIBL, and optimises the gate metal work function across four variants to maximise I_ON/I_OFF.


📊 GitHub Stats

 


University of Granada · Faculty of Sciences · Academic Year 2025/2026

Pinned Loading

  1. Diffusion-Monte-Carlo-for-harmonic-bosons Diffusion-Monte-Carlo-for-harmonic-bosons Public

    Diffusion Monte Carlo simulation of interacting bosons in a harmonic trap with and without importance sampling. Python implementation.

    Python

  2. MoM-electromagnetic-scattering MoM-electromagnetic-scattering Public

    Method of Moments (EFIE/MFIE) for electromagnetic scattering by PEC cylinder (2D) and sphere (3D) — FD-MoM with pulse, triangular and RWG basis functions

    Python 1

  3. Collisionless-Plasma-Vlasov-Maxwell Collisionless-Plasma-Vlasov-Maxwell Public

    High-order numerical simulation of collisionless plasma dynamics: semi-Lagrangian schemes and Particle-in-Cell (PIC) Monte Carlo for the Vlasov-Maxwell system

    Python 1

  4. Earth-Moon-Spacecraft-or-Meteorite-restricted-three-body-problem Earth-Moon-Spacecraft-or-Meteorite-restricted-three-body-problem Public

    Numerical integration of the CR3BP in the Earth-Moon system: Lagrange points, Jacobi integral, spacecraft transfer orbits, and chaotic meteorite trajectories

    Python

  5. FDTD-PML-Absorbing-Boundary-Conditions FDTD-PML-Absorbing-Boundary-Conditions Public

    FDTD solver with Perfectly Matched Layer (PML) absorbing boundary conditions in 1D and 2D. Polynomial conductivity profile, staggered-grid discretisation, convergence study vs width and resolution.

    Python 1