Creating non-uniform electric field

Hi John,

ok, I’m pretty sure I see my problem. /vis/scene/add/electricField is showing the resultant vector and when I import my field map into G4 it “seems” to be putting the Ex, Ey and Ez vectors in the wrong place.

T

Hi Tim

If I recall correctly, the base of the arrow is positioned where the vector field is evaluated.

John

Hi Tim

What exactly do you mean by “Ex, Ey and Ez vectors”? There was no such thing in my maths or electromagnetism textbook. There is no such thing as an Ex vector. Do you mean component? Just wondering if there is some conceptual problem here.

The field is evaluated and simply represented by an arrow of length proportional to the magnitude, the base of the vector at the position evaluated, the direction in the direction of the field. It does not display the components separately.

You can change the distance between arrows if there are too many arrows, or too few - see command guidance (type “help /vis/scene/add/electricField”).

John

Hi John,

yes you are correct. I meant the x, y and z components of the e-field vector.

T