Introduction to computational plasma physics

Slides:



Advertisements
Similar presentations
Time averages and ensemble averages
Advertisements

South China University of Technology Oscillator motions Xiaobao Yang Department of Physics
Particle acceleration in a turbulent electric field produced by 3D reconnection Marco Onofri University of Thessaloniki.
Lectures in Plasma Physics
Plasma Astrophysics Chapter 1: Basic Concepts of Plasma Yosuke Mizuno Institute of Astronomy National Tsing-Hua University.
AS 4002 Star Formation & Plasma Astrophysics BACKGROUND: Maxwell’s Equations (mks) H (the magnetic field) and D (the electric displacement) to eliminate.
Meanwhile, somewhere in California. Solar plasma Convection is complicated Temperature is very high Completely or partially ionized gas -> Charges (protons.
Space plasma physics Basic plasma properties and equations Space plasmas, examples and phenomenology Single particle motion and trapped particles Collisions.
Computational Solid State Physics 計算物性学特論 第2回 2.Interaction between atoms and the lattice properties of crystals.
SPACE CHARGE EFFECTS IN PHOTO-INJECTORS Massimo Ferrario INFN-LNF Madison, June 28 - July 2.
Physics of fusion power Lecture 11: Diagnostics / heating.
Effects of Discretization P249 - Fall / /14 Dan Fulton.
Reinisch_ Solar Terrestrial Relations (Cravens, Physics of Solar Systems Plasmas, Cambridge U.P.) Lecture 1- Space Environment –Matter in.
Prof. Reinisch, EEAS / Simple Collision Parameters (1) There are many different types of collisions taking place in a gas. They can be grouped.
Plasma Electrons are free! … A fourth state of matter: Not gas, not liquid, not solid!
Thermal Properties of Crystal Lattices
Numerical Modeling of Plasmas: Magnetic Reconnection Magnetic Explosions Michael Shay University of Maryland
5. Simplified Transport Equations We want to derive two fundamental transport properties, diffusion and viscosity. Unable to handle the 13-moment system.
Viscosity. Average Speed The Maxwell-Boltzmann distribution is a function of the particle speed. The average speed follows from integration.  Spherical.
Physics of fusion power Lecture 2: Lawson criterion / some plasma physics.
Plasma Kinetics around a Dust Grain in an Ion Flow N F Cramer and S V Vladimirov, School of Physics, University of Sydney, S A Maiorov, General Physics.
Ultracold Plasmas ( Zafar Yasin). Outline - Creation and why considered important? - Characterization. - Modeling. -My Past Research. - Current Research.
1 Fundamentals of Plasma Simulation (I) 核融合基礎学(プラズマ・核融合基礎学) 李継全(准教授) / 岸本泰明(教授) / 今寺賢志( D1 ) — Lecture One ( ) Part one: Basic.
Physics of fusion power Lecture 7: particle motion.
Physics of Fusion power Lecture4 : Quasi-neutrality Force on the plasma.
PLASMA SHERIN WAEL D.ISAM AL-ASHQER. What is plasma? (from Greek πλάσμα, is one of the four fundamental states of matter. It comprises the major component.
Physical analogies between solar chromosphere and earth’s ionosphere Hiroaki Isobe (Kyoto University) Acknowledgements: Y. Miyoshi, Y. Ogawa and participants.
Computational Solid State Physics 計算物性学特論 第9回 9. Transport properties I: Diffusive transport.
Chapter 5 Diffusion and resistivity
EECE695: Computer Simulation (2005) Particle-in-Cell Techniques HyunChul Kim and J.K. Lee Plasma Application Modeling Group, POSTECH References: Minicourse.
Collisions and transport phenomena Collisions in partly and fully ionized plasmas Typical collision parameters Conductivity and transport coefficients.
Computational Astrophysics: Magnetic Fields and Plasma Astrophysics 10-nov-2008.
ACKNOWLEDGMENTS This research was supported by the National Science Foundation of China (NSFC) under grants , , , the Specialized.
Example: 1D PIC code for Two- Stream Plasma Instability.
Specific Heat of Solids Quantum Size Effect on the Specific Heat Electrical and Thermal Conductivities of Solids Thermoelectricity Classical Size Effect.
The Geometry of Biomolecular Solvation 2. Electrostatics Patrice Koehl Computer Science and Genome Center
Complex Plasmas as a Model for the Quark-Gluon-Plasma Liquid
Plasmas. The “Fourth State” of the Matter The matter in “ordinary” conditions presents itself in three fundamental states of aggregation: solid, liquid.
The propagation of a microwave in an atmospheric pressure plasma layer: 1 and 2 dimensional numerical solutions Conference on Computation Physics-2006.
Physics MSL Preparation North Pitt Science Department.
Molecular Modelling - Lecture 2 Techniques for Conformational Sampling Uses CHARMM force field Written in C++
Lecture 3. Full statistical description of the system of N particles is given by the many particle distribution function: in the phase space of 6N dimensions.
Waves in Plasma Very short course.
Theory of dilute electrolyte solutions and ionized gases
An Estimation of Critical Electron Density at Just Starting Breakdown in Gases Mase. H Professor Emeritus of Ibaraki University.
Warp LBNL Warp suite of simulation codes: developed to study high current ion beams (heavy-ion driven inertial confinement fusion). High.
By: Kristin Maxey Period 4
Computational Astrophysics: Magnetic Fields and Charged Particle Dynamics 8-dec-2008.
Lecture 3. INTRODUCTION TO PLASMA PHYSICS
Introduction to Plasma Physics and Plasma-based Acceleration
Introduction to Plasma Physics and Plasma-based Acceleration
低杂波加热的射线追踪以及全 波解模拟 杨程 等离子体所五室. OUTLINE 理论以及数值模拟方法介绍 1 )射线追踪( GENRAY ) 2 )全波解( TORLH ) 两种方法对一个物理问题 —— 低杂波的 spectral gap 的研究和比较.
Electrostatic Double Layer in Dusty Plasma. Department of Physics, Kohat University of Science and Technology.
Introduction to Plasma Physics and Plasma-based Acceleration
Computational Methods for Kinetic Processes in Plasma Physics
Computational Methods for Kinetic Processes in Plasma Physics
An overview of turbulent transport in tokamaks
University of California, Los Angeles
Physics of fusion power
Introduction to Plasma Physics and Plasma-based Acceleration
Computational Methods for Kinetic Processes in Plasma Physics
Chapter 3 Plasma as fluids
Velocity Distribution and Temperature
Nonequilibrium statistical mechanics of electrons in a diode
Ionosphere, Magnetosphere and Thermosphere Anthea Coster
Kinetic Theory.
ESS 154/200C Lecture 19 Waves in Plasmas 2
Physics of fusion power
LECTURE II: ELEMENTARY PROCESSES IN IONIZED GASES
Presentation transcript:

