24小时热门版块排行榜    

Znn3bq.jpeg
查看: 359  |  回复: 2

上官七七

金虫 (小有名气)

[求助] 请大家帮我看看,为什么不能增加原子

# 3d EAM V surface diffusion

units                metal
boundary        p p s
atom_style        atomic

#-------------------create simulation lattice-------------------#
lattice                bcc 3.04139 orient x 1 0 0 orient y 0 1 -1 orient z 0 1 1
region                box block 0 8 0 8 0 16     #To define 5 lattice
create_box        2 box
create_atoms        1 box

#----------------to define the potential--------------#
pair_style        meam
pair_coeff        * * library.meam V V.meam V V

#---------------define the top layers and construct the vacuum-----------#
region          TopAtom block INF INF INF INF 16 INF    #To define a delete region
group           Top region TopAtom
delete_atoms    group Top

region          BotAtom block INF INF INF INF INF 0  #To define a delete region
group           Bot region BotAtom
delete_atoms    group Bot



#--------------constraint the adatom diffuse in the surface-------------#
#fix             constraint1 adAtom1 setforce NULL NULL 0.0
#velocity        adAtom1 set NULL NULL 0.0

#fix             constraint2 adAtom2 setforce NULL NULL 0.0
#velocity        adAtom2 set NULL NULL 0.0

#group           surf subtract all Bottom

timestep        0.001

#dump            id1 all xyz 1 initial_coor.xyz
run             0

variable        E equal pe
variable        N equal atoms
print           "the number of atoms & system energy now are $N $E"

neighbor        2 bin
neigh_modify        every 20 delay 0 check yes

#velocity        surf create 300.0 4928459 rot yes dist gaussian
print           "nvt performed, temperature up:$N atoms,total energy is $E"

compute         4 all temp
thermo_style    custom step temp etotal press
thermo_modify   temp 4
thermo          100

dump            id3 all xyz 1000 snap_all300k.xyz
#---------------set the NVT resemble and relax ---------------#
min_style       sd
minimize        1.0e-15 1.0e-10 1000 10000
fix             myRelax all nvt temp 10 100.0 0.1

run                10000
minimize        1.0e-20 1.0e-15 1000 10000
unfix           myRelax

fix             myRelax1 all nvt temp 100 100 0.1
run             5000
unfix           myRelax1

fix             nextRelax all nvt temp 100.0 300.0 0.1
run             10000
minimize        1.0e-30 1.0e-20 1000 10000
unfix           nextRelax

fix             nextRelax1 all nvt temp 300 300 0.1
run             20000
unfix           nextRelax1

fix             relax all nve
run             10000
unfix           relax

#----------------add  adatom----------------#
create_atoms    2 single 4 4 16 units lattice
region          adAtom1 block 4 4 4 4 16 16 units lattice
group           adAtom1 region adAtom1

create_atoms    2 single 4 4 0 units lattice
region          adAtom2 block 4 4 4 4 0 0 units lattice
group           adAtom2 region adAtom2
....

log文件中提示增加0个原子,  ???????
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

德胜才即君子
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

phq323

至尊木虫 (职业作家)

【答案】应助回帖

★ ★
感谢参与,应助指数 +1
上官七七(金币+1): 有帮助 谢谢你 祝天天向上 2012-01-30 21:28:56
chaizhm(金币+2): 2012-02-02 09:19:30
region          adAtom1 block 4 4 4 4 16 16 units lattice
看看这个region,4 4,还有吗?
改成4 4.1,看看。。。
顶帖也是一种收获!
2楼2012-01-30 20:13:47
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

上官七七

金虫 (小有名气)

呃  发现了  是那个16的问题  可能弛豫完后  这个位置已经被原子占了
德胜才即君子
3楼2012-01-30 21:29:49
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 上官七七 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 化学070300 求调剂 +24 哈哈哈^_^ 2026-04-12 24/1200 2026-04-16 10:25 by edgexjy
[硕博家园] 新一代电子信息294求调剂 不挑学校 +8 Ytyt11 2026-04-09 9/450 2026-04-16 10:13 by dick_runner
[考研] 327求调剂 +25 Xxjc1107. 2026-04-13 28/1400 2026-04-16 09:45 by 学员JpLReM
[考研] 322求调剂 +7 123安康 2026-04-12 14/700 2026-04-15 21:48 by noqvsozv
[考研] 22408 312求调剂 +20 门路摸摸 2026-04-14 21/1050 2026-04-15 20:39 by cuisz
[考研] 调剂 +12 月@163.com 2026-04-11 12/600 2026-04-14 15:37 by zs92450
[考研] 机械还有还有名额吗?太难了 +8 笑笑袁 2026-04-10 8/400 2026-04-14 08:44 by screening
[考研] 材料考研调剂 +29 云木达达 2026-04-11 31/1550 2026-04-13 13:32 by lyh鲁老师
[考研] 生物学调剂,一志愿西南大学348,Top期刊一区二作、二区三作,三等奖学金三次 +5 candyyyi 2026-04-09 5/250 2026-04-13 09:02 by 可淡不可忘
[考研] 一志愿西北工业大学289 085602 +33 yang婷 2026-04-10 34/1700 2026-04-12 08:11 by Art1977
[考研] 303求调剂 +14 SereinQ 2026-04-10 15/750 2026-04-11 20:43 by 蓝云思雨
[考研] 调剂求助 +6 果然有我 2026-04-11 7/350 2026-04-11 16:22 by 明月此时有
[考研] 求调剂,一志愿大连理工大学354分 +5 雨声余生 2026-04-11 6/300 2026-04-11 16:12 by 雨声余生
[考研] 机械专硕270求调剂,接受跨专业 +12 老师看看我吧aba 2026-04-09 14/700 2026-04-11 10:21 by laoshidan
[考研] 337求调剂 +4 研s. 2026-04-10 4/200 2026-04-11 08:57 by zhq0425
[考研] 中科院总分315求调剂 +8 lallalh 2026-04-09 8/400 2026-04-10 19:30 by dick_runner
[考研] 314求调剂 +18 xhhdjdjsjks 2026-04-09 19/950 2026-04-10 18:53 by HPUCZ
[考研] 一志愿京区985,085401电子信息,本科电子信息 +3 阳光开朗的男孩 2026-04-10 3/150 2026-04-10 16:29 by sophia_93
[考研] 一志愿沪9,326生物学求相关专业调剂 +4 刘墨墨 2026-04-09 4/200 2026-04-10 12:07 by pengliang8036
[考研] 求调剂 材料与工程 324分 专硕 +19 翩翩一书生 2026-04-10 21/1050 2026-04-10 11:41 by wp06
信息提示
请填处理意见