Re: USERDUMP Help

From: Stefan Roesler (sroesler@mail.cern.ch)
Date: Wed May 16 2007 - 17:24:45 CEST

  • Next message: Vadim Talanov: "Re: USERDUMP Help"

    Dear Adolf,

    Just one comment which I would like to add to Chris' answer:

    Alternatively, you could use the user routine fluscw.f together with a
    boundary crossing estimator (USRBDX). The routine is then called each time
    a particle crosses that boundary (check flag ISCRNG = 1 inside fluscw),
    with all properties of that particle (coordinates, direction cosines,
    weight, id) being passed on to fluscw as argument list.

    If there is no boundary between regions in your geometry at the location
    of interest you could create one, simply by splitting the respective
    region into two of the same properties.

    Greetings
    Stefan

    On Wed, 16 May 2007, Adolf Nordin wrote:

    > Hallo everyone
    >
    > I've been using Fluka for two years now simulating an accelerator for various things, from generating percentage depth dose curves to bunker shielding. My results compare well with measured data, however, there is still one thing that I can't do and will appreciate help on this topic.
    >
    > I would like to create a "phase space file" under the flattening filter of my accelerator. That way I don't have to simulate the production of x-rays in the target every time I change the field size but use the "phase space file" as a source input. As far as I understand USERDUMP is used for this. So my questions are:
    >
    > 1. Can USERDUMP be used to create a "phase space file"?
    > 2. If so, how is the position where the USERDUMP file must be created defined because I can't find anything about it in the manual (I might have missed it)? Using USERDUMP, as far as I understand, all particles in all directions will be dumped into the file and I would like only particles going into a certain direction to be dumped into the file.
    > 3. If this USERDUMP file has been generated, how does one use it in other simulations as the source input?
    >
    > As mentioned I want to create a "phase space file" under the flattening filter which is a known distance under the target (target at z = 0).
    >
    > Any help regarding this will be appreciated.
    >
    > Adolf
    >
    >
    > _____________________________________________________________________
    >
    > University of the Free State: This message and its contents are subject to a disclaimer.
    > Please refer to http://www.uovs.ac.za/disclaimer for full details.
    >
    > Universiteit van die Vrystaat:
    > Hierdie boodskap en sy inhoud is aan 'n vrywaringsklousule onderhewig.
    > Volledige besonderhede is by http://www.uovs.ac.za/vrywaring beskikbaar.
    > _____________________________________________________________________
    >
    >
    >
    >

    -- 
    ___________________________________
    Stefan Roesler
    CERN, SC/RP
    CH-1211 Geneva 23
    Switzerland
    Phone:  +41-22-7679891
    Fax:    +41-22-7669639
    E-mail: Stefan.Roesler@cern.ch
    

  • Next message: Vadim Talanov: "Re: USERDUMP Help"

    This archive was generated by hypermail 2.1.6 : Wed May 16 2007 - 17:42:35 CEST