Message: Re: how to add non-uniform M-field and rf EM field Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: how to add non-uniform M-field and rf EM field 

Keywords: non-uniform field, rf field,
Forum: Fields: Magnetic and Otherwise
Re: None how to add non-uniform M-field and rf EM field (long)
Re: Feedback Re: how to add non-uniform M-field and rf EM field (John Apostolakis)
Date: 09 Jan, 2007
From: Tom Roberts <Tom Roberts>

I have successfully implemented overlaping time-varying electric and magnetic fields, such as an RF cavity inside a solenoid. Email me if you want the code I use. I just use G4EqMagElectricField and G4ClassicalRK4.

Key point: if an electric field is present anywhere, you must call
    fieldMgr->SetFieldChangesEnergy(true);

For multiple fields generated by multiple components (e.g. magnets and RF cavities), the GlobalField object I implemented permits the individual components to register their field object and a bounding box; to compute the field at a given point it sums all of the individual fields for registered objects with bounding boxes containing the point. In most cases the conversion from global to loacl coordinates is more expensive than computing the local field, so the bounding boxes are in global coordinates.

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: how to add non-uniform M-field and rf EM field   (long - 09 Jan, 2007)
 Add Message Add Message
to: "Re: how to add non-uniform M-field and rf EM field"

 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 ]