PHY 346 -- Computational Physics Lab

Instructor: Natalie Holzwarth Phone:758-5510Office:300 OPL e-mail:natalie@wfu.edu


General Information:

These lectures and labs present a brief introduction to computational physics using examples from self-consistent field calculations of the electronic energy and density of various atoms throughout the periodic table. In order to prepare for the assignment, you will need to load some software on your computers as explained in the instructions.

Here are some notes and some more notes on some basics of numerical analysis.

Lab assignment for first session (3/1/05)

Pick at least one of your favorite atoms from the periodic table and run the computer program graphatom ( ~natalie/www-home/s05phy346/program/graphatom ) to determine:

  1. A plot of the electron density for that atom.
  2. A plot of the one-electron wavefunctions (labeling the curves -- 1s, 2s,... 2p, 3p... etc.)
  3. A list of the total energy and the one-electron eigenvalues for the ground state and at least one excited or ionic state. Note -- the energy units are Rydberg == 13.60569172 eV. In the next meeting, we will compare your results with experimental values.

(Please send email to natalie@wfu.edu if you have any questions.)

Lab assignment for second session (3/17/05)

In this session, we will focus on running the program graphatom for a few materials and comparing the results with experimental ionization energies or excitation energies.

  1. Run graphatom for your favorite atom in its ground state and at least one excited or ionized state, comparing the energy differences between the frozen core, relaxed core, and experimental result. One source of experimental data is available from NIST.
  2. Compare the shapes of at least two of the wave functions in the ground and excited or ionized state. For this purpose, it will be helpful to make two subdirectories. For example, you can issue the commands:
    mkdir groundstate
    cd groundstate
    graphatom
     (input appropriate data)
    cd ..
    mkdir ionizedstate
    cd ionizedstate
    graphatom
     (input appropriate data)
    cd ..
    gplot -f ./groundstate/wfn0 1 4 lines -f ./ionizedstate/wfn0 1 4 lines
    
    In this example, the gplot command allows you to plot the s-like wave functions (stored in the files named wfn0). The numbers "1 4" mean that you are plotting the results in column 1 (r-values) versus the results in column 4 (in this case, the 3s radial wave functions).
  3. Extra credit Using the density results for an atom of your choice, calculate the X-ray form factor as a function of scattering wavevector q.


Computer Programs

graphatom

Note: In order to run these programs, you will need to run X-Win32 and SSH as described above. Within the SSH windown, login to the wfu.edu computer using your login ID and password.

List of some useful commands

[an error occurred while processing this directive]
Last modfied: Tuesday, 16-Oct-2012 16:22:53 EDT
Access count: [an error occurred while processing this directive]