Pinhole and X-ray diffraction

Dear FLUKA experts,
I am trying to simulate X-ray pinhole camera. Could you please tell me whether FLUKA can simulate the diffraction produced by X-ray passing through the pinhole? Or do I need to set something else?

Thank you so much for your attention.

Zong

Dear Shunhui Zong,

FLUKA assumes all materials to be homogeneous and isotropic (meaning the orientation of the beam does not matter). One special exception is with the CRYSTAL card, but it only applies to charged hadron beams. If you mean diffraction by a coherent beam of X-rays, again FLUKA cannot be useful as it merely provides scoring based on averages of single-particle histories.

Dear Benoit Lefebvre,

My .inp file is shown below. As you said, I tried to simulate the diffraction by a coherent beam of X-rays and I didn’t see the diffraction on the detector. But I’m not sure if I set it up correctly.

Thank you so much for your attention.

Zong

diffraction_test.inp (2.7 KB)

Dear Shunhui Zong,

I am afraid you cannot do that with FLUKA. You should consider another simulation software, probably one that can handle deterministic simulations of electromagnetic fields, which FLUKA is not.

Dear Benoit Lefebvre,

Thank you so much for your clear answer!

Zong