Interactive Learning of Diffusion and the Diffusion Equation with Mathematical Software

Loading...
Thumbnail Image
Identifiers

Publication date

Advisors

Tutors

Editors

Journal Title

Journal ISSN

Volume Title

Publisher

American Chemical Society
Metrics
Google Scholar
lacobus
Export

Research Projects

Organizational Units

Journal Issue

Abstract

The process of diffusion is intimately related to random molecular displacement and is central to many problems in chemistry. Here, we provide an intuitive derivation of the diffusion equation based on the analysis of the random trajectories of particles generated and plotted by simple MATLAB and Python scripts. The codes are very simple and profusely commented on, so they can be modified by students and instructors with little experience with these software packages. The codes plot the trajectories in 1D, 2D, and 3D of a number of particles during a number of steps, both specified by the operator. Advanced versions of the codes with animated evolution of the diffusion process are also provided. The interactive generation and analysis of the trajectories of the particles in different scenarios allows a faster and more complete understanding of the effect of the number of particles, diffusion time, or dimensionality of the system, on the basic aspects of chemical diffusion, like mean square displacement, through the statistical nature of the process. A series of activities for the instructor and students was also suggested.

Description

Bibliographic citation

Journal of Chemical Education, 2023, 100, 11, 4525–4529

Relation

Has part

Has version

Is based on

Is part of

Is referenced by

Is version of

Requires

Sponsors

Rights

© 2023 The Authors. Published by American Chemical Society and Division of Chemical Education, Inc. This publication is licensed under CC-BY 4.0.
Atribución 4.0 Internacional