Skip to content

Python scripts to solve the Vlasov-Poisson system using discontinuous Galerkin methods

Notifications You must be signed in to change notification settings

crewsdw/Vlasov1D1V

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This collection of Python codes solves the Vlasov-Poisson system in 1D+1V with high-order accuracy using the Runge-Kutta Discontinuous Galerkin finite element method and CUDA-accelerated libraries for tensor products, namely CuPy.

About:

To read about the theory behind this project and some theoretical studies using it, check out Chapter 3 (Numerical Methods) of this document: Crews PhD General Exam

Use

You'll need a CUDA-compatible GPU and an install of the CuPy library.

To use the scipts: download the files, make a data folder, and adjust the run parameters (resolutions, domain length, etc.) at the beginning of the "main.py" file. To play around with different initial conditions, adjust the eigenvalue parameter "om" (for frequency, omega) during initialization of the distribution function.

About

Python scripts to solve the Vlasov-Poisson system using discontinuous Galerkin methods

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages