RE: Problem in running 12.2.4 example for optical photons

From: Joachim Vollaire <joachim.vollaire_at_cern.ch>
Date: Sun, 3 Jul 2011 15:41:55 +0000

Dear Georgios,

1. I had a quick look at the example you are referring to in the manual. I
think the example was run in an earlier FLUKA version with less default
material defined (now there are 26).=20
If you change the index number it is working fine (I guess you override
the other one if they have the same name....) :

MATERIAL 18.0 39.948 1.400 26.0 ARGON

2.
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+
ASSIGNMAT 1.0 1.0 500. 1.0 0.0
The . after 500 must be removed, due to alignment issue otherwise...

3. I found the routine in usermvax : rfrndx.f .... copy it from there and
build your executable with your photons source and material property routine....
Note that you can also passed material properties for optical photon
transport via the OPT-PROP card. The choice of the card or assignment via
the user routines is dependent of your problem....

4. Usual scoring option and post processing tools can be used....

Hope this help

Cheers
Joachim

-----Original Message-----
From: owner-fluka-discuss_at_mi.infn.it [mailto:owner-fluka-discuss_at_mi.infn.it] On Behalf Of Georgios Tsiledakis
Sent: 20 June 2011 16:50
To: fluka-discuss_at_fluka.org
Subject: Problem in running 12.2.4 example for optical photons

--_000_4B4F352F7E5E9B46927B537D44FB98A20626C0CERNXCHG31cernch_
Content-Type: text/plain; charset=3D"windows-1256"
Content-Transfer-Encoding: quoted-printable

Dear experts,

I have installed the latest current version of FLUKA. I would like to study
optical photons and scintillation light following the example 12.2.4 of
the manual
concerning liquid Argon that I named optical.inp.

When I run it $FLUPRO/flutil/rfluka optical
I got a FLUKA abort
   *** The 4th field 0 of the following input card ***
  ASSIGNMAT 18.0 2.0 2.0
   *** does not contain a valid formatted fortran real number!!! ***
   *** It is ambiguous and it could be read differently on different
compilers ***
  *** depending whether it defaults or not to the blank=3D3D0 formatted
input rule ***

then I overwrite ASSIGNMAT 1.0 1.0 500. 1.0=20
   0.0
      with ASSIGNMAT 1.0 1.0 10.0=20
1.0 0.0

and the complain now is:

  Materials n. 18 (ARGON ) and n. 20(ARGON ) share the same name
in a (possibly) name based input
  Execution terminated.

My questions are the following:

1) Is any mistake somewhere? Can I run it as I did?

2) The routine Rfrndx of 12.2.2 is not in the uservax directory... so
shall I place it there and try
      to link it with the executable as we can do with the source.f? Is
it compulsory to use it?

3) Concerning physics... How I could simply count the number of produced
initial optical photons in the example and calculate the
fraction of them that hit one side of the rectangle box? Can this be
done with the USRBDX card and the normal FLUKA tools to read the
produced output file?

Thank you very much in advance

best regards

Georgios
Received on Sun Jul 03 2011 - 19:46:33 CEST

This archive was generated by hypermail 2.2.0 : Sun Jul 03 2011 - 19:46:33 CEST