|Message: Re: Need help starting to put together a Physics List for an RFQ linac||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
I have to model an electron gun. The space charge interaction, the self-magnetic field interaction and eventually secondary electron generation from beam collisions with the electrodes have to be taken into account.
Can I use G4beamline to model all of the above mentioned processes? Is G4beamline more like Parmela, i.e., it transports the macroparticles and the it applies the space charge routine?
Thank you for your help.
On Tue, 13 Jul 2010 05:25:18 GMT, Tom Roberts wrote:
> It's not worth your time to worry about it. Just use QGSP_BERT. Use > G4PhysListFactory to construct it. Sure it creates a lot of particles, > but if you want a realistic simulation you'll need them (beam particles > do hit apertures). > > For an accelerator like this, don't forget to call > G4FieldManager::SetFieldChangesEnergy(true), and use > G4EqMagElectricField. > > The challenge, of course, is to get the electric and magnetic fields for > the complex geometry of the RFQ into your program. Note that the > geometry of an RFQ depends on the initial KE of the particles, their > charge/mass, and the RF frequency; the spatial distributions of the > fields depend on the geometry. So it's not just as simple as applying > different frequencies, you need different geometry and field maps for > each frequency. You'll need a good EM modeling program to generate the > field maps (unless you have a simple enough geometry for an analytical > solution, which I doubt). > > As for dd fusion, I'm not sure that it is in any physics list. In > general, particle-particle interactions are not included in Geant4 > physics lists, only particle-material interactions are there. So if it > is available, it will be for a deuteron beam traversing a flask of > deuterium, not for particle-particle interactions within the beam. Think > about how Geant4 tracks particles and this will be obvious. If you are > interested in modeling particle-particle interactions, I have > implemented this in my program (G4beamline), but it is non-trivial and > involves re-writing the RunManager, EventManager, TrackManager, and > SteppingManager, so they track all of the tracks in parallel; plus > adding a whole new class of interactions between particles, plus > modeling particles as macro-particles (it's infeasible to simulate the > 10^9 particles of a realistic bunch). Also think about what it takes for > dd fusion to occur; a deuteron accelerator is not going to do it in the > beam, you'll need to put the beam into a flask of deuterium for it to > happen, and the beam must be above threshold. If you want to simulate a > tokamak, plasma physics is extremely important and not present in > Geant4. > > Finally, you should realize that space charge will probably be important > in the RFQ, and that Geant4 cannot simulate it. The motivation for > implementing particle-particle interactions in G4beamline was to be able > to model space charge (as its name implies, it is a Geant4-based program > for modeling beam lines). As I said, this is non-trivial. G4beamline is > open source, and you can look at how I did it and even re-use my code: > http://g4beamline.muonsinc.com >
|Inline Depth:||Outline Depth:||Add message:|