Force Field Menu — Managing Force Fields
These commands manage force field files. In DFF, force fields are written as .ppf files.
New Force Field opens a dialog for creating a new force field for the selected models. By default, the force field is filled with estimated parameters (Estimate parameters). First, select one or multiple models, which are listed in Selected Models, then select Force field type from a pulldown menu. The Atom typing rule can be set as Default or using a definition script (*.def or *.ext) found in the <dff-root>/data/TypingScripts folder. Atom type equivalence sets how the apparent atom types are mapped to equivalent atom types, which impacts the real number of atom types used in the force field. Next, enter a name for the force field; the default is NewFF.ppf. Click OK to launch a background job. When the job is done, the new force field should be displayed in a dialog that shows the force field parameters. This dialog can also be opened by double-clicking a force field file in the Project Navigator.

There are three sections in the table. At the top are commands that can be performed on parameters. The middle section displays the parameter table and the optional equivalence table. The bottom portion contains commands for the force field file.
Commands that can be performed on parameters are Display Missing Parameters, Copy, Delete, Freeze, and Relax. To use these commands, select one or more lines in the parameter spreadsheet and click a button. Display Missing Parameters is activated if parameters are missing (empty lines), and shows atoms associated with the missing terms. Copy copies the selected lines and appends them to the table. Delete removes selected lines from the table. Freeze prevents parameters from being adjusted and marks them with an asterisk (*). Relax allows frozen parameters to be adjusted and removes the asterisk.
The parameter spreadsheet has six columns: Table, Version, Terms, Atom Types, Parameters, and Reference. Table shows the database table from which parameters are taken. Version displays the parameter version number, and Reference indexes the reference list. These terms may be empty if a force field was not taken from a TEAM-FF database. The central three columns — Terms, Atom Types, and Parameters — are essential for any force field.
Clicking column headers sorts the lines accordingly, which is helpful for finding terms. Atom Types and Parameters cells are editable. Double-click a cell to change its values. Right-clicking a line brings up three commands: Freeze force constants, Reverse to original, and Set to zero. These commands provide additional ways to control parameters, which is useful for difficult fitting tasks.
Commands that can be performed on the force field file are Save As, Save, and OK to close the dialog.
Import Force Field converts force field files in other formats to the DFF PPF file format. It reads AMBER, CHARMM, CFF, and DREIDING formats. In the Importing Force Field dialog, Force field type lists supported file formats. Import from lists the file location, and Browse navigates to the file. When Protect imported parameters is selected, imported parameters are frozen. When Active parameters only is selected, only required parameters of the selected model are imported. Save to indicates where imported parameters are saved.
Assign Atom Type assigns atom types to models using an Assign Atom Types dialog. In this dialog, four methods can be used: Use Default typing rules calculates atom types; Use scripted typing rules lets you select typing scripts from the pulldown menu; Replace atom type from, in which all atoms can be switched from one type to another; and Assign type for Atom, in which atom types can be changed for a particular atom. Execute assigns atom types using the selected rules.
Define Typing Rules opens an Atom Type Definitions dialog to create or modify a typing rule file.

The typing rule file (.def) must be placed in the <dff-root>/data folder. New → Select opens or creates a .def file. The Atom Type Definitions dialog is divided into two main regions. The definition tree on the left shows the relationships between all defined atom types. Child nodes are derived from a parent node and are more specifically defined than their parent. Siblings are exclusively defined so that there is no ambiguity. Clicking any node of the definition tree displays properties of the selected atom type on the right side of the dialog.
The definition tree also indicates how atom types are searched and compared. Each atom type is a node on the tree, and the order shown in the tree sets the precedence order for assigning atom types, with types at lower-order nodes taking precedence over higher-order nodes. Move Up and Move Down move an atom type up or down at the same level. A Validate button checks for conflicts between the selected definition and its sub-definitions.
An atom type definition must specify properties of the center atom and its neighboring atoms. These properties are also displayed in a small tree structure on the right side of the Atom Type Definitions dialog. The center atom is the root node, while neighboring atoms are subnodes. Click the root node or any subnode to review its properties. The Element pulldown displays the element of the selected node, which can be changed. Once an element is selected, checking Exclude selected element sets the selected element as exclusive (every element but this one). Order sets the bond order of a subnode to its super-node. For the root node, Order is grayed out. Connect indicates how many subnodes a selected node has. Add Conn or Del Conn increases or decreases available subnodes. Aromatic can be set to Yes, No, or ? (Unknown); Ring indicates ring number, and FormalCharge sets the formal charge. The Atom Type section lists the Name of the defined atom type, and Comment provides a description of the definition to be saved in the .def file.
After a definition is specified, Add adds a new type to the definition tree. Delete removes a type from the definition tree. Update applies any changes to a selected node's attributes. Save writes the revised definitions to the .def file. Close quits the dialog without saving.
Define Force Field Type opens a dialog to define a new force field type. In this dialog, Type Name can be any string representing the type to be defined. Functional terms can be specified using Select, which opens a Select Function Term dialog listing all available terms. There are two panels, Basic Term and Cross Term. By default, none of the checkboxes are selected. A function term can be set by clicking its checkbox and selecting a functional form from the pulldown list. After selecting terms, close the dialog to save the new type definition. You may use it by creating a new USERDEFINE-type force field.
Assign Atom Charges assigns partial charges using the charge parameters of an associated or selected force field. It is active only when charge parameters are available in the selected force field.
Define Force Field Type opens a dialog to create a custom force field type by selecting supported force field functions. The force field type is saved in a file myForceFieldType.dat in your working directory.
Modify Force Field Type opens a dialog to modify a user-defined force field type.
Atom Type Properties opens the AtomTypes.dat file and shows the atom type properties used to make automatic parameters. You can modify these properties using chemical intuition or reliable data as reference. Selecting an atom shows relevant properties for the atom; you can also input the atom type. Cancel quits this command, Load updates the table, and Save saves the properties. Note that you must have write permission to <dff-root>\data\.