[fluka-discuss]: USERDUMP and random numbers

From: Christian Buhl Sorensen <christian.buhl.soerensen_at_cern.ch>
Date: Wed, 12 Mar 2014 13:28:38 +0000

Hello there!

I am trying to work out, how to extract the eventfile from FLUKA.
I've got fluka running, and I've been able to simulate simple geometries, and it yields sensible results. So I've got that going for me, which is nice.
Furthermore, I'd like to get the particle trajectories, to get a feeling of the propagation of particles in materials.

The setup I have is very simple, it's just an electron beam of 500MeV, impinging from vacuum, into a cylinder of air. And I'd like to see the secondary particle showers, and also how much the primary particles spread out. For that I've found that I should use the USERDUMP-card. In flair, it is set up as Type:Dump, Unit:50, File:test, What:[empty], Score:All and Dump:[empty].

My plan is from hereon, to get that information and use SimpleGeo, with PIPSICAD, to visualize the particle trajectories.

---My problem:
When I run the simulation, it stops, with the following in the Output-terminal:

[begin]

Dir: /home/cb/w3
Cmd: /usr/local/fluka/flutil/rfluka -e /home/cb/w3/piflu -M 5 test
$TARGET_MACHINE = Linux
$FLUPRO = /usr/local/fluka

Initial seed already existing
Running fluka in /home/cb/w3/fluka_3479

============== Running FLUKA for cycle # 1 ================

Removing links
Removing temporary files
Saving output and random number seed
                No rantest002 generated!
Saving additional files generated
                No additional files to move
ERROR: Random seed '/home/cb/w3/rantest002' do not exist!

[end]



I also get an error message in the folders (test-001.err):
*** Old dump file is obsolete and no longer implemented ***.



I hope you will take your time to look this through - And thank you very much, in advance.

Kindly, Christian Buhl Sørensen.





========= Other information ===========

---My system:
I use FLUKA(v2011.2b.5) with flair (1.2-4), on a virtual machine(Virtualbox) running 32 bit Fedora 20. I have installed the compatibility package for the g77, namely compat-gcc-34-g77 (this might be a hint for others, unless it's a wrong thing to do, I struggled quite a bit with finding that). I expect the compiler to be fine, as it compiles the mgdraw, and links it to a executable without problems.

---My inputfile:
TITLE
test
* Set the defaults for precision simulations
DEFAULTS PRECISIO
* Define the beam characteristics
BEAM -0.5 -0.1 -0.1 ELECTRON
* Define the beam position
BEAMPOS 0.0 0.0 -10.
GEOBEGIN COMBNAME
    0 0
* Black body
SPH blkbody 0.0 0.0 0.0 300.0
* Void sphere
SPH void 0.0 0.0 0.0 100.0
* Cylindrical target
RCC target 0.0 0.0 0.0 0.0 0.0 10.0 5.0
END
* Black hole
BLKBODY 5 +blkbody -void
* Void around
VOID 5 +void -target
* Target
TARGET 5 +target
END
GEOEND
* ..+....1....+....2....+....3....+....4....+....5....+....6....+....7..
ASSIGNMA BLCKHOLE BLKBODY
ASSIGNMA VACUUM VOID
ASSIGNMA AIR TARGET
USERDUMP 50. 0.0 test
* Set the number of primary histories to be simulated in the run
START 100.
STOP
Received on Wed Mar 12 2014 - 15:37:21 CET

This archive was generated by hypermail 2.3.0 : Wed Mar 12 2014 - 15:37:21 CET