Eastsheng's Wiki

eam_database生成合金势文件

2023-07-08 18:11:28

[toc]

compile create.f

1
2
3
cd lammps/tools/eam_database/
gfortran create.f
# generate a.out file

edit EAM.input

1
2
3
4
5
6
7
8
&funccard
atomtype='Au'
&end
&funccard
atomtype='Ti'
&end
&funccard
&end

create an *.eam.alloy potential file

1
./a.out < EAM.input

Usage

1
2
pair_style eam/alloy
pair_coeff * * AuTi.eam.alloy Au Ti

References