Modifying Physics-Live CD

Physics-Live CD is based on Slax live CD. Therefore some documentation on how to modify Physics-Live CD can be found in the Slax documentation.

Simulations

I have created the following simulation programs:


1. wavepacket1d  simulates propagation of a 1D Schrodinger wavepacket

2. groundstate simulates determination of a ground state of a potential well

3. emwave1d simulates one dimensional EM wave propagation

4. emwave2d simulates two dimensional EM wave propagation

5. interference2s simulates an interference between two point sources

6. diffract-singleslit simulates diffraction by a single slit

7. diffract-twoslit simulates diffraction by double slits

8. diffract-edge simulates diffraction by an edge

9. diffract-slab simulates diffraction by a slab

10. diffract-disc simulates scattering by a disc

11. refract simulates a refraction through a medium

12. Other programs will be added soon.



Documentation

All simulation programs on the CD are located in the directory /home/physics/bin.  To run a program from xterm by
$  program_name
or
$ /home/physics/bin/program_name

Every simulation program has two parts: display and control.  An example of screenshot of the emwave2d program is shown below.


A. the length of the white line indicates the length of the wave.
B. simulation control 
C. a point source
 

NOTES:
+ wavepacket1d program requires an input of initial wavefunction data (real and imaginary) stored in a file named initialpsi.dat.
+ groundstate program requires an input of potential stored in a file named potential.dat
+ emwave2d program requires two input files: medium.bmp and refindex.dat. medium.bmp provides the types of the media and refindex.dat provides the refractive index of the media. medium.bmp must be a 400x400 pixels image and have a format of uncompressed 24 bit bitmap file. medium.bmp must contains only five colours which represents five media. white colour (#ffffff) indicates a host medium, red colour (#ff0000) is medium 1, green colour (#00ff00) is medium 2, blue colour (#0000ff) is medium 3 and black (#000000) is for opaque/impeneratable/metalic objects. medium.bmp can be edited by the gimp provided on the CD.
+ input files must be present in the currect directory.

Just play with the programs and have fun!

Enjoy!

I Wayan Sudiarta (sudiarta at dal.ca)