Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Solutions to the exercises of Chapter 16

School of Engineering and Digital Sciences, Nazarbayev University

Chapter: 16. Capstone: validating your Python engine against LAMMPS and Yeh–Hummer 1/L scaling

Each solution below reproduces the chapter state and verifies the exercise targets with explicit assert checks.

# LAMMPS LJTS benchmark input script matching engsim conventions | pair_coeff      1 1 1.0 1.0 2.5
Yeh-Hummer 1/L extrapolation: D_inf_fit = 0.085000 (exact 0.085000), slope = -0.070011
<Figure size 1120x430 with 2 Axes>

Worked solutions to Exercises 1–3

Ch 16 Exercises — Liquid Argon self-diffusion D = 4.570e-09 m^2/s