| 查看: 619 | 回复: 2 | ||
pielang新虫 (小有名气)
|
[求助]
LAMMPS里面能设定一种粒子在模拟过程中一直往某个方向移动吗? 已有1人参与
|
| 就是设定一个粒子在某个方向速度为定值。模拟流动的状况。谢谢大家。 |
» 猜你喜欢
基金委咋了?2026年的指南还没有出来?
已经有4人回复
纳米粒子粒径的测量
已经有8人回复
疑惑?
已经有5人回复
国自然申请面上模板最新2026版出了吗?
已经有14人回复
计算机、0854电子信息(085401-058412)调剂
已经有5人回复
Materials Today Chemistry审稿周期
已经有5人回复
溴的反应液脱色
已经有7人回复
推荐一本书
已经有12人回复
基金申报
已经有4人回复
常年博士招收(双一流,工科)
已经有4人回复
» 本主题相关价值贴推荐,对您同样有帮助:
想做粒子和固体(金属)相互作用,不知道lammps能否实现?
已经有6人回复
lammps deposit 粒子初始速度为0?
已经有12人回复
lammps 离子液体,离子中相邻隔的挺远的原子成键了,不知什么原因
已经有8人回复
薄膜在lammps条件下的谐振
已经有5人回复
ktwyw
木虫 (小有名气)
- 模拟EPI: 1
- 应助: 11 (小学生)
- 金币: 2726.8
- 散金: 500
- 红花: 41
- 帖子: 162
- 在线: 114.6小时
- 虫号: 143500
- 注册: 2005-12-22
- 专业: 高分子物理与高分子物理化
【答案】应助回帖
★ ★ ★ ★ ★ ★ ★ ★ ★ ★
感谢参与,应助指数 +1
pielang: 金币+10, ★★★★★最佳答案 2014-12-18 13:20:04
感谢参与,应助指数 +1
pielang: 金币+10, ★★★★★最佳答案 2014-12-18 13:20:04
|
使用这个指令fix setforce command 可以实现你想要的功能: http://lammps.sandia.gov/doc/fix_setforce.html 你需要做的是恰当的设定你想要定向移动的粒子的初始速度,然后这个fix将它所受的力设为0.0 0.0 0.0,这样它就会匀速向前移动。 fix setforce command Description: Set each component of force on each atom in the group to the specified values fx,fy,fz. This erases all previously computed forces on the atom, though additional fixes could add new forces. This command can be used to freeze certain atoms in the simulation by zeroing their force, either for running dynamics or performing an energy minimization. For dynamics, this assumes their initial velocity is also zero. Any of the fx,fy,fz values can be specified as NULL which means do not alter the force component in that dimension. |

2楼2014-12-18 09:06:56
pielang
新虫 (小有名气)
- 应助: 2 (幼儿园)
- 金币: 341
- 散金: 16
- 帖子: 121
- 在线: 24.8小时
- 虫号: 1523997
- 注册: 2011-12-05
- 专业: 无机非金属基复合材料
3楼2014-12-18 13:19:59











回复此楼