From: Marco Mauri (Marco.Mauri@cern.ch)
Date: Wed Nov 07 2007 - 09:15:39 CET
Hi Jaisen!
Using your PLOTGEOM card I get this error in the .log file:
-------------------------------------------------
open: No such file or directory
apparent state: unit 5 named PLG.GFXINDAT
-------------------------------------------------
I've solved the problem changing WHAT(6) as follows:
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7...=
.+...
PLOTGEOM 1.0 1.0 0.0 0.0 0.0 =
FORMAT
Vertical section of Example Detector
-10.0 -10.0 196.0 10.0 10.0 204.0
0.0 1.0 0.0 1.0 0.0 0.0
1.0 1.0 0.0
I've tried it and it seems to work. It's ok even if you set =
WHAT(6)=3D0.0
Marco
-----Original Message-----
From: Jiasen Ma [mailto:jsma@uchicago.edu]
Sent: Tue 11/6/2007 4:32 PM
To: Marco Mauri; fluka-discuss@fluka.org
Subject: RE: plotgeom
=20
Hello Marco,
Thanks a lot for your reply.=20
I changed the PLOTGEOM card to:
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7...=
.+...
PLOTGEOM 1.0 1.0 0.0 0.0 0.0=20
5. FORMAT
Vertical section of Example Detector
-10.0 -10.0 196.0 10.0 10.0 204.0
0.0 1.0 0.0 1.0 0.0 0.0
1.0 1.0 0.0
But FLUKA still crashes. Do I need some extra packages to have
plotgeom work?
Meanwhile I also trying to get flair to work.
Thanks again,
Jiasen
---- Original message ----
>Date: Tue, 6 Nov 2007 10:12:08 +0100
>From: "Marco Mauri" <Marco.Mauri@cern.ch> =20
>Subject: RE: plotgeom =20
>To: "Jiasen Ma" <jsma@uchicago.edu>, <fluka-discuss@fluka.org>
>
>Hello Jiasen!
>I think you have a crash because in your input file X0=3DX1=3D0
(x coordinates of the corners of the picture), but at the same
time :
>TYX,TYY,TYZ =3D 1, 0, 0
>So, the extension of the plot in y is zero!
>
>As a suggestion: for plotting (but not only:)) flair could be
very useful.
>
>Marco
>
>
>
>
>-----Original Message-----
>From: owner-fluka-discuss@mi.infn.it on behalf of Jiasen Ma
>Sent: Mon 11/5/2007 4:18 PM
>To: fluka-discuss@fluka.org
>Subject: plotgeom
>
>Hello,
>
>I am trying to get a visual image of the detectors that I
>described in the .inp file. I tested the .inp file and it worked.
>After I insert the PLOTGEOM command imediately after
>GEOEND or after material assignment(I followed a example in
>the manual to use PLOTGEOM), the code won't run. Fluka gives
>out message as:
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D Running FLUKA for cycle # 1
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>./rfluka: line 321: 12583 Aborted (core
>dumped) ${EXE} <$INPN 2>$LOGF >$LOGF
>Can anyone help me on using PLOTGEOM?
>
>Thanks,
>Jiasen
>
>
>Here is my input card:
>TITLE
>Particle production from 12-GeV (KE) protons on a Pt target
>*...+....1....+....2....+....3....+....4....+....5....+....6.
>...+....7....+....8
>GLOBAL 1.0
>DEFAULTS =20
> PRECISION
>SOURCE 1.0 1.0 13.0 =20
> pt13_
>BEAM 15.0 =20
> NEUTRON
>PHYSICS 1000. 1000. 1000. 1000. 1000.=20
> 1000. PEATHRESH
>*EMF =20
> OFF
>*LOW-BIAS 1.0
>*LOW-MAT 26.0 74. -2. 293. =20
> TUNGSTEN
>*LAM-BIAS 1.0E+10 13. 16.
> 1.GDECAY
>*
>GEOBEGIN =20
> COMBINAT
> 0 0 A simple Pt target inside vacuum
>SPH BlakHole 0.0 0.0 0.0 3000.0
>SPH World 0.0 0.0 0.0 1000.0
>RCC CC02 0.0 0.0 195.0 0.0 0.0 10.0 20.0
>RCC CV 0.0 0.0 699.7 0.0 0.0 0.6 90.0
>RCC Vacuum 0.0 0.0 195.0 0.0 0.0 10.0 6.0
>RCC CVspt 0.0 0.0 699.7 0.0 0.0 0.6 6.0
>END
>R1bh 2 +BlakHole -World
>R2World 2 +World -CC02 -CV
>R3CC02 2 +CC02 -Vacuum
>R4CV 2 +CV -CVspt
>R5Vacuum 2 +Vacuum
>R6CVspt 2 +CVspt
>END
>GEOEND
>
>*...+....1....+....2....+....3....+....4....+....5....+....6.
>...+....7....+....8
>MATERIAL 0.0 0.0 1.032 26.0 =20
> SCINT
>COMPOUND 11.0 3.0 10.0 6.0 =20
> SCINT
>*
>ASSIGNMAT 1.0 1.0
>ASSIGNMAT 2.0 2.0 5.0
>ASSIGNMAT 17.0 3.0
>ASSIGNMAT 23.0 6.0
>ASSIGNMAT 26.0 4.0
>*...+....1....+....2....+....3....+....4....+....5....+....6.
>...+....7....+...
>PLOTGEOM 1.0 1.0 0.0 0.0 0.0
> 5. FORMAT
> Vertical section of Example Detector
> 0.0 -80.0 100.0 0.0 80.0 710.0
> 1.0 0.0 0.0 0.0 1.0 0.0
> 1.0 1.0 0.0
>STOP
>*...+....1....+....2....+....3....+....4....+....5....+....6.
>...+....7....+....8
>* e+e- and gamma production threshold set at 10 MeV
>*EMFCUT -0.010 0.010 1.0 12.0 =20
> PROD-CUT
>* Boundary crossing current in the middle of the target (log
>intervals, one-way)
>USRBDX 1.0 201.0 47.0 4.0 2.0
> 1. CurrUD
>USRBDX +15.0 +15.0 0.0
> &
>USRBDX 1.0 201.0 47.0 6.0 2.0
> 1. CurrUD
>USRBDX +15.0 +15.0 0.0
> &
>* Call MGDRAW
>USERDUMP 101.0 2. =20
> prod
>*...+....1....+....2....+....3....+....4....+....5....+....6.
>...+....7....+....8
>RANDOMIZE 1.0 128352042.
>*...+....1....+....2....+....3....+....4....+....5....+....6.
>...+....7....+....8
>START 20.0
>STOP
>
>
>
>
>
>
This archive was generated by hypermail 2.1.6 : Wed Nov 07 2007 - 10:03:53 CET