-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Radiated energy calculations with Urad #790
Labels
Comments
I think this is a question for @MickaelGrechX ? |
I'm surprised. |
Attached are the files needed to recreate the issue I am having. The wire_radiation file is the main script, and the troubleshoot_* files are for analysis in MATLAB. The analysis scripts should recreate the plots shown below, where the blue curve (left) is the total energy in photons based on summing the energies of all photons ever created in the simulation (sorted by ID to avoid double-counts). The red curve (right) is what I get from the scalar.txt file under the column for Urad_eonWire - which is the only species allowed to produce radiation. All other species are not allowed to radiate.
Thanks for the help!
Josh

[scalars.txt](https://github.com/user-attachments/files/18804658/scalars.txt)
[troubleshoot_photon_energy.txt](https://github.com/user-attachments/files/18804680/troubleshoot_photon_energy.txt)
[troubleshoot_scalars.txt](https://github.com/user-attachments/files/18804682/troubleshoot_scalars.txt)
|
Please reply on the github website. Not from your email. Attachments won't work |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
I am using the non-linear Compton model in SMILEI to determine the yield of photon radiation in a laser-plasma interaction. I only have one species (electrons) that are allowed to radiate, and I have been tracking the total radiated energy using the U_rad parameter from the scalar file.
I am finding that this U_rad number is underestimating the actual radiation energy by a significant margin. The discrepancy grows when the total laser energy increases. I get the numbers I expect by manually integrating the photon spectra for each output of photon RAW particles. Manual integration still might lose some photons that are created and lost to simulation walls in-between outputs, but it does set a lower bound for conversion efficiency and is much higher than U_rad suggests. Is there an easy fix for this?
Thanks for the help!
Parameters
The text was updated successfully, but these errors were encountered: