JavaScript is required!

Introduction

This is a molecular dynamics simulation of a set of particles with the same mass. The container is simulated as a set of fixed particles along with boundary conditions that reflect particles. The interaction is determined by a Lennard-Jones (L-J) potential between the particles. The interaction between the fluid particles is determined by the cohesion parameters, while the interaction with the walls is defined by the adhesion parameters. A constant gravity term is added to the L-J force, along with a viscous drag force term. The viscous force term is used to keep the total energy stable. Without friction, the simulation would slowly gather energy due the contribution to the reflecting walls and numerical approximations. Moreover, in order to guarantee the stability of the simulation, the L-J force is capped to a maximum value.
Commands


Data