Introduction to computational plasma physics 雷奕安 62755208,yalei@pku.edu.cn

课程概况 http://www.phy.pku.edu.cn/~fusion/forum/viewtopic.php?t=77 上机 成绩评定为期末大作业

Related disciplines Computation fluid dynamics (CFD) Applied mathematics, PDE, ODE Computational algorithms Programming language, C, Fortran Parallel programming, OpenMP, MPI Plasma physics, space, fusion, … Unix, Linux, …

大规模数值模拟的特殊性 数值计算 数值模拟 大规模数值模拟 数学问题 算法 编程 物理问题 数学模型 算法编程 物理问题及数学模型 相关学科研究人员支持 超级计算机软硬件系统

Contents What is plasma Basic properties of plasma Plasma simulation challenges Simulation principles

What is plasma Partially ionized gas, quasi-neutral Widely existed Fire, lightning, ionosphere, polar aurora Stars, solar wind, interplanetary (stellar, galactic) medium, accretion disc, nebula Lamps, neon signs, ozone generator, fusion energy, electric arc, laser-material interaction Basic properties Density, degree of ionization, temperature, conductivity, quasi-neutrality magnetization

Plasma vs gas Property Gas Plasma Conductivity Very low, insulator Very high, conductor Species Usually one At least two, ion, electron Distribution Usually Maxwellian Usually non-Maxwellian Interaction Binary, short range Collective, long range

Basic properties Temperature Quasi-neutrality Thermal speed Plasma frequency Plasma period

Debye length λD U→0 System size and time Debye shielding

Debye lengths

Plasma parameter Strong coupling Weak coupling

Weakly coupled plasmas

Collision frequency Mean-free-path Collisional plasma (Collisionless) Collisioning frequency

Magnetized plasma Anisotropic Gyroradius Gyrofrequency Magnetization parameter Plasma beta

Simulation challenges Problem size: 1014 ~ 1024 particles Debye sphere size: 102 ~ 106 particles Time steps: 104 ~ 106 Point particle, computational unstable, sigularities

Solution No details, essence of the plasma One or two dimension to reduce the size No high frequency phenomenon, increase time step length Reduce ND, mi / me Smoothing particle charge, clouds Fluidal approaches, single or double Kinetic approaches, df/f

Simple Simulation Electrostatic 1 dimensional simulation, ES1 Self and applied electrostatic field Applied magnetic field Couple with both theory and experiment, and complementing them

Basic model

Basic model

Basic model Field -> force -> motion -> field -> … Field: Maxwell's equations Force: Newton-Lorentz equations Discretized time and space Finite size particle Beware of nonphysical effects

Computational cycle

