Re: Geometry Plot

From: Lucia Sarchiapone (Lucia.Sarchiapone@cern.ch)
Date: Mon Mar 03 2008 - 11:41:58 CET

  • Next message: Francesco Cerutti: "Re: Geometry Plot"

    --Apple-Mail-9-747935165
    Content-Transfer-Encoding: 7bit
    Content-Type: text/plain; charset="US-ASCII"; delsp=yes; format=flowed

    Hi,

    I have checked your FLAIR project and the problem might be with the
    "Extends" of your plotting window.
    When a plot is created, by default the extends is 100 in x and y, and
    the center of the plot is x=0, y=0, z=0, but there is no region
    defined outside
    the BLKBODY (Xmin=-10.0 Xmax=10.0, Ymin=-10.0 Ymax=10.0,
    Zmin=-10.0 Zmax=100.0 ).

    If you try to change the extends (make them smaller) it should work.
    You could even make your blkbody bigger, and solve your problem.
    In the attachments you'll find a flair project with a plot of your
    geometry.

    Just a small remark, do not name a region like a material
    (Aluminium), in the input file attached I changed it.
    Cheers

    --Apple-Mail-9-747935165
    Content-Transfer-Encoding: 7bit
    Content-Type: application/octet-stream; x-unix-mode=0700;
            name="tutorial2.flair"
    Content-Disposition: attachment; filename="tutorial2.flair"

    # FLUKA Project file
    Title: tutorial2
    Input: tutorial2.inp
    LinkPrg: lfluka
    F77bound: True
    F77dline: False
    FlukaVar: FLUPRO

    # Run information
    Run: <default>
    Prev: 0
    Last: 5
    Status: 0
    Pid: 0
    StartRun: 0
    EndRun

    # Geometry plot "Plot #1"
    Plot: tutorial2_plot01
    Title: Plot #1
    Format: .eps
    Type: Geometry
    Keys: 1
    AutoAspect: 1
    origin: 0 0 35
    material.ALUMINUM: #AE2569
    material.CALCIUM: #B32508
    vectscale: 0.1
    material.NICKEL: #DF42E7
    basisu: 0 0 1
    basisv: 1 0 0
    material.ARGON: #6C4F52
    material.MERCURY: #BD82C1
    material.NITROGEN: #672E8D
    material.LEAD: #780278
    material.SILVER: #7C8625
    boundaries: 0
    material.BERYLLIU: #B97509
    material.SILICON: #8E6D88
    material.TITANIUM: #ADE9F6
    extends: 40 1
    material.IRON: #80BEFC
    material.TIN: #DDF0B0
    nu: 200
    nv: 200
    labels: 1
    material.TANTALUM: #37DAF5
    material.CHROMIUM: #F30714
    material.MAGNESIU: #502FF0
    material.Stainles: #AB69BC
    material.SODIUM: #8A5E0F
    coord: Z-X
    subtype: Material
    material.TUNGSTEN: #A9FF36
    EndPlot

    --Apple-Mail-9-747935165
    Content-Transfer-Encoding: 7bit
    Content-Type: application/octet-stream; x-unix-mode=0700;
            name="tutorial2.inp"
    Content-Disposition: attachment; filename="tutorial2.inp"

    TITLE
    tutorial1
    GLOBAL 1.0 1.0
    DEFAULTS NEW-DEFA
    BEAM -0.03 1.0PROTON
    BEAMPOS 0.0 0.0 0.0
    GEOBEGIN COMBNAME
        0 0
    * Black body
    RPP blkbody -10.0 10.0 -10.0 10.0 -10.0 100.0
    * Vacuum
    RPP vacuum -9.0 9.0 -9.0 9.0 -9.0 90.0
    * Target
    RPP target -1.0 1.0 -1.0 1.0 0.0 0.02
    * aluminium
    RPP alumim -5.0 5.0 -5.0 5.0 20.0 25.0
    * Stainless Steel
    RPP SS -5.0 5.0 -5.0 5.0 25.1 30.1
    END
    * Black hole
    BLKBODY 5 +blkbody -vacuum
    * Void around
    VOID 5 +vacuum -target -alumim -SS
    * Target
    TARGET 5 +target
    * Aluminium
    Alumini 5 +alumim
    * SS
    SS 5 +SS
    END
    GEOEND
    * ..+....1....+....2....+....3....+....4....+....5....+....6....+....7..
    ASSIGNMA BLCKHOLE BLKBODY
    ASSIGNMA VACUUM VOID
    ASSIGNMA Stainles TARGET
    * Comment
    ASSIGNMA ALUMINUM Alumini
    * Comment
    ASSIGNMA Stainles SS
    MATERIAL 24.0 51.9961 7.18 CHROMIUM
    * Stainless-Steel (typical)
    * Stainless-Steel is produced with Cr content ranging from
    * 4 - 19 Atomic Percent, and with C content from 0 - 4 percent.
    MATERIAL 8.0 Stainles
    COMPOUND 8.0 CHROMIUM 74.0 IRON 18.0 NICKELStainles
    * Dose
    USRBIN 10.0 EM-ENRGY 5.0 5.0 30.1enedep
    USRBIN -5.0 -5.0 25.1 20.0 20.0 20.0&
    RANDOMIZ 1.0
    START 100.0
    STOP

    --Apple-Mail-9-747935165
    Content-Transfer-Encoding: 7bit
    Content-Type: text/plain; charset="US-ASCII"; delsp=yes; format=flowed

    On Mar 3, 2008, at 10:45 AM, sujoy@veccal.ernet.in wrote:

    Sir,
    I have started using FLAIR recently. With the help of the FLAIR
    manual I could plot geometry. But when I tried to make my own for
    trial of a simple geometry, I could not plot the geometry. It shows
    "Cannot Open xxx001_PLOTGEOM.STORE, Open to see errors". When I debug
    geometry, I could not find any errors. The output of the FLAIR shows
    error like "line 321:16576 Aborted ". I am attaching the files for
    reference.
    With Regard
    S Chatterjee<tutorial1.flair><tutorial1.inp><sujoy.vcf>

    --Apple-Mail-9-747935165--


  • Next message: Francesco Cerutti: "Re: Geometry Plot"

    This archive was generated by hypermail 2.1.6 : Mon Mar 03 2008 - 12:25:29 CET