Error when running simple FLUKA code

Hello FLUKA experts!
I am a bloody beginner using FLUKA and have just started 2 days ago. The manual is very helpful in explaining how things are done. However even my simple example will not work and I have no idea what I am doing wrong. What I want to do is have a 3.2GeV electron beam imping on a tungsten target. However when I run my example02.inp file with rfluka, it gives me the following error:

ITYPE = P does not equal any of the following:
ARB SPH RCC REC TRC ELL BOX WED RPP ZCC ZEC XYP XZP YZP PLA XCC XEC YCC YEC QUA END

It seems that the RPP I use for my geometry is not read in correctly. If I indent the RPP by two spaces (as is done in the simple example in the manual) I get a similar error except that it does not recognise ‘D’ as a geometry preset.
I really do not know what I am doing wrong, though I think it is a very simple error here.

I would be really glad if anyone could help me!
Thanks in advance :slight_smile:

Here is the simple code I wrote:
example02.inp (1.2 KB)

Dear Laney,

for beginners, it is very advantageous to use the Flair graphical user interface for FLUKA, available at https://flair.cern/

Also, you may want to review the material of the last FLUKA.CERN beginner course:

Cheers,
David

Dear David,
Thanks for the quick reply! I will check out the beginner course. Thank you.
Cheers Laney