Defining boolean geometry within volume of umesh

Hello and thank you for reading my question. :slight_smile:

Versions

FLUKA: 4-5.2
Flair: 3.4-5.3

Description

I import a CAD drawing via the UMESH card, using the new FLUKA_mesh_fix.py to convert and fix the geometry. The resulting geometry looks good. I am interested manly in the proton energy of our beam on a target, for this I would like to do different simulations with different thicknesses of degrader material.
Now I would like to add the degrader material as a normal RCC fluka geometry inside the volume of the umesh, such that I can change the degrader thickness via some scripting and run the simulation many times.
I this possible? how would I do that?

I tried to just add a RCC but the geometry does not render correctly.

Input files

umesh_test.flair (2.5 KB)
umesh_test.inp (1.5 KB)

sadly I cannot upload the mesh file here since it is bigger than 10MB, please use this link if you want to download it: kDrive

Dear @lars.eggimann ,

You are almost there.

Mesh region definition must be changed by adding a new region card with the same name as in UMESH card:

mesh 5 +mesh-disk

Best regards,
Volodymyr

Dear Volodymyr

thank you! It worked like a charm!! :slight_smile: