libgran is a Discrete Element Method (DEM) framework for simulating the mechanical behavior of soot aggregates. DEM is a technique for simulation of granular media consisting of rigid spherical particles. The resultant force and torque acting on each particle are computed and used with Newton's second law to compute the motion of particles:
The forces that particles experience arise from friction at inter-particle contacts, bonding between particles, inter-particle attraction, field forces, etc. libgran contains a bonded and a non-bonded contact model, a Van der Waals attraction model and is designed to be easily extensible with custom models.
The force models that are provided by the implementation are described in this section.
The contact model is based on constraining the four degrees of freedom of motion of two particles relative to each other: normal translation, tangential translation, torsion, and rolling. Let us consider two particles i and j. We can begin by defining a unit normal vector:
The relative velocity at the point of contact is:
where
Similarly, relative angular velocity:
can be decomposed into normal (torsional) and residual (rolling) components:
To constrain the four degrees of freedom, we insert four springs, as illustrated in the figure below:
The length of the normal spring,
The remaining three springs have zero length at the time the contact is formed and have their lengths accumulated
throughout the duration of the contact. Let a spring vector be
Then, as long as the contact lasts, spring
For a pair of particles that is connected with a rigid bond, we would like to approximate a rigid-body motion. In other words, the common reference frame of particles i and j can rotate and translate, but any translation or rotation of particle i relative to particle j should be restricted. The distance between all points in the pair of particles should be approximately preserved over time. It can be shown that when using the springs defined in the contact force section to restrict the motion of particles i and j, then the union of particles i and j will undergo rigid body motion as the stiffness of inserted springs approaches infinity. In the simulation we need to use a finite stiffness value, but as long as the amplitude of oscillations is much smaller than the length scale of particles in the simulation, the motion will, approximately, be rigid.
To stabilize the system over time and dissipate any vibrational kinetic energy in the bonds, each spring is supplemented by a
dashpot element. The force,
where
The model described in Luding 2008 is used to simulate
frictional contacts between non-bonded particles. A brief description
is provided here and the reader is referred to Luding 2008
for a more detailed description. Luding's model uses the same four springs described
in an earlier section to compute normal and tangential forces, rolling
and torsion resistance torques. Instead of directly setting force proportional
to spring elongation, a certain degree of slip is allowed between particles in contact.
That is done by computing a test force,
and deciding whether static or dynamic friction should be used based on Coulomb's law of friction:
where
In case the contact is determined to be in the state of static friction,
the tangential spring
and the magnitude of the Coulomb's force,
The model is only enabled when the normal force is repulsive. Once particles are not overlapping, the frictional force is set to zero and accumulated springs are reset.
Hamaker 1937 derived the potential energy,
where
Since in the limit as
Comprehensive documentation, including tutorials and class reference, is available externally.
- Project funded by U.S. National Science Foundation, award #AGS-2222104