PHYS 338 - Computer Simulations in Physics
Instructor: Katharina Vollmayr-Lee, kvollmay@bucknell.edu, Olin 152, x7-3109Office Hours: TR 11-12, W 1-2, and by appointment (my schedule)
Text: H. Gould, J. Tobochnik, W. Christian, An Introduction to Computer Simulation Methods
Class Members: Akim Adams, Andy Baish, Sarah Denning, Damon Frezza, Ian Gilman, Gus Gordon, Peter Jahl, Chris Jarvis, Joe Lundeen, Sean McMahon, Andrew Merz, Jonathan Rewine, Narayan Timsina
Course Information
- Course Information (updated April 1)
Announcements:
- April 14: title and abstract for talk and main project paper
- April 14: Mini-Project II (happens in class; graded)
- April 23: First Version of second main project paper
- April 21: Main Project talks of Akim, Joe, Sarah, Ian, Pete
- April 23: Main Project talks of Sean, Chris, Gus, Andy, Narayan
- April 28: Main Project talks of Damon, Jonathan, Andrew
- Assignments Apr.23 - May 6
Homework
All Homework-Python Scripts need to be copied into your ~/share.dir/ and given read-permission
Account Login:
(for homework in text)
(first time password=username; change password)
Assignments
Due | Topic | Homework |
Jan.20 | Python: In/Out & Repetitions | HW 1 (Linux Excercise, Sign-Up ) |
Jan.22 | Python: Repetitions & Decisions | HW2: Bibliography/Model |
Jan.27 | Python: Arrays | HW 3 |
Jan.29 | Python: Functions | HW 4 |
Feb.3 & 10 | 1d Random Walk & Latex | HW 5 & HW 6 |
Feb.12 | 2d Random Walk & Fractal Growth | HW 6 |
Feb.17 9:30-12:00 | Fractal Growth & Talks | start on HW 7 |
Feb.19 | Fractal Growth | HW 7 |
Feb.24 | Mini-Project I | Mini-Project I |
Feb.26 | Main Project Talks | Ian, Akim, Andy, Sean, Gus |
March 3 | Main Project Talks | Andrew, Sarah, Damon, Chris, Joe, Jonathan, Narayan |
March 4,W | Final Vs. 1st Main Proj. Paper | HW8 |
March 6,F | Flow Chart | HW9 |
March 18,W | 1st Vs Main Proj. Program | ~/share.dir/ & read permission |
March 25,W | 2nd Vs Main Proj. Program | ~/share.dir/ & read permission |
March 31 | Results (Figs & Interpretation) | hardcopy |
April 7 | Maj.Proj. Final Program | ~/share.dir/ & read permission |
April 10 | Results Sec. 2nd Main Pr. Paper | hardcopy & pdf-file |
April 14 | Title & Abstract | hardcopy & textfile |
April 23 | 1st Vs of 2nd Paper | hardcopy & prev. Paper with Comments |
Apr. 23-May 6 | Final Talks & Paper | Last Assignments |
In-Class Work
- Linux Exercise
- In-Class Work: Python,
solutions are in ~kvollmay/classes.dir/phys338.dir/phys338_s2015.dir/linux_python_intro.dir/classpython2a.py etc.
For sample files see ~kvollmay/classes.dir/phys338.dir/phys338_s2015.dir/samples.dir/sample_inout.py, sample_repetitions.py, sample_arrays.py, and sample_functions.py
- In-Class Work: 1d Random Walk,
solutions are in ~kvollmay/classes.dir/phys338.dir/phys338_s2015.dir/randomwalk.dir/classrndwalk2a.py etc.
For sample file of random numbers see ~kvollmay/classes.dir/phys338.dir/phys338_s2015.dir/samples.dir/sample_rndnumbers.py
Mean-Square Displacements:msd for SiO2
- In-Class Work: latex & xfig
- In-Class Work: Talk Tools (LaTeX Beamer, xmgrace)
- In-Class Work: 2d Random Walk & Fractals solutions are in ~kvollmay/classes.dir/phys338.dir/phys338_s2015.dir/fractal.dir/classfractal1a.py etc.
- In-Class Work: Molecular Dynamics Simulations
solutions are in ~kvollmay/classes.dir/phys338.dir/phys338_s2015.dir/md.dir/md1.py etc.
and here nice figures Ã=0.9 and Ã=1.046, Ã=1.052 and Ã=1.054, Ã=1.078 , and bifurcation diagram , for which the xmgrace-files are in ~kvollmay/classes.dir/phys338.dir/phys338_s2015.dir/md.dir/fig.dir/*.xmgr
- In-Class Work: Scientific Figures with xmgrace
- April 9. In-Class Work: LJ-MD analysis & const. T
- April 14. Miniproject II (in-class)
Guidelines For Main Project
- Previous Simul. Projects: Spring 2012, Spring 2011, Spring 2010, Spring 2009, Spring 2008, Spring 2005
- Traffic Flow Paper by D. Chowdhury et al.
- Bibliography/Model
- Paper
- latex & xfig
- Scientific Talks (How To Give Talks)
- Talk Examples: SiO2 (BU 2009) , Granular Gas / Hydrodynamics (APS 2011) and Aspen, Feb. 2015 (SiO2 Jumps & Scaling),
- In-Class Work: Talk Tools (LaTeX Beamer, xmgrace)
- Figure Examples (see above In-Class Work: Molecular Dynamics Simulations): Ã=0.9 and Ã=1.046, Ã=1.052 and Ã=1.054 and Ã=1.078 , for which the xmgrace-files are in ~kvollmay/classes.dir/phys338.dir/phys338_s2015.dir/md.dir/fig.dir/*.xmgr and see also figures in Talk Examples above.
- In-Class Work: Scientific Figures with xmgrace
- (Course Summary & ) Symposium Talks
- to get eps-file of equation(s) with latex see example ~kvollmay/classes.dir/phys338.dir/phys338_s2015.dir/talks.dir/Calphadef.tex and in first few lines of Calphadef.tex you find how to use it.
Literature Search Tools
- Web of Science
- BU pages: Library & IT , Databases
- Books: BU Library Catalog (World Cat)
- Physics Sources: APS Journals, IOP Journals, ADS Labs (NASA) search, arXiv.org
Computer Tools
- Access to Linux on Mac (E.Wessler)
- Installation of Linux on Windows
- Making linux space available on Windows
- Linux Summary and Linux Exercise
- Computer Tools (PHYS310 Junior Lab)
- LaTeX Tutorials: Tuginda, Carrol, LaTeXPrimer