where N a is the number of a particles, | r ij | is the magnitude of the separation of the pair of particles i,j. Atomistic simulations can also be used in conjunction with interatomic pair potential functions in order to calculate macroscopic thermodynamic parameters such as the internal energy, Gibbs free energy, entropy and enthalpy of the system.