Mathematica codes for Geometric Aharonov–Bohm phase effect around a black hole
Author
Kaushlendra Kumar, Shahn Majid
Title
Mathematica codes for Geometric Aharonov–Bohm phase effect around a black hole
Description
The notebook and supporting numerical data provides codes for Figures used in the paper titled "Geometric Aharonov–Bohm phase effect around a black hole" that will soon be available on arXiv.
Category
Academic Articles & Supplements
Keywords
Noncommutative geometry, black-hole, Aharonov--Bohm effect, geodesic flow
URL
http://www.notebookarchive.org/2026-05-c16632a/
DOI
https://notebookarchive.org/2026-05-c16632a
Date Added
2026-05-26
Date Last Modified
2026-05-26
File Size
7.77 megabytes
Supplements
Rights
CC BY 4.0

The notebook and supporting numerical data provides codes for Figures used in the paper titled “Geometric Aharonov–Bohm phase effect around a black hole” available on arXiv at https://arxiv.org/abs/2605.28582.
Mathematica codes for Geometric Aharonov–Bohm phase effect around a black hole
Mathematica codes for Geometric Aharonov–Bohm phase effect around a black hole
Kaushlendra Kumar
Shahn Majid
Shahn Majid
(*Importantcomputationalnote:Thefullcalculationisexpensive.Therearethreeseparateheavystages:1.SolvingthegeodesicvelocityfieldX(s,U,V,theta).ThisusesNDSolvewithMethodOfLinesinsandFiniteElementsin(U,V,theta),withMaxCellMeasure->0.005.2.Solvingtheamplitude-flowequationforpsi.Wesolveseparatelyforpsi0,psiK2,psiK4,psi02=psi0+psiK2,andpsi04=psi0+psiK4.Theserunsarealsoexpensive.3.Post-processing:Thecentroidtrajectory,directphaseextraction,andespeciallytheUV-integratedRbarprofilesrequiremanynumericalintegrations.Forconvenience,theexpensiveoutputsarestoredin.wlfilesandloadedbelow.Thegenerationcodeisincludedforreproducibility,butuserswhoonlywanttoreproducethepaperplotsshouldloadtheprecomputedfiles.*)
(*Dataloading/asignmentsforreadyplottingbelowwithoutusingcodesthataretoocomputationallyexpensive*)<<"transportPhases_res005.wl";<<"rbarTableK2_res005.wl";<<"rbarTableK4_res005.wl";<<"solPsiK0_res005.wl";<<"solPsiK2_res005.wl";<<"solPsiK4_res005.wl";transportData=Get["transportPhases_res005.wl"];trajK0=transportData["centroidK0"];predPhase02=transportData["predPhaseK2"];predPhase04=transportData["predPhaseK4"];directPhaseK2=transportData["directPhaseK2"];directPhaseK4=transportData["directPhaseK4"];phaseLinearityRatio=transportData["kLinearity"];rbar02=Get["rbarTableK2_res005.wl"];rbar04=Get["rbarTableK4_res005.wl"];
(*parameters*)umin=-4;umax=-0.1;vmin=0.1;vmax=6;thmin=0;thmax=Pi;thSafe=0.05;smax=0.3;res=0.005;σ=0.15;u0=-3;v0=3;th0=0.57;
Kruskal-Szekeres plot
Kruskal-Szekeres plot
velocity field X(U,V,θ)
velocity field X(U,V,θ)
solution
solution
plots
plots
vorticity check
vorticity check
amplitude ψ(U,V,θ)
amplitude ψ(U,V,θ)
coarse-grid sampled X
coarse-grid sampled X
various ψ solutions
various ψ solutions
plots
plots
Phase analysis
Phase analysis
Codes
Codes
Centroid trajectory
Centroid trajectory
Direct phase comparison
Direct phase comparison
Rbar data: filtering, fitting & phase
Rbar data: filtering, fitting & phase
Cite this as: Kaushlendra Kumar, Shahn Majid, "Mathematica codes for Geometric Aharonov–Bohm phase effect around a black hole" from the Notebook Archive (2026), https://notebookarchive.org/2026-05-c16632a
Download
