USRBIN fluence is not visible in the geometry tab

Hello dear FLUKA users,

I’m trying to manually modify source parameters (divergence, direction, etc) through source_newgen.f user routine. I followed a corresponding lecture and it worked perfectly for the first time, but than it suddenly refused to visualize fluence (USRBIN) of generated particles. I really made sure that I properly configured a layer for that, but still nothing is visible.
I even tried to re-install flair and created another project (please see files attached), but it’s still not working. I expect to see a photon beam with some divergence I set in my user routine.

What would you suggest to do to fix that problem? Maybe I missed something in the flair setting and can’t see the beam as a result?

Sincerely, Ihor

Input files

source_newgen.f (20.8 KB)
linac.inp (1.9 KB)
linac.flair (4.2 KB)

FLUKA: 4-5.0
Flair: 3.4-3
Operating system: Ubuntu 24.04 LTS (kernel 6.14.0-29-generic)

Dear Ihor,

You need to update your Layer 01 to use the run2/run2_23.bnn instead of run/run_21.bnn to see the particle fluences.

Cheers,
David

1 Like

Hello David,

Thanks for your reply! Please, let me figure out what do you mean by “update” the Layer 01? I changed the Ursbin settings in the Layer 01 configuration. I set the input file to run2/run2_23.bnn (and clicked Apply button). Also I clicked “Refresh display” button on the viewport settings tab. Anything did not help!

Please, have a look at the screenshot below.

Sincerely, Ihor

Dear Ihor,

I’m not sure what is happening in your case, for me the viewports updated automatically.
You could change the displayed layer in the viewport and back, or even save your project and restart Flair.

Cheers,
David

Dear David,

I even tried to re-install flair, but there is no result …
Still, the geometry and beam parameters look to be set properly, because I see some visual output (I added few additional walls and a slit in this version)

linac.flair (5.2 KB)

Cheers,
Ihor

Dear Ihor,

I don’t have any issue visalizing the results with your latest input file either.

Could you check if you also have the problem creating a completely Flair project file?

Another idea is to delete the ~/.config/flair directory, to reset the settings of Flair.

Cheers,
David

1 Like

Dear @horvathd,

It helped! Thank you!
I deleted the ~/.config/flair directory and than reinstall flair via package manager.
Alfter, everything has worked as expected.

Thanks for the advice!

Best regards,
Ihor