| 查看: 1476 | 回复: 4 | ||
atfqf木虫 (正式写手)
|
[求助]
Lammps rotate 求助 已有1人参与
|
|
求解各位displace_atoms rotate怎么用 官网上的解释着实不清楚哎。 rotate args = Px Py Pz Rx Ry Rz theta Px,Py,Pz = origin point of axis of rotation (distance units) Rx,Ry,Rz = axis of rotation vector theta = angle of rotation (degrees) The rotate style rotates each atom in the group by the angle theta around a rotation axis R = (Rx,Ry,Rz) that goes thru a point P = (Px,Py,Pz). The direction of rotation for the atoms around the rotation axis is consistent with the right-hand rule: if your right-hand's thumb points along R, then your fingers wrap around the axis in the direction of positive theta. 求解到底Px Py Pz Rx Ry Rz是什么?是不是可以理解成R是旋转轴,P是转轴经过的点?如果要绕z轴转30°怎么表示? 还有那个角度怎么写,比如30°,是写成30,还是pi/6啊什么的? 求各位帮忙! |
» 猜你喜欢
AI 太可怕了,写基金时,提出想法,直接生成的文字比自己想得深远,还有科学性
已经有6人回复
有院领导为了换新车,用横向课题经费买了俩车
已经有9人回复
酰胺脱乙酰基
已经有13人回复
博士延得我,科研能力直往上蹿
已经有8人回复
同年申请2项不同项目,第1个项目里不写第2个项目的信息,可以吗
已经有4人回复
有时候真觉得大城市人没有县城人甚至个体户幸福
已经有10人回复
天津大学招2026.09的博士生,欢迎大家推荐交流(博导是本人)
已经有5人回复
遇见不省心的家人很难过
已经有22人回复
» 本主题相关价值贴推荐,对您同样有帮助:
atfqf
木虫 (正式写手)
- 应助: 1 (幼儿园)
- 金币: 2272.6
- 散金: 15
- 帖子: 309
- 在线: 39.6小时
- 虫号: 1568634
- 注册: 2012-01-08
- 性别: GG
- 专业: 凝聚态物性I:结构、力学和
2楼2015-01-09 09:17:08
xbb20121991
银虫 (小有名气)
- 应助: 18 (小学生)
- 金币: 443.6
- 红花: 7
- 帖子: 140
- 在线: 114.1小时
- 虫号: 3435358
- 注册: 2014-09-23
- 专业: 金属材料的微观结构
【答案】应助回帖
★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★
atfqf(月只蓝代发): 金币+5, 感谢指导! 2015-01-09 13:53:43
月只蓝: 麻烦把附图以png格式重新上传一下,以更好地帮助求助者。 2015-01-09 14:05:17
atfqf: 金币+15 2015-01-22 13:12:13
atfqf(月只蓝代发): 金币+5, 感谢指导! 2015-01-09 13:53:43
月只蓝: 麻烦把附图以png格式重新上传一下,以更好地帮助求助者。 2015-01-09 14:05:17
atfqf: 金币+15 2015-01-22 13:12:13
|
可以看下这个图例。 P代表旋转轴的原点,R是旋转轴的矢量。 两者一起定义了一个选择轴。另外theta是角度单位,就是30度,manual上写的单位是degree。 我觉得这么理解应该没错。 图不是出自LAMMPS的相关文件,是网上搜的。 然后再去实践一下,如果方便可以把结果交流,大家就对这个命令更加了解了 example of rotation.gif |
3楼2015-01-09 10:48:47
xbb20121991
银虫 (小有名气)
- 应助: 18 (小学生)
- 金币: 443.6
- 红花: 7
- 帖子: 140
- 在线: 114.1小时
- 虫号: 3435358
- 注册: 2014-09-23
- 专业: 金属材料的微观结构
4楼2015-01-12 10:57:30
5楼2015-06-29 21:15:23













回复此楼