Convert USRBIN energy deposition into cartesian coordinates for COMSOL heat transfer study

Hello experts!

I’m interested in modeling heat transfer in solid targets irradiated with proton, deuteron, and alpha beams in COMSOL Multiphysics and I’ve decided to use FLUKA to derive the power density which would be imported into COMSOL as a heat source for my FEA model.

I’m currently trying to make sense of the 10-column EneDep file generated when I do an Ascii conversion so that I may convert it into x,y,z,E which I assume would be easily read by COMSOL and interpolated.

Can anyone explain to me the order of the voxels listed in the 10-column file (I assume it’s E(1,1,1)… E(2,1,1)…? but I am not sure) so that I may write a script to convert it into the format that I need? Or better yet, is there already a way to do this?

I’ve attached the results of a simplified version of my FLUKA model for reference.

Thanks in advance!

FLUKA_forum_question_10_bin.txt (2.9 KB)


Dear Anster,

the format of the ASCII usrbin output is described here:

Cheers,
David

1 Like

Hi David,

this cleared it up for me. Thanks.

Anster