Ehrenfest Diffusion on a 1D Lattice Model
written by
Kostas Papamichalis
This simulation shows the diffusion of N particles along a 1-dimensional finite lattice, towards the state of equilibrium. The particles are distributed in a sequence of cells arranged along the lattice. In a time-interval of length Dt, each particle can perform just one jump between neighboring cells with a certain transition probability determined in the frame of the Ehrenfest model. The initial state of the system and the number of the cells along the lattice, are selected by the user. In a sequence of time-moments, the program of the simulation calculates the number of particles in every cell. The number of the particles in a cell is depicted by a certain cell-color. The intermediate states of the system between the initial state and the final state of equilibrium are depicted by a varying histogram and a sequence of changing cell-colors.
The theoretical distribution of the particles at the equilibrium state is depicted in the same system of axes. The first objective of the simulation is to compare the data obtained in real-time from the virtual environment, with the theoretical predictions of the model. Furthermore, as a second objective, the user is able to confirm the theoretical proposition that "irrespectively of the form of the initial distribution, the system converges to a certain equilibrium state which is determined by the transition probabilities". In a separate window, the graph of a Lyapunov functional H corresponding to the system, is created in real time. Each time-moment, the value of H is uniquely determined by the corresponding distribution of the particles in the cells of the lattice. In addition, by observing the graph of H over time, the user can estimate the relaxation time of the process towards the equilibrium state.
1 supplemental document is available
Description of the Ehrenfest Diffusion on a 1D Lattice moldel. download 441kb .pdf Last Modified: December 28, 2025
1 source code document is available
WebEJS source code for the Ehrenfest Diffusion Model on a 1D Lattice model. download 489kb .zip Last Modified: December 28, 2025
ComPADRE is beta testing Citation Styles!
<a href="https://www.compadre.org/portal/items/detail.cfm?ID=17213">Papamichalis, Kostas. Ehrenfest Diffusion on a 1D Lattice Model. 2026.</a>
K. Papamichalis, (2026), WWW Document, (https://www.compadre.org/Repository/document/ServeFile.cfm?ID=17213&DocID=6126).
K. Papamichalis, Ehrenfest Diffusion on a 1D Lattice Model (2026), <https://www.compadre.org/Repository/document/ServeFile.cfm?ID=17213&DocID=6126>.
Papamichalis, K. (2026). Ehrenfest Diffusion on a 1D Lattice Model. Retrieved January 16, 2026, from https://www.compadre.org/Repository/document/ServeFile.cfm?ID=17213&DocID=6126
Papamichalis, Kostas. Ehrenfest Diffusion on a 1D Lattice Model. 2026. https://www.compadre.org/Repository/document/ServeFile.cfm?ID=17213&DocID=6126 (accessed 16 January 2026).
Papamichalis, Kostas. Ehrenfest Diffusion on a 1D Lattice Model. 2026. 16 Jan. 2026 <https://www.compadre.org/Repository/document/ServeFile.cfm?ID=17213&DocID=6126>.
@misc{
Author = "Kostas Papamichalis",
Title = {Ehrenfest Diffusion on a 1D Lattice Model},
Volume = {2026},
Number = {16 January 2026},
Year = {2026}
}
%A Kostas Papamichalis %T Ehrenfest Diffusion on a 1D Lattice Model %D 2026 %U https://www.compadre.org/Repository/document/ServeFile.cfm?ID=17213&DocID=6126 %O text/html %0 Electronic Source %A Papamichalis, Kostas %D 2026 %T Ehrenfest Diffusion on a 1D Lattice Model %V 2026 %N 16 January 2026 %9 text/html %U https://www.compadre.org/Repository/document/ServeFile.cfm?ID=17213&DocID=6126 Disclaimer: ComPADRE offers citation styles as a guide only. We cannot offer interpretations about citations as this is an automated procedure. Please refer to the style manuals in the Citation Source Information area for clarifications.
Citation Source Information
The AIP Style presented is based on information from the AIP Style Manual. The APA Style presented is based on information from APA Style.org: Electronic References. The Chicago Style presented is based on information from Examples of Chicago-Style Documentation. The MLA Style presented is based on information from the MLA FAQ. Ehrenfest Diffusion on a 1D Lattice Model:
Is Based On
Easy Java Simulations Modeling and Authoring Tool
Use the Easy Java Simulations Modeling and Authoring Tool to edit and to explore the source code for the The Ehrenfest Diffusion Model in a 1-dimensional lattice. relation by Wolfgang ChristianKnow of another related resource? Login to relate this resource to it. |
ContributeRelated MaterialsSimilar Materials |