Thank you for your reply,
I read lammps documentation about eam and eam/alloy pair_styles and setfl and funcfl file format.
Also I studied Pair_eam.cpp and Pair_eam_alloy.cpp, carefully.
I realized differences of single element potential file in funcfl format and setfl format that are:
1- file header
2-order of arrays
3-Z2R values versus effective charge
I can convert single element funcfl format to single element setfl format
by using this equation: Z2R = 27.20.529zri*zri. After this conversion,
I run two simulation by same properties with this difference that the first
simulation used funcfl format with eam pair_style, and the second simulation
used setfl format with eam/alloy pair_style. Results were identical with each other.
By using the above equation, funcfl format conversion to setfl format is simple,
but reverse conversion (setfl to funcfl) is impossible because of negative values in
I am searching for a eam mixing rule that can mix Al.eam.alloy and Ce.eam.alloy
for Al-Ce interaction, these two single element potential files are in setfl format.
Lammps documentation say eam pair_style can mix two funcfl file automatically:
Z2R = 27.20.529zri*zrj
But according to the above descriptions (setfl conversion to funcfl is impossible)
I should look the other ways for mixing these two files.
I worked with lammps tools directory (eam_generate and eam_database),
eam_database tools creates binary setfl potential file that read eam parameters
from EAM_code file but Cerium eam parameters are not included. So this tool can’t help me.
According to the eam_database tool and this paper (PHYSICAL REVIEW B VOLUME 39, NUMBER 17
“Alloy models with the embedded-atom method” R. A. Johnson),
I used below mixing rule:
f1 = fa® / fb®
f2 = fb® / fa®
Z2R1 = f1 * Z2Rb®
Z2R2 = f2 * Z2Ra®
Z2Rab® = 0.5*( Z2R1 + Z2R2)
I did above instructions by AWK and made one potential file in setfl format that include Al-Ce
I start Al-Ce simulation at 100 K,by Beta_Ce3Al structure
(Qiao-Shi Zenga et al. Substitutional alloy of Ce and Al. PNAS, February 24, 2009 vol. 106 no. 8 2515-2518)
Unfortunately during simulation after first time step, results showed extremely increasing
in volume, and the alloy structure destroyed at 100K temperature that caused stopping me.
I did same instructions for Cu.eam.alloy and Zr.eam.alloy too, (B2 structure) but similar conclusion
was reached !
How can I mix these files?
Master student of Nanotechnology engineering