MSE 485/CSE 485/PHYS 466: Atomic-Scale Simulations

Fall 2023

Schedule

TR 9:30-10:50am in 305 Materials Science and Engineering Building

Course content

Scope

Objectives

Students will be able to

  1. explain fundamentals of molecular dynamics: integration algorithms, static and dynamic correlations functions, and their connection to order and transport
  2. explain fundamentals of Monte Carlo and random walks: variance reduction, Metropolis algorithms, kinetic Monte Carlo, heat diffusion, Brownian motion
  3. apply molecular dynamics and Monte Carlo to relevant material problems, such as
    1. phase transitions (melting/freezing, calculating free energies)
    2. polymers (growth and equilibrium structure)
  4. determine proper parameters for a simulation;
  5. determine if a simulation result is reliable based on the underlying physical principles in the simulation;
  6. systematically analyze data to extract meaningful materials quantities.

Prerequisites

If you have not passed a prerequisite course or are concerned about your background (especially if you have no prior programming experience), please see the instructor before continuing.

Instructor

Dallas R. Trinkle (dtrinkle@illinois.edu; 308 MSEB in the west stairwell).

Teaching assistant: Cunwei Fan (cfan11@illinois.edu) and Rephayah Black (rlb8@illinois.edu); office hours: T 3:30-4:30, F 10:00-11:30 via zoom

Teaching approach: Lecture + Hands-on project-based learning

An “active learning” approach where we focus on the course objectives: understanding and applying computational modeling tools to simulate material behavior, determine if a simulation is reliable, and use a systematic approach to computation. You will:

Over the course of the semester, you will implement statistical analysis, molecular dynamics, and Monte Carlo techniques to atomic-scale simulations.

Logistics

Homework

Homework will be assigned through the MSE 485 website and assignments are due 11:59 pm the day posted on the MSE 485 website. Late submissions will be penalized by 50% for each day late, unless excused in advance. Your reports must be submitted electronically via GradeScope. The only format for the report that will be accepted for submission is a single, properly-ordered PDF, in portrait format; your name must be printed legibly on the top of the first page.

These homework assignments require you to write code that is bug free and actually works. This code will be automatically graded and checked using the PrairieLearn web site, which will provide you with immediate feedback, allowing you to fix buggy code before using it to prepare the data needed to write your reports. The TA grades only your report.

The written reports are assigned to practice the communication of scientific concepts in writing. They will be graded based on presentation, neatness, correct use of symbols, quality of drawings and diagrams, and clarity of explanation. Reports should be neat and organized! More details and an example will be provided. Tables and graphical representations of results need to be generated using some software program such as Python, Excel, TecPlot, MatLab, etc., rather than being hand-drawn. Correct interpretation and implementation of the problem and correct final answers are important.

Projects

In the next few weeks, we will form teams that balance interests, programming ability, and experience. The team will be given (i) a collective grade for a status report and its presentation in class, (ii) a collective grade for the final report, and (iii) a collective grade for the presentation of the final results. For your status report and final report we will use peer review, which will also be part of your grade.

We expect the project itself to take into account:

Prior to the status report, two slides used for this presentation need to be submitted. It needs to outline a problem (Scientific research) and explain what the team will do to solve it (Algorithm development), according to the criteria given above. Also the final reports and the final presentations need to be submitted electronically. Late submissions will be penalized by 50 % for each day late. If you have any questions about the suitability of your project please get in touch with the instructor.

Grading

Breakdown:

Letter grades:

Expectations

To succeed in this class, you will need to

Obtaining help: The main two ways to obtain help are online at Canvas or in person at office hours. Please do not send email directly to TAs or professors for routine help or absences! In cases of emergencies related to assignments (e.g., illness) you should contact your professor at the earliest possible opportunity.

Formal and Informal Accommodations

I am committed to assisting students requiring special accommodations for circumstances that are registered with the DRES Student Services Department. These formal accommodations should be discussed with me as early as possible in the semester or as soon after DRES approval as possible.

