| 查看: 2821 | 回复: 10 | ||
| 当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖 | ||
liuchenhan新虫 (小有名气)
|
[求助]
有关create_atoms相关命令 已有1人参与
|
|
|
本人脚本中先读结构文件nanonew.xyz,原子类型1-12,然后利用create_atoms命令生成一些其他原子,想安排这些原子的类型为13,但总是报错,请各位帮忙指导一下,实现我想要的功能,非常感谢。 units metal dimension 3 boundary s s s neighbor 2.0 nsq #force field ******************************************************* atom_style atomic read_data nanonew.xyz lattice custom 4.32 a1 1.0 0.0 0.0 a2 0.0 0.577350269 0.0 a3 0.0 0.0 1.0 basis 0.0 0.5 0.0 basis 0.3333333333333 0.5 0.0 basis 0.5 0.0 0.0 basis 0.83333333333 0.0 0.0 #lattice custom 3.52 a1 1.0 0.0 0.0 a2 0.0 0.577350269 0.0 a3 0.0 0.0 1.0 basis 0.0 0.0 0.0 region boxx block 0 3 0 3 0 2 #create_box 1 box create_atoms 13 region boxx mass 13 28.0 pair_style lj/cut 3.0 pair_coeff * * 0.024 3.4 velocity all create 300 58127640 mom yes rot yes dist gaussian units box #300K fix 3 all temp/berendsen 300 300 0.05 #set the T of mobile is 300K while the initial value is300K thermo_style custom step temp etotal vol #thermo_modify lost warn thermo 100 timestep 0.0005 dump id1 all custom 1000 dump.lammpstrj id type x y z compute mytempall all temp/com fix Tall all ave/time 1 100 100 c_mytempall file Tall.txt dump last all custom 40000 dump.last type x y z run 40000 报错信息如下: LAMMPS (14 May 2013) Reading data file ... orthogonal box = (-0.1 -0.1 -0.1) to (28.7 40.7 100) 1 by 1 by 1 MPI processor grid 240 atoms Lattice spacing in x,y,z = 4.32 2.49415 4.32 ERROR: Illegal create_atoms command (../create_atoms.cpp:109) |
» 猜你喜欢
极限拉扯,如何抉择
已经有16人回复
40+中年人失业后,还能找到好工作吗?
已经有16人回复
人工智能虚构史料、伪造文献频现,多家期刊声明抵制
已经有4人回复
CsPbI2Br全无机钙钛矿SEM图像异常分析
已经有8人回复
用NBS溴化时溶剂除了CCl4外还有什么
已经有9人回复
申请科研项目纯靠实力能成功吗?
已经有12人回复
preach0519
木虫 (小有名气)
- 应助: 2 (幼儿园)
- 金币: 2530.6
- 散金: 128
- 红花: 2
- 帖子: 296
- 在线: 80.2小时
- 虫号: 1247427
- 注册: 2011-03-28
- 专业: 理论和计算化学

11楼2015-10-31 10:10:25
2楼2014-06-25 19:51:23
liuchenhan
新虫 (小有名气)
- 应助: 0 (幼儿园)
- 金币: 1536.5
- 散金: 4
- 帖子: 170
- 在线: 108小时
- 虫号: 1508714
- 注册: 2011-11-25
- 专业: 传热传质学
3楼2014-06-26 08:30:16
liuchenhan
新虫 (小有名气)
- 应助: 0 (幼儿园)
- 金币: 1536.5
- 散金: 4
- 帖子: 170
- 在线: 108小时
- 虫号: 1508714
- 注册: 2011-11-25
- 专业: 传热传质学
4楼2014-06-26 09:38:16










回复此楼