Equation of motion vi, pi, trajectory Integration method, fastest and least storage Runge-Kutta Leap-frog [ylei@head cp]$ cat b.f90 program abc !implicit double precision (a-h,o-z) x0 = 1 vx0 = 0 y0 = 0 vy0 = 1 !dt = 0.05 read (*,*) dt N = 30/dt do i = 0, N+3 x1 = x0 + vx0*dt y1 = y0 + vy0*dt r = sqrt(x0*x0 + y0*y0) fx = -x0/r**3 fy = -y0/r**3 vx1 = vx0 + fx*dt vy1 = vy0 + fy*dt ! if(mod(i,N/10).eq.2) write(*,*) x0, y0, -1/r+(vx0*vx0+vy0*vy0)/2 x0 = x1; y0 = y1; vx0 = vx1; vy0 = vy1 enddo end [ylei@head cp]$ cat c.f90 N = 50/dt xh0 = (x0+x1)/2; yh0 = (y0+y1)/2 do i = 0, N xh1 = xh0+vx0*dt; yh1 = yh0 + vy0*dt; r = sqrt(xh0*xh0 + yh0 *yh0 ) fx = -xh1/r**3 fy = -yh1/r**3 ! if(mod(i,N/100).eq.0) write(*,*) xh0, yh0, -1/r+(vx0*vx0+vy0*vy0)/2 xh0 = xh1; yh0 = yh1; vx0 = vx1; vy0 = vy1

Planet Problem Forward differencing x0 = 1; vx0 = 0; y0 = 0; vy0 = 1 read (*,*) dt N = 30/dt do i = 0, N+3 x1 = x0 + vx0*dt y1 = y0 + vy0*dt r = sqrt(x0*x0 + y0*y0) fx = -x0/r**3 fy = -y0/r**3 vx1 = vx0 + fx*dt vy1 = vy0 + fy*dt ! if(mod(i,N/10).eq.2) write(*,*) x0, y0, -1/r+(vx0*vx0+vy0*vy0)/2 x0 = x1; y0 = y1; vx0 = vx1; vy0 = vy1 enddo end Forward differencing

Planet Problem ./a.out > data 0.1 $ gnuplot Gnuplot> plot “data” u 1:2

Planet Problem ./a.out > data 0.01 $ gnuplot Gnuplot> plot “data” u 1:2

Planet Problem Leap Frog x0 = 1; vx0 = 0; y0 = 0; vy0 = 1 read (*,*) dt N = 30/dt x1 = x0 + vx0*dt y1 = y0 + vy0*dt xh0 = (x0+x1)/2; yh0 = (y0+y1)/2 do i = 0, N xh1 = xh0+vx0*dt; yh1 = yh0 + vy0*dt; r = sqrt(xh0*xh0 + yh0 *yh0 ) fx = -xh1/r**3 fy = -yh1/r**3 vx1 = vx0 + fx*dt vy1 = vy0 + fy*dt ! if(mod(i,N/100).eq.0) write(*,*) xh0, yh0, -1/r+(vx0*vx0+vy0*vy0)/2 xh0 = xh1; yh0 = yh1; vx0 = vx1; vy0 = vy1 enddo end Leap Frog

Planet Problem ./a.out > data 0.1 $ gnuplot Gnuplot> plot “data” u 1:2

Planet Problem ./a.out > data 0.01 $ gnuplot Gnuplot> plot “data” u 1:2

Field equations Poisson’s equation

Field equations Poisson’s equation is solvable In periodic boundary conditions, fast Fourier transform (FFT) is used, filtering the high frequency part (smoothing), is easy to calculate

Particle and force weighting Particle positions are continuous, but fields and charge density are not, interpolating Zero-order weighting First-order weighting, cloud-in-cell

Higher order weighting Quadratic or cubic splines, rounds of roughness, reduces noise, more computation

Initial values Number of particles and cells Weighting method Initial distribution and perturbation The simplest case: perturbed cold plasma, with fixed ions. Warm plasma, set velocities

Initial values

Diagnostics Graphical snapshots of the history x, v, r, f, E, etc. Not all ti For particle quantities, phase space, velocity space, density in velocity For grid quantities, charge density, potential, electrical field, electrostatic energy distribution in k space

Tests Compare with theory and experiment, with answer known Change nonphysical initial values (NP, NG, Dt, Dx, …) Simple test problems

Server connection Ssh Host: 162.105.23.110, protocol: ssh2 Your username & password Vnc connection In ssh shell: “vncserver”, input vnc passwd, remember xwindow number Tightvnc: 162.105.23.110:xx (the xwindow number) Kill vncserver: “vncserver –kill :xx” (x-win no.)

Xes1 Xes1 document Xgrafix already compiled in /usr/local Xes1 makefile make ./xes1 -i inp/ee.inp LIBDIRS = -L/usr/local/lib -L/usr/lib -L/usr/X11R6/lib64

Clients Ssh putty.exe Vncviewer http://www.phy.pku.edu.cn/~lei/vncviewer.exe Pscp: http://www.phy.pku.edu.cn/~lei/pscp.exe