If you are not formally registered with DRES and have anxiety, depression, learning disabilities, or other issues that affect your ability to fully participate and learn in this class, you are encouraged to check-in with me so we can determine together the kind of support you need to thrive in this class. Please set up a meeting with me via email.

Inclusion and Diversity

I value all students regardless of their background, race, religion (creed), ethnicity, gender, gender expression, age, country of origin, disability status, marital status, sexual orientation, or military status, etc., and am committed to providing a climate of excellence and inclusiveness within all aspects of the course. If there are aspects of your culture or identity that you would like to share with me as they relate to your success in this class, I am happy to meet to discuss. Likewise, if you have any concerns in this area of facing any special issues or challenges, you are encouraged to discuss the matter with me (set up a meeting via email) with an assurance of full confidentiality (only exception being mandatory reporting of academic integrity / code violation and sexual harassment). Harassment or discrimination of any kind will not be tolerated.

Anti-Racism and Inclusivity Statement

The intent is to raise student and instructor awareness of the ongoing threat of bias and racism and of the need to take personal responsibility in creating an inclusive learning environment.

The Grainger College of Engineering is committed to the creation of an anti-racist, inclusive community that welcomes diversity along a number of dimensions, including, but not limited to, race, ethnicity and national origins, gender and gender identity, sexuality, disability status, class, age, or religious beliefs. The College recognizes that we are learning together in the midst of the Black Lives Matter movement, that Black, Hispanic, and Indigenous voices and contributions have largely either been excluded from, or not recognized in, science and engineering, and that both overt racism and micro-aggressions threaten the well-being of our students and our university community.

Learning Environment

The effectiveness of this course is dependent upon each of us to create a safe and encouraging learning environment that allows for the open exchange of ideas while also ensuring equitable opportunities and respect for all of us. Everyone is expected to help establish and maintain an environment where students, staff, and faculty can contribute without fear of personal ridicule, or intolerant or offensive language. If you witness or experience racism, discrimination, micro-aggressions, or other offensive behavior, you are encouraged to bring this to the attention of the course director if you feel comfortable. You can also report these behaviors to the Office of the Vice Chancellor for Diversity, Equity and Inclusion (OVCDEI). Based on your report, OVCDEI members will follow up and reach out to students to make sure they have the support they need to be healthy and safe. If the reported behavior also violates university policy, staff in the Office for Student Conflict Resolution may respond as well and will take appropriate action.

Religious Observances

Illinois law requires the University to reasonably accommodate its students’ religious beliefs, observances, and practices in regard to admissions, class attendance, and the scheduling of examinations and work requirements. You should examine this syllabus at the beginning of the semester for potential conflicts between course deadlines and any of your religious observances. If a conflict exists, you should notify your instructor of the conflict and follow the procedure at ODOS to request appropriate accommodations. This should be done in the first two weeks of classes.

Sexual Misconduct Reporting Obligation

The University of Illinois is committed to combating sexual misconduct. Faculty and staff members are required to report any instances of sexual misconduct to the University’s Title IX Office. In turn, an individual with the Title IX Office will provide information about rights and options, including accommodations, support services, the campus disciplinary process, and law enforcement options.

A list of the designated University employees who, as counselors, confidential advisors, and medical professionals, do not have this reporting responsibility and can maintain confidentiality, can be found here: wecare.illinois.edu confidentiality.

Other information about resources and reporting is available here: wecare.illinois.edu.

Family Educational Rights and Privacy Act (FERPA)

Any student who has suppressed their directory information pursuant to Family Educational Rights and Privacy Act (FERPA) should self-identify to the instructor to ensure protection of the privacy of their attendance in this course. See FERPA info for more information on FERPA.

Academic Integrity

You are bound by the University Honor Code in this course. Any violation of the Honor Code will result in disciplinary action.

Students are responsible for producing their own work. Collaborative interaction is encouraged, but each student must do their own individual prelecture work, and contribute their own work to the group. Plagiarism will not be tolerated, and verified incidents will result in all parties receiving a zero and formal academic sanctions. Students are responsible for familiarizing themselves with the definition of and penalties for plagiarism in Section I-401 of the UIUC Student Code. Note that plagiarism includes “copying another student’s paper or working with another person when both submit similar papers without authorization to satisfy an individual assignment.”

