getting started with FLAIR

From: Jason Crawford (jaycrawf@triumf.ca)
Date: Tue Aug 07 2007 - 19:15:24 CEST

  • Next message: Stefan Roesler: "Re: getting started with FLAIR"

    Hello,

    I am a Canadian Student working at TRIUMF. I am a new FLUKA/FLAIR user,
    and after much trouble shooting and repetition, have had some trouble
    getting started. There is no one capable of helping me learn the initial
    steps here at TRIUMF. I have been working through the FLAIR "Quick
    Start" example available from the FLUKA home page. I believe my input to
    match that of the example, and the FLUKA run finishes "OK". When I
    process my five cycles for usrbin "tutorial00?_fort.50" files, FLAIR
    generates the one file tutorial_usrbin_50, which I assume to be correct,
    although I did expect a "sum.lis" and a "tab.lis" file. When I attempt
    to plot my results for deposited energy (usrbin), I notice that my
    "usrbin plot" window (where I input the details for plotting) appears
    different than the example, notably it doesn't have a CPD entry. When I
    press "PLOT", I get a gnuplot error which state: "Can't read data file
    'enedep.dat'." I fear that the fluka run did not produce the desired
    results in the first place. Despite not yet having a successful FLUKA
    run, I feel I could adequately perform these calculations if I had just
    the slightest guidance. I have attached my input file

    Thank you

    Jay

    TITLE
    n_TOF lead target
    GLOBAL 1.0 1.0
    DEFAULTS NEW-DEFA
    BEAM -20.0 -0.082425 -1.7 1.0PROTON
    BEAMPOS 2.2632 -0.5 -10.0 -0.17365 0.0
    GEOBEGIN COMBNAME
        0 0
    * Black body
    SPH blkbody 0.0 0.0 0.0 10000000.0
    * Void sphere
    SPH void 0.0 0.0 0.0 1000000.0
    * Water Container
    RPP watercnt -43.0 43.0 -53.6 53.6 -32.5 35.0
    * Lead Target
    RPP pbtarget -40.0 40.0 -40.0 40.0 -30.0 30.0
    RPP niche -15.0 15.0 -40.1 15.0 -30.1 -10.0
    END
    * Black hole
    BLKBODY 5 +blkbody -void
    * Void around
    VOID 5 +void -watercnt
    * Water Container
    WATERCNT 5 +watercnt -( +pbtarget -niche )
    * Lead Target
    TARGET 5 +pbtarget -niche
    END
    GEOEND
    * 276 Water liquid H2_O
    * Chemical Formula: H -- O -- H
    MATERIAL 1.0 WATER
    COMPOUND 2.0 HYDROGEN 1.0 OXYGEN WATER
    LOW-MAT LEAD 82.0 -4.0 293.0 LEAD
    MAT-PROP 75.0 WATER
    STERNHEI 3.5017 0.24 2.8004 0.09116 3.4773 WATER
    ASSIGNMA BLCKHOLE BLKBODY
    ASSIGNMA VACUUM VOID
    ASSIGNMA WATER WATERCNT
    ASSIGNMA LEAD TARGET
    USRBIN ENERGY -50.0 45.0 54.0 36.0enedep
    USRBIN -45.0 -54.0 -33.0 100.0 100.0 100.0&
    USRCOLL -1.0 PROTON -51.0 TARGET 1.0 100.0Proton
    USRCOLL 20.0 0.001 &
    USRCOLL -1.0 NEUTRON -51.0 TARGET 1.0 100.0Neutron
    USRCOLL 20.0 1D-09 &
    RESNUCLE 3.0 -52.0 TARGET 1.0Target
    RANDOMIZ 1.0
    START 100.0 0.0
    STOP


    # FLUKA Project file
    Title: n_TOF lead target
    Input: tutorial.inp
    Notes:
    n_TOF lead target simulation example
    Debug: "Target Area" -45 -55 -40 45 55 40 51 51 51
    LinkPrg: lfluka
    F77bound: True
    F77dline: False
    FlukaVar: FLUPRO

    # Run information
    Run: <default>
    Prev: 0
    Last: 3
    Status: 3
    Pid: 0
    StartRun: 1186488504

    # USRxxx data file
    Data: tutorial_usrcoll_0
    Unit: 0
    Type: c
    Rule: +,^tutorial\d\d\d_fort.0$
    Rule: +,^tutorial\d\d\d_ftn.0$
    EndData

    # USRxxx data file
    Data: tutorial_usrbin_50
    Unit: 50
    Type: b
    Rule: +,^tutorial\d\d\d_fort.50$
    Rule: +,^tutorial\d\d\d_ftn.50$
    Rule: -,tutorial003_fort.50
    Rule: -,tutorial004_fort.50
    Rule: -,tutorial005_fort.50
    Rule: -,tutorial002_fort.50
    Rule: +,tutorial002_fort.50
    Rule: +,tutorial003_fort.50
    Rule: +,tutorial004_fort.50
    Rule: +,tutorial005_fort.50
    Rule: -,tutorial004_fort.50
    Rule: -,tutorial005_fort.50
    EndData

    # USRxxx data file
    Data: tutorial_usrcoll_51
    Unit: 51
    Type: b
    Rule: +,^tutorial\d\d\d_fort.51$
    Rule: +,^tutorial\d\d\d_ftn.51$
    Rule: -,tutorial005_fort.51
    Rule: -,tutorial004_fort.51
    EndData

    # USRxxx data file
    Data: tutorial_resnuclei_52
    Unit: 52
    Type: r
    Rule: +,^tutorial\d\d\d_fort.52$
    Rule: +,^tutorial\d\d\d_ftn.52$
    Rule: -,tutorial003_fort.52
    Rule: +,tutorial003_fort.52
    Rule: -,tutorial005_fort.52
    Rule: -,tutorial004_fort.52
    EndData
    EndRun

    # Geometry plot "n_TOF Target Geometry"
    Plot: geometry
    Title: n_TOF Target Geometry
    Format: .eps
    Type: Geometry
    Keys: 1
    AutoAspect: 1
    TitleOpts: font 'Times,20'
    XLabel: Z (cm)
    YLabel: Y (cm)
    XLabelOpts: font 'Times,12'
    YLabelOpts: font 'Times,12'
    origin: 0 0 0
    vectscale: 0.1
    coord: Z-Y
    boundaries: 0
    subtype: Material
    extends: 50 50
    basisu: 0 0 1
    basisv: 0 1 0
    nu: 200
    nv: 200
    EndPlot

    # USRBIN plot "Deposited Energy"
    Plot: enedep
    Title: Deposited Energy
    Format: .eps
    Type: USRBIN
    Grid: 1
    Keys: 1
    AutoAspect: 1
    XLabel: X (cm)
    YLabel: Y (cm)
    CBLabel: Energy density
    XLabelOpts: font 'Helvetica,14'
    YLabelOpts: font 'Helvetica,14'
    CBLabelOpts: font 'Helvetica,14'
    origin: 0 0 0
    geopos: -15
    vectscale: 0.1
    basisu: 1 0 0
    basisv: 0 1 0
    cbcolors: 30
    axes: Auto
    boundaries: 0
    extends: 100 100
    swap: 0
    nu: 200
    norm: 7e12*1.6e-10*x
    proj: Z
    cbmin: 1e-9
    geo: -Auto-
    datafile: tutorial_usrbin_50
    det: 1
    cbpalette: FLUKA
    coord: X-Y
    subtype: Geometry
    cbmax: 100
    nv: 200
    EndPlot

    # RESNUCLE plot "Residual Nuclei"
    Plot: resnuc
    Title: Residual Nuclei
    Format: .eps
    Type: RESNUCLE
    Keys: 1
    AutoAspect: 1
    EndPlot

    # USR-1D plot "Particle Fluence"
    Plot: fluence
    Title: Particle Fluence
    Format: .eps
    Type: USR-1D
    Keys: 1
    AutoAspect: 1
    EndPlot


  • Next message: Stefan Roesler: "Re: getting started with FLAIR"

    This archive was generated by hypermail 2.1.6 : Wed Aug 08 2007 - 18:22:53 CEST