Direct Force Field User Manual

Native Engine

DFF includes a built-in simulation engine that can be used to optimize and validate parameters. Simulation jobs can be run interactively so that structures and energies are updated dynamically on the screen.

Structure Relaxation

For models with high internal tension due to distorted structures, it is often necessary to relax the system before performing molecular dynamics (MD) simulations or energy minimization. A typical example is tangled polymer chains, where poor initial construction leads to excessively high internal energy. To address such cases, a van der Waals (vdW) growing molecular dynamics method is implemented.

In this approach, a series of short NVT MD simulations are run sequentially. In each simulation, the vdW terms—Lennard-Jones (LJ) parameters and atomic charges—are scaled by a factor ranging from 0 to 1. At the start, vdW interactions are completely removed, so the dynamics are governed only by valence interactions, allowing intra-molecular structures to stabilize. As the strength of vdW interactions is gradually increased, both intra- and inter-molecular packing are progressively adjusted.

To apply this method, the key parameters to define are:

Optimizers

Two different algorithms—the conjugate gradient method and the variable metric method—are implemented in DFF for energy minimization. The conjugate gradient method is based on the Polak–Ribiere approach, which is similar to the Fletcher–Reeves method. The variable metric method, also known as the quasi-Newton method, is an iterative approach that uses both the current gradient and the history of previous steps to determine the next move. For a quadratic functional form in N dimensions, both methods converge to the exact minimum in N steps.

These algorithms have different memory requirements. The conjugate gradient method requires storage on the order of N, while the variable metric method requires storage on the order of N × N.

Restrained energy minimization can also be performed to explore energy profiles. This is achieved by adding restraint terms to the total energy function on selected internal coordinates. The restraint function is harmonic, with user-defined reference values and force constants. In reported results, the restraint energy is subtracted from the total energy.

Molecular Dynamics

DFF implements the velocity Verlet algorithm for molecular dynamics. Choosing the appropriate integration time step is critical. A smaller step size increases accuracy but reduces the simulated time span per unit of execution time, while a larger step size does the opposite. In most molecular systems, the highest vibrational frequency is associated with X–H bond stretching, with a period of approximately 10⁻¹⁴ s. Therefore, a typical integration time step is about 1 femtosecond (fs).

A dynamic run consists of three stages: initialization, equilibration, and simulation. Initialization assigns initial positions and velocities to all atoms, though this step can be skipped in a continuous simulation. Equilibration allows the system to reach a configuration consistent with the target temperature and pressure. At equilibrium, system properties such as temperature, potential energy, and kinetic energy remain constant on average. Once equilibrium is established, a production simulation can be run, and the resulting data analyzed.

The available simulation types are:

Temperature can be controlled using two methods:

Pressure is calculated using the virial theorem. Pressure control is achieved by adjusting particle coordinates and the unit cell size under periodic boundary conditions. The Berendsen method couples the system to a pressure “bath” that maintains the target pressure by scaling atomic coordinates and cell edges at each step. The strength of the coupling depends on the user-defined normalized compressibility. Note that this method scales the cell uniformly, changing its size but not its shape.

DFF applies periodic boundary conditions for condensed-phase simulations, using the minimum image convention. Nonbond interactions can be evaluated with atom-based or charge-group-based cutoffs, both of which can be supplemented with cutoff tail corrections. The charge-group cutoff method is particularly effective for organic molecules, where small neutral charge groups can be defined. As shown in the following table, this method yields results nearly identical to those obtained with Ewald summation, but with significantly reduced computational cost:

System Cutoff Energy Density sec./step
Propane 6.5 -292.5±19.5 0.567±0.008 0.13
(N=1320) 8.5 -296.4±19.9 0.572±0.009 0.20
10.5 -298.4±19.2 0.572±0.008 0.33
12.5 -302.2±22.8 0.574±0.009 0.50
14.5 -301.6±20.6 0.573±0.009 0.75
Ewald -301.3±18.3 0.573±0.007 7.56
Ethanol 6.5 -1156.8±26.8 0.734±0.015 0.088
(N=900) 8.5 -1214.0±26.0 0.776±0.015 0.142
10.5 -1210.4±23.9 0.785±0.014 0.229
12.5 -1215.6±23.6 0.785±0.011 0.352
14.5 -1214.8±23.9 0.782±0.013 0.524
Ewald -1207.7±24.3 0.780±0.013 4.379