24小时热门版块排行榜    

查看: 5685  |  回复: 29
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

lyc592475024

铁杆木虫 (正式写手)

[交流] 关于LAMMPS中EAM势的问题 已有5人参与

请问有没有人知道   如果我要使用EAM势计算铁,定义
pair_style   eam
那我的      
pair_coeff 应该怎么定义呢?

为什么运行时总是提示     ERROR: Unknown pair style (../force.cpp:190)
回复此楼
已阅   关注TA 给TA发消息 送TA红花 TA的回帖

alundilong

木虫 (正式写手)

★
小木虫: 金币+0.5, 给个红包,谢谢回帖
引用回帖:
5楼: Originally posted by lyc592475024 at 2016-05-17 16:00:39
我按照这个还是提示   ERROR: Unknown pair style (../force.cpp:190)

但是如果换成 LJ势,却能正常运行...

是否安装了manybody 的包?
Restrictions
All of these styles except the eam/cd style are part of the MANYBODY package. They are only enabled if LAMMPS was built with that package (which it is by default). See the Making LAMMPS section for more info.

The eam/cd style is part of the USER-MISC package and also requires the MANYBODY package. It is only enabled if LAMMPS was built with those packages. See the Making LAMMPS section for more info.
6楼2016-05-18 06:26:32
已阅   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 30 个回答

lyc592475024

铁杆木虫 (正式写手)

为什么我的LAMMPS识别不了EAM势?
2楼2016-05-18 04:34:00
已阅   关注TA 给TA发消息 送TA红花 TA的回帖

alundilong

木虫 (正式写手)

★
小木虫: 金币+0.5, 给个红包,谢谢回帖
lyc592475024: 回帖置顶 2016-05-18 06:25:58
pair_style eam
pair_coeff * * cuu3
pair_coeff 1*3 1*3 niu3.eam

这里的cuu3和niu3.eam都是文件名,在代码附带的potential文件夹里可以找到。
参见:http://lammps.sandia.gov/doc/pair_eam.html
3楼2016-05-18 05:49:15
已阅   关注TA 给TA发消息 送TA红花 TA的回帖

lyc592475024

铁杆木虫 (正式写手)

引用回帖:
3楼: Originally posted by alundilong at 2016-05-18 05:49:15
pair_style eam
pair_coeff * * cuu3
pair_coeff 1*3 1*3 niu3.eam

这里的cuu3和niu3.eam都是文件名,在代码附带的potential文件夹里可以找到。
参见:http://lammps.sandia.gov/doc/pair_eam.html

我按照这个写是提示   ERROR: Unknown pair style (../force.cpp:190)

但是如果换成 LJ势,却能正常运行
4楼2016-05-18 06:00:32
已阅   关注TA 给TA发消息 送TA红花 TA的回帖
信息提示
请填处理意见