|
Example
No.4
4.Charged
particle moving in a magnetic field.
Step 1. Identify
the objects needed for the simulation.
The magnetic field will
be an object.
The charged particle is
the second object.
Step 2. Create the
magnetic field.
Select FIELD from the CONTROL
window.
Type the name of the field
e.g. Bfield.
Type the Fx, Fy, Fz components
of the force acting on a particle due to the above field.
Assume that the y axis is
at right angles to the surface.
For Fx -charge*vy*10
For Fy -charge*vx*10
For Fz 0
Type the name of the quantity
the field acts on, in this case type charge, and press Enter.
Step 3. Use the PARTICLE
button to create a particle
Create the particle.
Select PARTICLE type the
name of the particle e.g. weight.
Type initial position components
of the weight 50, 100, 50
Type initial velocity components
of the weight 0, 0, 0
Type the value for its mass
5
Type coefficients for the
velocity and force displayed vectors 1, 1
These coefficients are used
only for display purposes.
Type the color for the trace
of the particle 12 accepts 1-15.
Finally create any quantities
the particle will have. In this example the particle will have charge,
type its value 1.
Step 4. Create any
graphs you want to be displayed, save the simulation, then run it. |
|