Message: Re: How to define cylindrical volume source with known flux? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: How to define cylindrical volume source with known flux? 

Forum: Particles
Re: Question How to define cylindrical volume source with known flux? (Andrew Voyles)
Date: 01 Nov, 2010
From: Gumplinger Peter <Gumplinger Peter>

Hi Andrew,

> Other than simply running massive amounts of

> /run/beamOn, how can I simulate this known neutron flux?

Well, that's what you are expected to do; run/beamOn # (large number).

To explain, when you issue:

/run/beamOn 100

you are running 100 events, one neutron at a time. You can arrange to have the effect of this one neutron accummulate in EndOfEventAction so that the summed result is available at the EndOfRunAction. There is no need to run 100 neutrons in one event. Very large numbers of primary tracks in an event will also consume much more memory to process the event. In any case, Geant4 does not allow for interparticle interactions so running 100 events vs 100 primaries is equivalent.

Hope this clarifies the situation.

Peter

 Add Message Add Message
to: "Re: How to define cylindrical volume source with known flux?"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]