Re: [fluka-discuss]: Optical boundaries

From: Andrea Fontana <andrea.fontana_at_pv.infn.it>
Date: Fri, 24 Feb 2017 22:48:02 +0100

Hello Viktor,
     I have tested your method for generating secondary optical photons
with an arbitrary spectrum with the WVLNSH user routine: in essence,
if I understand correctly, you propose to mimick a wavelength shifter
to generate optical photons with a given spectrum in a material.

This might work, but I feel this is not the intended use for the
routine and I see at least 2 limitations that might take you
into trouble:

- you are limited to a maximum of 10 secondary photons, given
   by the sizeof the relevant arrays used internally
   by FLUKA. So you do not gain much compared to the 3 lines
   allowed by the standard Fluka interface;

- you have to take care of the energy conservation by hand:
   for example, you have to make sure that the total energy of the
   secondaries does not exceed the energy of the primary photon.
   If this condition occurs ( SECONDARY E > INITIAL E ), Fluka will
   abort the run.

Hope this helps,
Andrea


Il 21/02/2017 22:31, Віктор Родін ha scritto:
> Dear Andrea,
> I found a way how to reproduce more than 3 monochromatic photons. It
> looks strange and I'm not sure it's correct but I have spectrum of
> more than 3 lines. I've done it with help of the WVLNSH routine. Also
> I have strange values in USRTRACK on Y axis but it's not scary.
> Output file gives me normal number of the created photons. Could you
> comment this method?I've attached my inp file and WVLNSH routine.
> Best regards,
> Viktor
>
> 2017-02-21 15:34 GMT+02:00 Andrea Fontana <andrea.fontana_at_pv.infn.it
> <mailto:andrea.fontana_at_pv.infn.it>>:
>
> Hi Viktor,
> for scintillation light in FLUKA, for the moment, only
> monochromatic
> photons are considered, with a maximum of 3 different lines.
>
> Optical photons are treated differently from the high energy
> photons and
> from the other particles: for example it is not possible to use
> them as
> primary particles nor it is possible to define them in a source.f
> routine and assign their energy.
>
> However, you can perhaps try a non-standard source_opt.f routine,
> as suggested in this old message in the forum:
>
> http://www.fluka.org/web_archive/earchive/new-fluka-discuss/3272.html
> <http://www.fluka.org/web_archive/earchive/new-fluka-discuss/3272.html>
>
> This might suit your needs.
>
> Cheers,
> Andrea
>
>
> Il 21/02/2017 13:43, Віктор Родін ha scritto:
>
> Dear Andrea,
> Thank you for reply. I understand that we use OPT routines
> when wavelenth is varied. I have another question related to
> the production of photons . Is it possible to set the
> scintillation spectrum in FLUKA?The simplest way is setting of
> huge number of OPT-PROD cards with different % of dose for
> each energy. Do we have another way?
> Cheers,
> Viktor
>
> 2017-02-21 8:17 GMT+02:00 Andrea Fontana
> <andrea.fontana_at_pv.infn.it <mailto:andrea.fontana_at_pv.infn.it>
> <mailto:andrea.fontana_at_pv.infn.it
> <mailto:andrea.fontana_at_pv.infn.it>>>:
>
>
> Dear Viktor,
> indeed data cards for optical photons allow to define the
> optical
> properties in materials and at boundaries only for specific
> frequencies, as you say, while user routines are more
> general and
> allow
> to give a more complete representation of the physical
> problem.
>
> For example, the refraction index can be defined with the
> OPT-PROP
> card for the central frequency that one has defined, but
> for an
> extended
> dispersion relation, one can use the routine RFRNDX
> implementing a
> function or interpolating a data array.
> The refraction index can also be varied with a
> region-based logic
> using
> the function OPHBDX. The same applies also to the other
> optical
> properties like absorption and diffusion coefficients.
>
> For a complete example, if you have not found it already,
> you can refer to this message by Giuseppe:
>
> http://www.fluka.org/web_archive/earchive/new-fluka-discuss/7106.html
> <http://www.fluka.org/web_archive/earchive/new-fluka-discuss/7106.html>
>
> <http://www.fluka.org/web_archive/earchive/new-fluka-discuss/7106.html
> <http://www.fluka.org/web_archive/earchive/new-fluka-discuss/7106.html>>
>
> It well complements the information from the manual.
> Hope this helps.
>
> Kind regards,
> Andrea
>
>
> Il 18/02/2017 16:47, Віктор Родін ha scritto:
>
> Dear FLUKA users and experts,
> I'm working with optical photons in FLUKA and discover new
> details for myself in the process. Now I have a question
> connected with physics of the optical boundaries. Is it
> enough set reflectivity, absorption, diffusion and
> refractive coefficients in the OPT-PROP card for
> receiving of the truthful results in the region
> borders ?For what goals
> should we use OPT-routines, for example OPHBDX? I
> think that
> other OPT routines we use if wavelength isn't
> constant. Is it
> true?Could you explain me difference?
> Best regards,
> Viktor
>
>
> --
> ========================================================================
> Dr. Andrea Fontana tel: +39 0382 987991
> <tel:%2B39%200382%20987991>
> <tel:%2B39%200382%20987991>
> Istituto Nazionale fax: +39 0382 423241
> <tel:%2B39%200382%20423241>
> <tel:%2B39%200382%20423241>
> di Fisica Nucleare
> Sezione di Pavia e-mail:
> andrea.fontana_at_pv.infn.it <mailto:andrea.fontana_at_pv.infn.it>
> <mailto:andrea.fontana_at_pv.infn.it
> <mailto:andrea.fontana_at_pv.infn.it>>
> Via Bassi 6 web :
> www.pv.infn.it/~fontana <http://www.pv.infn.it/%7Efontana>
> <http://www.pv.infn.it/%7Efontana
> <http://www.pv.infn.it/%7Efontana>>
> 27100 PAVIA, Italy
>
> ========================================================================
>
>
>
> --
> ========================================================================
> Dr. Andrea Fontana tel: +39 0382 987991
> <tel:%2B39%200382%20987991>
> Istituto Nazionale fax: +39 0382 423241
> <tel:%2B39%200382%20423241>
> di Fisica Nucleare
> Sezione di Pavia e-mail:
> andrea.fontana_at_pv.infn.it <mailto:andrea.fontana_at_pv.infn.it>
> Via Bassi 6 web :
> www.pv.infn.it/~fontana <http://www.pv.infn.it/%7Efontana>
> 27100 PAVIA, Italy
> ========================================================================
>
>

-- 
========================================================================
Dr. Andrea Fontana                    tel: +39 0382 987991
Istituto Nazionale                    fax: +39 0382 423241
di Fisica Nucleare
Sezione di Pavia                      e-mail: andrea.fontana_at_pv.infn.it
Via Bassi 6                           web   : www.pv.infn.it/~fontana
27100 PAVIA, Italy
========================================================================
__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Sat Feb 25 2017 - 00:04:18 CET

This archive was generated by hypermail 2.3.0 : Sat Feb 25 2017 - 00:04:20 CET