Note: Click on the text area below to expand or reduce.

Download Image Canvas

Simulation of a Liquid Fountain Using Realistic Atomic Physics

Here I model the rise and fall of a liquid over a 2D solid block. As should be the case, the liquid-solid forces are much much larger than the liquid-liquid forces. The liquid discs interact via a Lennard Jones force with themselves and with the solid. The potential for this force has the form
V(r)=4*V*((sigma/r)^12-(sigma/r)^6)
where r is the separation between disc centers, sigma has units of length, and V is the depth of the potential well. For the liquid-liquid interaction V=Vliquid while for the liquid-solid interation, V=sqrt(Vliquid*Vsolid) The first term of V(r) provides a very strong repelling force and the second term provides a weaker attractive force. Because the repelling force is so strong, the liquid is almost in-compressible as one expects for a liquid. The borders of the container also have an exponential potential to keep the discs from escaping. The simulation takes several minutes to finish while storing some image and plot videos. I have therefore provided a movie so that the animation can be run more rapidly. I provide two plot windows: The x and y centers of mass of the discs and a histogram of the distribution of discs as a function of vertical height. Of course, the gravity fall of the initially top discs gives them a lot of energy, in fact too much energy for stability of the liquid. To avoid this problem I chose to provide a drag coefficient that is a force proportional to disc speed. This provides stability but also reduces the thermal speed of the discs which results in a more ragged top surface of the liquid. An important result that the learner should note is that the final geometry is that all but the boundary discs exhibit 6-fold symmetry where all the 6 nearest neighbors are the same distance and at 60 degree angles from each other. This is the most stable geometry and it roughly prevails even during the most erratic parts of the fall process. The distances are just a little less than the zero force discance of V(r) because the liquid is slightly compressed by the continous downward gravity force. One should expect that the density of the lower part of the liquid will be higher than the upper parts because the lower parts have all the gravity forces of the column of discs above them. When playing the movie, note that some discs are vaporized when they hit the sides of the solid block and the boundaries of the container. This is actually very realistic for the rather violent liquid movement that results initially. If you choose parameters that are too aggressive, then the container might lose some of the discs. If that happens, it will be reported but the results for the centroid position plot will not be affected by these losses.
imageCanvas plotCanvas plotCanvasD