Re: [fluka-discuss]: USRBDX with lattice geometry

From: Paola Sala <paola.sala_at_mi.infn.it>
Date: Mon, 28 Aug 2017 12:32:10 +0200

Dear Federico
the problem is in the geometry.
The 2450 (! see later..) cells are all overlapping with the VOID region,
because they are not subtracted from it. The container (lattice) regons
have to be subtracted, otherwise the code cannot know wether the particle
is in the VOID or in one of the lattices.

Here maybe some doubt about the use of lattices. Do you plan to further
segment the single 2x2mm pixel? If not, why do you need to define a
lattice based on single simple regions? What is the advantage with respect
to define 2550 regions if you have to define 2500 lattices?

In your case (but maybe I do not understand well), a possible idea would
be to repeat a single row, only 50 times (50 lattices). Your "base unit
would be the row that you already defined. Then, one could create 50
"container" regions having the dimensions of one row (2mmx10cm)
positioned as the rows to be repeated, havin nothing inside, just
containers. These will have to be subtracted from the VOID. The lattic.f
would simply translate from one row to the "master" row, where the code is
then able to see and select the 50 pixels.

Hope this helps
Paola

> Dear FLUKA experts,
>
> I wrote a geometry using lattice source file, trying to define a detector
> made of 50x50 regions. I defined 50 of them (only one row of the array)
> that will be the elementary cell (prototypes) for each of the other rows.
>
> I would like to use the USRBDX card to count photons entering each of the
> regions of the cell (such as an imaging detector) discriminating in
> energy,
> solid angle, or maybe both variables.
>
> At first, I thought that using the USRBDX card in one of the elementary
> cells will be enough for FLUKA to understand that I want to calculate that
> quantity in every other lattice cell related to the corresponding
> elementary cell, but that is not true.
>
> The lattice card makes the correct matching of other properties, for
> example materials, thresholds, etc, but is there any way that it
> automatically understands USRBDX?
>
> Should I define a USRBDX card for each region of the cell? (there will be
> 2500 USRBDX cards!)
>
> I attach the input, geometry and lattice source files.
>
> Thank you in advance!
>
> ------------------------------------------------------------------------
> Geser, Federico Alejandro
> Lic. in Physics
>
> Doctoral Fellowship - IFEG-CONICET
> FAMAF-UNC
>
> Office 232 - Laboratory 448
>
> http://liifamirx.famaf.unc.edu.ar/members/geser/
>
> ------------------------------------------------------------------------
>


Paola Sala
INFN Milano
tel. Milano +39-0250317374
tel. CERN +41-227679148

__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Mon Aug 28 2017 - 13:30:57 CEST

This archive was generated by hypermail 2.3.0 : Mon Aug 28 2017 - 13:30:58 CEST