Problem when exporting to phits from fluka

Versions

Please provide the used software versions.

FLUKA: 4-5.1
Flair: 3.4-5.2
Operating system: Windows 10
Compiler:

Description

Greetings,

Please an issue.

I imported a geometry into flair from the python script for converting .step files. Now I want to export the input file to phits. However, I am getting an error: “ Exception: MCNP: unknown FLUKA body type UMESH“

What could be the solution for exporting from fluka to phits when there is umesh card?

I stay tuned, thanks.

Input files

Please upload all relevant files. (FLUKA input file, Flair project file, user routines, and data files)

Hi @luisnuclear

the conversion of UMESH to Phits is not implemented yet in flair.
You would need to do it manually.
FLUKA and Phits accept both the tetgen mesh format (and the Nastran in the future). So if you convert your step file to tetgen format you will be able to import it into Phits using the tfile command on the CELLs. Then you would need to create one cell/lattice per each organ in the tetgen.
The development version of flair is able to display the tfile command from Phits, but no do automatically the conversion.

Vasilis