Long-Term Simulation and Secondary Emission Effects in SPIS

I have a few questions about SPIS parameters.

(1) These days, I am trying to shorten the simulation time. I usually set the duration to 0.01 s, and the minimum runtime time is ~260 s when I use the following parameters:

  • popDuration ~10^(-8) s
  • plasmaDt ~10^(-7) s
  • plasmaDuration ~10^(-7) s

My final goal is to increase the simulation duration to one day, as I would like to observe long-term effects and analyze results under a solar scenario. Could you please advise how I should set these parameters to achieve this? I would really appreciate any suggestions for improving the runtime!

(2) When I first ran a simulation in SPIS, I set the electronSecondaryEmission/photoEmission parameter to ‘1’. However, when I change these value to ‘3’, I noticed completely different results. According to the manual, the electronSecondaryEmission/photoEmission are defined as follows:

[electronSecondaryEmission]
Bits go by groups of 3 :

  • bit 0: turn on secondary emission under electron impact (if 1),
  • bit 1: simulate secondary electron dynamics by PIC model (if 1),
  • bit 2 = model secondary emission form secondary electrons (“hoping”)

[photoEmission]

  • if 0, no photo-emission
  • if 1, photo-emission is turned on with the sun direction defined below (from sun vector (sunX…), no shading for now)
  • if 3, photo-emission is turned on with the sun direction defined below (from sun vector (sunX…)) and photo-electron dynamics is modelled (PIC)

Could you explain the physical meaning and differences between setting electronSecondaryEmission/photoEmission to ‘1’ and ‘3’? I would appreciate any help in understanding these simulation results.

I’m new in SPIS, but on my experience, 260 sec of runtime for 0.01 sec of simulation time is already very decent result.

If you have a thruster in your simulation, try to decrease densification factors in GroupEditor for some/all species and check if the result of the simulation will be the same.

Runtime will probably improve, but it’s important to get almost the same solution as before, with original (more precise) densification factors.

Sincerely,
Egor