Skip to content

Conversation

EyaDammak
Copy link
Contributor

@EyaDammak EyaDammak commented Apr 3, 2025

SUMMARY OF THE PR

If elec.can_laser_injection=1 and gaz.can_laser_ionize=1 in the input script,
-- the function DoLaserInjection() in Hipace.cpp is activated
-- -- The function ConditionInjection() in PlasmaParticleContainer.cpp detects the plasma particles that has been injected and marks the particles detected with an id = 3
-- -- Then, the function PlasmaToBeam() does the transfer of the detected plasma particles to the beam container

  • The condition to detect injected electrons has to be checked.
    For now, it is set at: $\gamma / (1+\psi)$ > max_qsa_weighting_factor

  • The weight of the new beam particle created (from the transfer from a plasma particle) has to be checked too.
    Now, it is set at $w_{beam}=w_{plasma}*dt * \gamma / \psi$ (from the condition $j_{x_{beam}}=j_{x_{plasma}}$ and $(x,y,\zeta)$ --> $(x,y,t)$ )

  • Performance has to be checked too

@EyaDammak EyaDammak force-pushed the injection_bis branch 2 times, most recently from 6593444 to 45f3e60 Compare May 14, 2025 08:09
EyaDammak and others added 5 commits May 14, 2025 10:23
* Resize Beam Diagnostic buffer (Hi-PACE#1227)

* Fix shadow issue in AddGridExternalFields (Hi-PACE#1230)

* Update Ubuntu version of CI tests (Hi-PACE#1232)

* Remove CONDA from CUDA Local CI (Hi-PACE#1236)

* Beam read_from_file also reads spin (Hi-PACE#1172)

Co-authored-by: Alexander Sinn <[email protected]>

* Update physical constants (Hi-PACE#1223)

* Fix laser from file hanging with MPI (Hi-PACE#1235)

* Add Parser Debug Print Utility (Hi-PACE#1238)

* Fix CI with MPI (Hi-PACE#1241)

---------

Co-authored-by: Alexander Sinn <[email protected]>
Co-authored-by: Maxence Thévenet <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: beam About the beam species component: plasma About the plasma species
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants