| 查看: 2188 | 回复: 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) |
» 收录本帖的淘帖专辑推荐
分子动力学 |
» 猜你喜欢
不自信的我
已经有11人回复
北核录用
已经有3人回复
要不要辞职读博?
已经有6人回复
实验室接单子
已经有3人回复
磺酰氟产物,毕不了业了!
已经有8人回复
求助:我三月中下旬出站,青基依托单位怎么办?
已经有10人回复
26申博(荧光探针方向,有机合成)
已经有4人回复
论文终于录用啦!满足毕业条件了
已经有26人回复
2026年机械制造与材料应用国际会议 (ICMMMA 2026)
已经有4人回复
Cas 72-43-5需要30g,定制合成,能接单的留言
已经有8人回复
» 本主题相关价值贴推荐,对您同样有帮助:
lammps运行出错:ERROR: Illegal fix nvt/npt/nph command (fix_nh.cpp:317)
已经有7人回复
【求助】关于LAMMPS建模
已经有9人回复
pair_style coul/cut 的测试
已经有3人回复
关于fix wall/region命令的问题
已经有7人回复
关于lammps中的in文件运行时的错误问题查找
已经有10人回复
关于用Lammps模拟Cu熔点的例子问题
已经有7人回复
关于restart,geom=check,guess=read命令使用的问题
已经有8人回复
【讨论】想学lammps是否应该先学习C++
已经有28人回复
liuchenhan
新虫 (小有名气)
- 应助: 0 (幼儿园)
- 金币: 1536.5
- 散金: 4
- 帖子: 170
- 在线: 108小时
- 虫号: 1508714
- 注册: 2011-11-25
- 专业: 传热传质学
4楼2014-06-26 09:38:16
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
fei5122917
新虫 (初入文坛)
- 应助: 1 (幼儿园)
- 金币: 164.8
- 红花: 1
- 帖子: 44
- 在线: 29.9小时
- 虫号: 3310778
- 注册: 2014-07-07
- 专业: 微/纳机械系统
7楼2014-12-11 15:10:39












回复此楼