CAE Coureware Using VPython
(Tested in VPython 2.7)


Some screen shots of my courseware for electromagnetic fields are listed here.
Most of the executable programs are also available; instructions are not complete.

To run the programs, you need to install first Python and then VPython. You can
download these two programs here: Python and VPython or visit VPython
website for more details.

Created by Zhengqing Yun.


1. Types of Waves

Instructions
Transverse Wave (VPython Program)


Longitudinal Wave (VPython Program)


Water Wave (VPython Program)


2. Build a Rainbow

Instructions
VPython Program


3. Your Shadow Runs Faster Than You Can!

VPython Program


4. TE Modes in Rectangular Waveguide

Instructions
VPython Program




5. Group Velocity vs. Phase Velocity

Instructions
VPython Program


6. Oblique Incidence: Reference Directions

VPython Program
The program starts with an interface and a normal vector. Then a left button click
will introduce an incident direction (red arrow). Press 'v' key to turn on/off the plane of
incidence. Now you can use 'Up', 'Down', 'Left', and 'Right' keys to change the
incident direction. You can leave this interactive loop by pressing the 'e' key.
The program will display a 3D scene as follows:







7. Polarization

VPython Program



8. Oblique Incidence on PEC: Total Field

VPython Program


9. Thin Lens

VPython Program
Drag the object arrow and focal point to interact.


10. Linear Antenna: 2D Radiation Pattern

VPython Program
Use the Up/Down keys to change the antenna length (in wavelengths).


11. Linear Antenna: 3D Radiation Pattern

Vpython Program
To change antenna length (in wavelengths): Press '3' key to get 3D pattern; press '4' to cancel.


12. FDTD Grid: 3D visualization

Vpython Program
Simply click and click to build a FDTD grid step by step.





13. Skylight Polarization

Vpython Program
Explains sky light polarization using Rayleight scattering patterns


14. Propagation in a 2D Hallway

Vpython Program
(f=2.4 GHz; side wall eps_r=3.0)

15. Local coordinates for diffraction

Vpython Program
Drag Tx or Rx to view the change of the diffraction point and the field directions