Warwick-Plasma / epoch

Particle-in-cell code for plasma physics simulations
https://epochpic.github.io
GNU General Public License v3.0
184 stars 58 forks source link

Ionisation didn't work #535

Open TrumeAAA opened 1 year ago

TrumeAAA commented 1 year ago

Hi, I tried to use Argon gas in my simulation. While the dirve pulse going through the Argon gas, the Argon gas should be ionized. However the gas was not ionized. I tried to find the reason but failed. Here is my input file: input.txt Any suggestions will be helpful! All the best, H. Ai.

TrumeAAA commented 1 year ago

Oh, I am sorry. I forgot to turn on the field ionisation in the control block.

Status-Mirror commented 1 year ago

Hey @TrumeAAA,

You're also using the old method for ionisation in EPOCH, which won't be supported in the latest version. New documentation can be found here. In your example, I would change the proton species block to this:

begin:species
  name = proton        # Minor nitpick: poor name - this species is neutral argon, not a proton
  charge = 0.0
  mass = 1836.2*39.948
  npart_per_cell = 256
  density = density_1 + density_2 + density_3
  atomic_no = 18       # This identifies the species as Argon for ionisation routines
  ionise = T           # Tells the code to ionise this species
  ionisation_electron_species = electron   # Species populated with release electrons
end:species

Cheers, Stuart

TrumeAAA commented 1 year ago

Hi @Status-Mirror Thanks a lot. It helps a lot! Do you mean 4.19.0 by " the latest version " ? By, the way when will " the latest version " be available ?since the latest "release" is now a few bug fixes out of date. Cheers, H. Ai.