Project 2b: Electromagnetic waves interacting with plasmas of different densities
Before anything else, we need to change to the stored notebook's directory, which contains input files for the PIC simulator.
cd /notebooks/light-wave-vacuum-into-plasma
In this project you will study what happens when an electromagnetic wave is sent into an unmagnetized plasma. It will illustrate the concepts of cutoffs, reflection, skin depths, and phase and group velocity.
You will simulate plasmas in which each plasma electron is initialized with positions (only in x, or what we call ) such that the plasma has a nonuniform density profile. In some cases, the density is zero until a specific , at which time it rises sharply to a value of . It then remains at this value until , which is the edge of the simulation window. In other cases, the density is zero until , at which time is rises to a value of between and . It then remains constant until (the edge of the simulation window).
The spacing between the electrons is proportional to the inverse of the density. Each electron is also initialized with velocities ( , , ) = ( , , ) or momentum ( , , ) from a Maxwellian in each direction. The particles then begin to move in the self-consistent fields that their current and charge density produce.
At , an electromagnetic (EM) wave polarized in the direction with a pulse duration of is launched by an antenna from the left hand boundary. The peak amplitude is . In the first example, the EM wave has a frequency of , while in the later examples it has a frequency of .
1. First:
The following lines must always be executed before running anything else:
import osiris as osiris %matplotlib inline
2. Launching Project 2b
In the first cases the density will rise sharply:
- The length of the simulation window is 70 .
- There is no plasma between and .
- For , the density is and the corresponding plasma frequency is .
- The simulation will run for a time of about 150 .
- The simulation uses 56,000 particles.
In one case while in a second case .
dirname = 'wall' osiris.runosiris(rundir=dirname,inputfile='wall.txt')
dirname = 'wall-over' osiris.runosiris(rundir=dirname,inputfile='wall-over.txt')
In the second group of cases, the density will rise linearly (proportionally to ):
- The length of the simulation window is 70 .
- There is no plasma between and .
- The plasma rises linearly from to to a value and the corresponding plasma frequency is .
- The simulation will run for a time of about 150 .
- The simulation uses 56,000 particles.
In one case while in a second case .
dirname = 'grad' osiris.runosiris(rundir=dirname,inputfile='grad.txt')
dirname = 'grad-over' osiris.runosiris(rundir=dirname,inputfile='grad-over.txt')
3. Light wave incident on a very sharp density gradient
dirname = 'wall' osiris.phasespace(rundir=dirname,dataset='x1',time=0,xlim=[0,70])
Next, you will be plotting , where the color corresponds to the amplitude of the EM wave.
In the first case the density rises sharply and .
dirname = 'wall' osiris.plot_tx(rundir=dirname, plot_or=3, xlim=[0,70], tlim=[0,150], vmin=-0.01,vmax=0.01, cmap='jet', show_cutoff=True)
- What happened?
- Is the EM wave reflected, absorbed, or transmitted?
dirname = 'wall' osiris.plot_tx(rundir=dirname, plot_or=3, xlim=[27,33], tlim=[0,150], vmin=-0.01,vmax=0.01, cmap='jet', show_cutoff=True)
- Try to interpert this plot in terms of page 121 in the notes.
4. Light wave traveling up a density gradient
Next, the density rises linearly and .
dirname = 'grad' osiris.phasespace(rundir=dirname,dataset='x1',time=0,xlim=[0,70])
dirname = 'grad' osiris.plot_tx(rundir=dirname, b0_mag=0.0, plot_or=3, xlim=[0,70], tlim=[0,160], vmin=-0.01,vmax=0.01, cmap='jet', show_cutoff=True)
- What looks different in this case?
- Is the EM wave reflected and absorbed?
- At what density does it get absorbed, reflected, or transmitted?
- Can you measure the phase velocity and group velocity where it is reflected?
- Do the phase and group velocity change as the wave moves up the density gradient?
- Is this all consistent with the dispersion relation?
5. Light waves with frequency above the electron plasma frequency
For the next two cases .
In the first case, the density rises sharply and .
dirname = 'wall-over' osiris.phasespace(rundir=dirname,dataset='x1',time=0,xlim=[0,70])
dirname = 'wall-over' osiris.plot_tx(rundir=dirname, plot_or=3, xlim=[0,70], tlim=[0,160], vmin=-0.02,vmax=0.02, cmap='jet', show_cutoff=True)
- What happened in this case?
- Is the EM wave reflected and/or transmitted?
- How do the phase and group velocity change as the EM wave reaches the peak density?
In the second case the density rises linearly and .
dirname = 'grad-over' osiris.phasespace(rundir=dirname,dataset='x1',time=0,xlim=[0,70])
dirname = 'grad-over' osiris.plot_tx(rundir=dirname, b0_mag=0.0, plot_or=3, xlim=[0,70], tlim=[0,160], vmin=-0.02,vmax=0.02, cmap='jet', show_cutoff=True)
- What happened in this case?
- Is the EM wave reflected or transmitted?
- How do the phase and group velocity change as the EM propagates up the density gradient and reaches the peak density?
- Estimate the phase and group velocity at the peak density, does it agree with the dispersion relation?