24小时热门版块排行榜    

CyRhmU.jpeg
查看: 2907  |  回复: 3

kanminbad

金虫 (小有名气)

[求助] lammps里面的pair_coeff设置问题

仔细看了mannual;

假设pair_style lj/cut 8.0
为什么
pair_coeff * * 1.0 1.0 2.5
还要这样设置?lj不是只需要sigma、epislon两个参数么?cutoff已经设过、

这个2.5是什么意思?

同理,如果pair_style lj/cut/coul/cut 10.0
                  pair_coeff * * 这里是设置2个还是3个参数呢?

多谢!

[ Last edited by kanminbad on 2011-12-26 at 22:52 ]
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

dinghuachen

铁杆木虫 (正式写手)

【答案】应助回帖

★ ★ ★ ★ ★
感谢参与,应助指数 +1
chaizhm(金币+5): 谢谢~ 2011-12-28 10:46:25
根据手册:
The latter 2 coefficients are optional. If not specified, the global LJ and Coulombic cutoffs specified in the pair_style command are used. If only one cutoff is specified, it is used as the cutoff for both LJ and Coulombic interactions for this type pair. If both coefficients are specified, they are used as the LJ and Coulombic cutoffs for
this type pair. You cannot specify 2 cutoffs for style lj/cut, since it has no Coulombic terms.
假设pair_style lj/cut 8.0  pair_coeff 1 1 1.0 1.0 2.5
这里的2.5就是type 1的原子和type 1的原子之间LJ势的截断半径,其余(例如type 2和type2 之间LJ势)的截断半径为8.0.
Where-amazing-happens.
2楼2011-12-27 10:11:36
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

gebitingqin

铁虫 (小有名气)

★ ★ ★
chaizhm(金币+3): 谢谢~ 2011-12-28 10:46:35
引用回帖:
2楼: Originally posted by dinghuachen at 2011-12-27 10:11:36:
根据手册:
The latter 2 coefficients are optional. If not specified, the global LJ and Coulombic cutoffs specified in the pair_style command are used. If only one cutoff is specified, it is used a ...

其实我也大概是这么理解的

在pair_style lj/cut  设置的是全局cutoff
   pair_coeff         设置的是部分cutoff

就是不清楚是不是这么回事。

另,lammps里面如何判定那些原子间需要算vanderwalls能?
做事情有明确的目的和充分的准备
3楼2011-12-27 10:37:28
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

dinghuachen

铁杆木虫 (正式写手)

★ ★
chaizhm(金币+2): 谢谢~ 2011-12-28 10:46:45
引用回帖:
3楼: Originally posted by gebitingqin at 2011-12-27 10:37:28:
其实我也大概是这么理解的

在pair_style lj/cut  设置的是全局cutoff
   pair_coeff         设置的是部分cutoff

就是不清楚是不是这么回事。

另,lammps里面如何判定那些原子间需要算vanderwalls能?

不是很理解你的意思。设定了lj势的不都是要算的吗?如果你想部分用lj,部分用coul,可以用pair hybrid相关的命令。
Where-amazing-happens.
4楼2011-12-28 10:31:43
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 kanminbad 的主题更新
信息提示
请填处理意见