[WIP] Complete version for ionization injection#1226
Open
EyaDammak wants to merge 224 commits intoHi-PACE:developmentfrom
Open
[WIP] Complete version for ionization injection#1226EyaDammak wants to merge 224 commits intoHi-PACE:developmentfrom
EyaDammak wants to merge 224 commits intoHi-PACE:developmentfrom
Conversation
6593444 to
45f3e60
Compare
* 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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SUMMARY OF THE PR
If
elec.can_laser_injection=1andgaz.can_laser_ionize=1in the input script,-- the function
DoLaserInjection()inHipace.cppis activated-- -- The function
ConditionInjection()inPlasmaParticleContainer.cppdetects 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 containerThe condition to detect injected electrons has to be checked.$\gamma / (1+\psi)$ > max_qsa_weighting_factor
For now, it is set at:
The weight of the new beam particle created (from the transfer from a plasma particle) has to be checked too.$w_{beam}=w_{plasma}*dt * \gamma / \psi$ (from the condition $j_{x_{beam}}=j_{x_{plasma}}$ and $(x,y,\zeta)$ --> $(x,y,t)$ )
Now, it is set at
Performance has to be checked too