24小时热门版块排行榜    

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

xiyexichuan

新虫 (初入文坛)

[求助] 求教如何计算一组原子的转动动能 已有1人参与

看了手册上有compute erotate/rigid命令,前提是计算的那组原子要先fix rigid成为刚体,但我设置了几次,模拟出来结果,想要算的那组原子只是在原地打转了,而不是像原来没有计算时那样向前滚动。下面是我用到的相关语句,moving-part是要计算的原子组,unrigid是除了moving-part外剩下的原子成为一组:
fix 1 unrigid  nve
fix 10 moving-part rigid single
compute   8  moving-part erotate/rigid 10
想求教大神们都是怎们用该命令的,或者怎么计算转动动能的
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

alundilong

木虫 (正式写手)

【答案】应助回帖

感谢参与,应助指数 +1
fix 1 unrigid  nve
fix 10 moving-part rigid single
compute   8  moving-part erotate/rigid 10

VS

fix 1 unrigid  nve
fix 10 moving-part rigid single
//compute   8  moving-part erotate/rigid 10

楼主是说有"compute   8  moving-part erotate/rigid 10"没有,结果不同吗?这个不可能啊
4楼2016-08-29 23:10:07
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 8 个回答

xiyexichuan

新虫 (初入文坛)

送红花一朵
2楼2016-08-28 16:43:05
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

a_jin

新虫 (初入文坛)

3楼2016-08-29 07:46:50
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

xiyexichuan

新虫 (初入文坛)

引用回帖:
4楼: Originally posted by alundilong at 2016-08-29 23:10:07
fix 1 unrigid  nve
fix 10 moving-part rigid single
compute   8  moving-part erotate/rigid 10

VS

fix 1 unrigid  nve
fix 10 moving-part rigid single
//compute   8  moving-part erotate/rigid 1 ...

额不是,原来我没计算转动动能,所以也没弄fix rigid命令,是后来填上fix rigid命令后运动不一样了,moving-part不往前滚了,而是原地打转了

发自小木虫IOS客户端
5楼2016-08-30 09:08:47
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
信息提示
请填处理意见