RE: plotgeom

From: Jiasen Ma (jsma@uchicago.edu)
Date: Tue Nov 06 2007 - 16:32:55 CET

  • Next message: Vasilis Vlachoudis: "Re: geometry setup for yield calcuation."

    Hello Marco,

    Thanks a lot for your reply.
    I changed the PLOTGEOM card to:

    *...+....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
         -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>
    >Subject: RE: plotgeom
    >To: "Jiasen Ma" <jsma@uchicago.edu>, <fluka-discuss@fluka.org>
    >
    >Hello Jiasen!
    >I think you have a crash because in your input file X0=X1=0
    (x coordinates of the corners of the picture), but at the same
    time :
    >TYX,TYY,TYZ = 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:
    >================================ Running FLUKA for cycle # 1
    >=============================================
    >./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
    > PRECISION
    >SOURCE 1.0 1.0 13.0
    > pt13_
    >BEAM 15.0
    > NEUTRON
    >PHYSICS 1000. 1000. 1000. 1000. 1000.
    > 1000. PEATHRESH
    >*EMF
    > OFF
    >*LOW-BIAS 1.0
    >*LOW-MAT 26.0 74. -2. 293.
    > TUNGSTEN
    >*LAM-BIAS 1.0E+10 13. 16.
    > 1.GDECAY
    >*
    >GEOBEGIN
    > 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
    > SCINT
    >COMPOUND 11.0 3.0 10.0 6.0
    > 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
    > 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.
    > 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
    >
    >
    >
    >
    >
    >


  • Next message: Vasilis Vlachoudis: "Re: geometry setup for yield calcuation."

    This archive was generated by hypermail 2.1.6 : Tue Nov 06 2007 - 17:17:37 CET