| 查看: 501 | 回复: 0 | |||
[交流]
fix addtorque
|
|
大家有用过fix addtorque的吗?我想让一组原子转起来,可是从生成视频里看不到转动,下面是代码,有什么问题吗? # 3-d LJ xuanzhuan simulation dimension 3 boundary f f p atom_style atomic neighbor 0.3 bin neigh_modify every 1 delay 1 # create geometry lattice bcc 1.14 region 1 cylinder z 5 5 5 -3.0 3.0 create_box 1 1 create_atoms 1 region 1 mass 1 1.0 group zhuanzi region 1 # LJ potentials pair_style lj/cut 2.5 pair_coeff 1 1 1.0 1.0 2.5 # initial velocities compute mobile zhuanzi temp fix 2 zhuanzi rigid group 1 zhuanzi fix 3 zhuanzi addtorque 0 0 1 #Run timestep 0.003 thermo 1000 thermo_style custom step atoms temp thermo_modify lost ignore flush yes dump 3 all image 1000 image.*.jpg type type zoom 1.6 adiam 1.2 dump 4 all movie 10 movie.mpg type type zoom 1.6 adiam 1.2 run 10000 |
» 猜你喜欢
【急招】合肥工大核聚变材料计算方向2026级工程博士生
已经有4人回复
大豆异黄酮分离
已经有0人回复
物理学I论文润色/翻译怎么收费?
已经有245人回复
湖南大学材料学院急招2026年博士生,临时增加一名博士联培指标
已经有10人回复
天津理工大学晶体材料全国重点实验室刘红军教授课题组招收博士生1-2名
已经有1人回复
中国科学院物理研究所谌志国研究员团队招收2027年博士研究生
已经有4人回复
2026年中德博士后交流项目 - 新型量子和磁性材料:材料制备表征和中子散射研究
已经有12人回复
26申博推荐:南京航空航天大学国际前沿院光学方向招收博士生!
已经有1人回复











回复此楼