| 查看: 638 | 回复: 2 | ||
pielang新虫 (小有名气)
|
[求助]
LAMMPS里面能设定一种粒子在模拟过程中一直往某个方向移动吗? 已有1人参与
|
| 就是设定一个粒子在某个方向速度为定值。模拟流动的状况。谢谢大家。 |
» 猜你喜欢
依托企业入选了国家启明计划青年人才。有无高校可以引进的。
已经有7人回复
遇见不省心的家人很难过
已经有24人回复
博士延得我,科研能力直往上蹿
已经有9人回复
天津大学招2026.09的博士生,欢迎大家推荐交流(博导是本人)
已经有6人回复
AI 太可怕了,写基金时,提出想法,直接生成的文字比自己想得深远,还有科学性
已经有6人回复
有院领导为了换新车,用横向课题经费买了俩车
已经有9人回复
酰胺脱乙酰基
已经有13人回复
同年申请2项不同项目,第1个项目里不写第2个项目的信息,可以吗
已经有4人回复
有时候真觉得大城市人没有县城人甚至个体户幸福
已经有10人回复
» 本主题相关价值贴推荐,对您同样有帮助:
想做粒子和固体(金属)相互作用,不知道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













回复此楼