[lammps-users] EAM pair_coeff for alloys in funcl format


i’m interesting in running a NiCu alloy with an EAM potential. The potentials are in the funcl format.

I understand that LAMMPS creates automatically the mixing parameters for the alloy when the EAM
potential is given in funcl format. However, it’s not clear to me how the pair_coeff should be indicated.

For example, assuming Ni and Cu are atom-types 1 and 2, respectively, are the following commands
correct for studying a NiCu alloy with an EAM potential?

pair_style eam
pair_coeff 1 1 niu3
pair_coeff 2 2 cuu3



Yes. What you have there looks fine to me. For more detail, see the documentation here:


Especially relevant is this “important note”:

IMPORTANT NOTE: The eam style reads single-element EAM potentials in the DYNAMO funcfl format. Either single element or alloy systems can be modeled using multiple funcfl files and style eam. For the alloy case LAMMPS mixes the single-element potentials to produce alloy potentials, the same way that DYNAMO does. Alternatively, a single DYNAMO setfl file or Finnis/Sinclair EAM file can be used by LAMMPS to model alloy systems by invoking the eam/alloy or eam/fs styles as described below. These files require no mixing since they specify alloy interactions explicitly.