Journal of Chemical Education
Computational chemistry instructional activities are often based around students running chemical simulations via a graphical user interface (GUI). GUI-based activities offer many advantages, as they enable students to run chemical simulations with a few mouse clicks. Although these activities are excellent for introducing students to the capabilities of chemical simulations, the disadvantage is that the students’ experience is not representative of how professional computational chemists work. Just as it is important that students in an organic chemistry instructional lab gain hands-on experience with equipment commonly used by professional organic chemists, students of computational chemistry must gain hands-on experience with coding, as professional computational chemists do not rely on GUIs; we write code. Motivated by the need for instructional activities that provide hands-on experience with computer code, a pair of activities were created around a free lightweight (runs on standard laptops) open-source Lennard-Jones (LJ) fluid simulation code written in Python, a programming language that prioritizes readability. The first activity, aimed at undergraduate physical chemistry lab courses, involves students writing Python code in a Jupyter Notebook that is used to run LJ simulations and fit a van der Waals gas model to data produced by the LJ fluid simulations. The second is a jigsaw activity, aimed at advanced undergraduate or graduate students, where students are assigned different sections of the LJ fluid simulation code, and must demonstrate the functionality of their section to the class by both giving an oral presentation and sharing a Jupyter Notebook demonstration of their own design.
San José State University
Computational Chemistry, Statistical Mechanics, Theoretical Chemistry, Thermodynamics, Computer-Based Learning, Distance Learning, Hands-On Learning, Internet/Web-Based Learning, Physical Chemistry, Upper Division Undergraduate, Graduate Education
Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 License.
Gianmarc Grazioli, Adam Ingwerson, David Santiago, Patrick Regan, and Hee Kun Cho. "Foregrounding the Code: Computational Chemistry Instructional Activities Using a Highly Readable Fluid Simulation Code" Journal of Chemical Education (2023): 1155-1163. https://doi.org/10.1021/acs.jchemed.2c00838