Changes to syllabus

May occur as deemed necessary by the professor; they will be announced via Canvas and the updated syllabus posted on the course website.

Calendar

Suggested readings are from

Lecture day Reading Topic notes
T Aug 22 Orientation, Introduction, Statistics I
R Aug 24 Statistical errors, Frenkel Smit (Chapter 4 and Appendix D), LeSar (Appendix G) Statistics and Errors
T Aug 29 Stat. mech, Frenkel Smit (Chapter 2), LeSar (Appendix D, G) Correlation, Bias; Python and example notebook / pdf
R Aug 31 Statistical mechanics
T Sep 5 MD 1, MD 2, Frenkel Smit (Chapter 4), LeSar (Chapter 3) Molecular dynamics, boundary conditions and measurement; forces, time propagation
R Sep 7 Potentials, Frenkel Smit (Appendix F), LeSar (Chapter 5) Molecular dynamics: Code, force fields HW1/pdf due 9/8 upload
T Sep 12 Molecular dynamics: force fields II
R Sep 14 Molecular dynamics: correlation functions
T Sep 19 Correlations Pair correlation functions
R Sep 21 Dynamics, MD ensembles, Frenkel Smit (Chapter 6, Appendix B, C, E), LeSar (Chapter 6) Thermostats HW2/pdf due 9/22 upload
T Sep 26 Monte Carlo intro Intro to Monte Carlo
R Sep 28 Sampling Random numbers and psuedorandom number generators
T Oct 3 Non-uniform distributions
R Oct 5 Importance Sampling, Random walk, Frenkel Smit (Chapter 3), LeSar (Chapter 7) Variance reduction HW3/pdf due 10/6 upload
T Oct 10 Alternate MC schemes, Frenkel Smit (Chapter 13, 17) Alternate Monte Carlo schemes
R Oct 12 Brownian dynamics
T Oct 17 no class
R Oct 19 no class HW4/pdf due 10/20 upload
T Oct 24 Kinetic MC, Frenkel Smit (Chapter 8), LeSar (Chapter 9) Kinetic Monte Carlo
R Oct 26 Lattice MC, Advanced MC, LeSar (Chapter 7) MC and Ising model
T Oct 31 no class
R Nov 2 Phase transitions and critical slowing down HW5/pdf due 11/03 upload
T Nov 7 Frankel Smit (Chapter 15) Ewald summation
R Nov 9 Free energy, Frenkel Smit (Chapter 7, 11) Free energy techniques Project proposal draft due 11/10
T Nov 14 Constraints in MD + Constraints: polymers
R Nov 16 Project proposal presentations Peer review due 11/17
T Nov 26 no class (fall break)
R Nov 28 no class (fall break)
T Nov 28 Quantum mechanics for electrons
R Nov 30 Quantum mechanics for electrons HW6/pdf due 12/01 upload
T Dec 5 Review and questions Final report due 12/6
R Dec 7 no class (reading day)
F Dec 8 1:30-4:30pm Final presentations (exam week) slides due 10:00am
R Dec 14 no class Peer review due 12/14

Accessing library resources

The Univ. Illinois library has access to a huge variety of electronic resources; this plus additional online resources will be our references. Many can be accessed from the library’s website, or via the campus VPN. Alternatively, you can take advantage of the library proxy. This is done by appending proxy2.library.illinois.edu to the web address; when reloaded, you will be asked for Univ. Illinois authentication, and then will be able to access the resource as if you were on campus. In general, this authentication is required only once per session. So, the website

http://journals.aps.org/prl/abstract/10.1103/PhysRevLett.113.025504

would become

http://journals.aps.org.proxy2.library.illinois.edu/prl/abstract/10.1103/PhysRevLett.113.025504

Alternatively, install the Proxy Bookmarklet which makes it extremely easy to use the proxy. I highly recommend this method.