Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Release rays with wavelengths from interpolated spectrum

Please login with a confirmed email address before reporting spam

Hello,

I am currently trying to simulate how rays propagate in a certain medium. Specifically, in a scintillator with a given emission spectrum. Since, I have the emission spectrum given, I wanted to uniformally release rays with different wavelengths sampled from the emission spectrum. However, I have only found the wavelength release options for polychromatic releases to be "None", "Uniform", "Lognormal" and "List of Values". As far as I understand it none of these samples the wavelength randomly from a custom function.

Is there any possibility I can implement what I described?

Cheers

PS: The "List of values" function always takes the same wavelengths for each release which I don't want.


0 Replies Last Post 22 apr 2021, 08:47 GMT-4
COMSOL Moderator

Hello Paul Wegmann

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.