.. _sphx_glr_api_gallery_md_lj_fluid:
Lennard-Jones fluid
--------------------
Simulations of the Lennard-Jones fluid: Rahman's liquid argon, the
Maxwell-Boltzmann speed distribution, hard-sphere-like packing order,
the Weeks-Chandler-Andersen repulsive reference fluid, Verlet's
integrator and neighbor list, and self-diffusion from the Einstein
mean-squared displacement and the Green-Kubo velocity autocorrelation.
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /api/gallery/md/lj_fluid/images/thumb/sphx_glr_plot_01_rahman_liquid_argon_thumb.png
:alt:
:doc:`/api/gallery/md/lj_fluid/plot_01_rahman_liquid_argon`
.. raw:: html
Rahman's liquid argon: g(r) of a Lennard-Jones liquid in real units
.. raw:: html
.. only:: html
.. image:: /api/gallery/md/lj_fluid/images/thumb/sphx_glr_plot_02_maxwell_boltzmann_check_thumb.png
:alt:
:doc:`/api/gallery/md/lj_fluid/plot_02_maxwell_boltzmann_check`
.. raw:: html
Cross-checking an MD trajectory against the Maxwell-Boltzmann distribution
.. raw:: html
.. only:: html
.. image:: /api/gallery/md/lj_fluid/images/thumb/sphx_glr_plot_03_hard_sphere_freezing_thumb.png
:alt:
:doc:`/api/gallery/md/lj_fluid/plot_03_hard_sphere_freezing`
.. raw:: html
Alder and Wainwright's hard spheres: packing-driven order with no attraction
.. raw:: html
.. only:: html
.. image:: /api/gallery/md/lj_fluid/images/thumb/sphx_glr_plot_04_wca_repulsive_reference_thumb.png
:alt:
:doc:`/api/gallery/md/lj_fluid/plot_04_wca_repulsive_reference`
.. raw:: html
Weeks-Chandler-Andersen: repulsive forces set the structure of a dense liquid
.. raw:: html
.. only:: html
.. image:: /api/gallery/md/lj_fluid/images/thumb/sphx_glr_plot_05_verlet_integrator_thumb.png
:alt:
:doc:`/api/gallery/md/lj_fluid/plot_05_verlet_integrator`
.. raw:: html
Verlet's integrator: bounded energy error instead of drift
.. raw:: html
.. only:: html
.. image:: /api/gallery/md/lj_fluid/images/thumb/sphx_glr_plot_06_verlet_neighbor_list_thumb.png
:alt:
:doc:`/api/gallery/md/lj_fluid/plot_06_verlet_neighbor_list`
.. raw:: html
Verlet's neighbor list: a skin that lets one pair list serve many steps
.. raw:: html
.. only:: html
.. image:: /api/gallery/md/lj_fluid/images/thumb/sphx_glr_plot_07_einstein_mean_squared_displacement_thumb.png
:alt:
:doc:`/api/gallery/md/lj_fluid/plot_07_einstein_mean_squared_displacement`
.. raw:: html
Einstein's diffusion law: mean-squared displacement grows linearly in time
.. raw:: html
.. only:: html
.. image:: /api/gallery/md/lj_fluid/images/thumb/sphx_glr_plot_08_green_kubo_velocity_autocorrelation_thumb.png
:alt:
:doc:`/api/gallery/md/lj_fluid/plot_08_green_kubo_velocity_autocorrelation`
.. raw:: html
Green-Kubo: the diffusion coefficient as the integral of the velocity autocorrelation
.. thumbnail-parent-div-close
.. raw:: html
.. toctree::
:hidden:
/api/gallery/md/lj_fluid/plot_01_rahman_liquid_argon
/api/gallery/md/lj_fluid/plot_02_maxwell_boltzmann_check
/api/gallery/md/lj_fluid/plot_03_hard_sphere_freezing
/api/gallery/md/lj_fluid/plot_04_wca_repulsive_reference
/api/gallery/md/lj_fluid/plot_05_verlet_integrator
/api/gallery/md/lj_fluid/plot_06_verlet_neighbor_list
/api/gallery/md/lj_fluid/plot_07_einstein_mean_squared_displacement
/api/gallery/md/lj_fluid/plot_08_green_kubo_velocity_autocorrelation