Skip navigation
Please use this identifier to cite or link to this item: http://arks.princeton.edu/ark:/88435/dsp018k71nm46m
Title: Differentiable Programming for Computational Plasma Physics
Authors: McGreivy, Nicholas Bradley
Advisors: Hakim, Ammar H
Contributors: Astrophysical Sciences—Plasma Physics Program Department
Keywords: Automatic differentiation
Machine learning
Partial differential equations
PDE
Plasma physics
Stellarator optimization
Subjects: Plasma physics
Computational physics
Computer science
Issue Date: 2024
Publisher: Princeton, NJ : Princeton University
Abstract: Differentiable programming allows for derivatives of functions implemented via computer code to be calculated automatically. These derivatives are calculated using automatic differentiation (AD). This thesis explores two applications of differentiable programming to computational plasma physics. First, we consider how differentiable programming can be used to simplify and improve stellarator optimization. We introduce a stellarator coil design code (FOCUSADD) that uses gradient-based optimization to produce stellarator coils with finite build. Because we use reverse mode AD, which can compute gradients of scalar functions with the same computational complexity as the function, FOCUSADD is simple, flexible, and efficient. We then discuss two additional applications of AD in stellarator optimization: finding non-axisymmetric magnetic fields that satisfy magnetohydrodynamic (MHD) equilibrium, and optimizing those magnetic fields subject to MHD equilibrium. Second, we explore how machine learning (ML) can be used to improve or replace the numerical methods used to solve partial differential equations (PDEs), focusing on time-dependent PDEs in fluid mechanics relevant to plasma physics. Differentiable programming allows neural networks and other techniques from ML to be embedded within numerical methods. This is a promising, but relatively new, research area. We focus on two basic questions. First, can we design ML-based PDE solvers that have the same guarantees of conservation, stability, and positivity that standard numerical methods do? The answer is yes; we introduce error-correcting algorithms that preserve invariants of time-dependent PDEs. Second, which types of ML-based solvers work best at solving PDEs? We perform a systematic review of the scientific literature on solving PDEs with ML. Unfortunately, we discover two issues, weak baselines and reporting biases, that affect the interpretation reproducibility of a significant majority of published research. We conclude that using ML to solve PDEs is not as promising as we initially believed.
URI: http://arks.princeton.edu/ark:/88435/dsp018k71nm46m
Type of Material: Academic dissertations (Ph.D.)
Language: en
Appears in Collections:Plasma Physics

Files in This Item:
File Description SizeFormat 
McGreivy_princeton_0181D_15014.pdf10.01 MBAdobe PDFView/Download


Items in Dataspace are protected by copyright, with all rights reserved, unless otherwise indicated.