|
 
- 帖子
- 307
- 精华
- 0
- 积分
- 128
- 威望
- 24 点
- 金币
- 817 枚
- 贡献
- 0 点
- 讨论指数
- 80 点
- 求助指数
- 0 点
  
|
回复 板凳 sunysb 的帖子
in case of EAM
The EAM potentials LAMMPS uses are tabulated in files,
so in principal you can use any functional form for any
material, tabulate it, and read it in from a file. The
pair_style eam doc page lists some WWW sites that
have EAM files for different materials in the right
format, or you could convert them.
It you want an analytic EAM form (e.g. Sutton/Chen),
you could implement it, e.g. as pair_style eam/suttonchen
and hard code the formulas. This is not hard to do;
most pair potentials in LAMMPS are in that mode.
Start with a doc page thta defines the needed inputs
and code up the formulas and send it to me. It would
then be easy to make a new pair style file.
You'll need to write a doc page similar to doc/pair_eam.txt,
call it pair_eam_spline.txt. This will force you to define
exactly what parameters you want to input, so it's
helpful in defining what needs to be coded.
potential itself, yes code the energy and force in C
or C++ for the equations.
steve
|
-
1
评分次数
-
|