24小时热门版块排行榜    

查看: 353  |  回复: 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的回帖
相关版块跳转 我要订阅楼主 上官七七 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 工科材料085601 279求调剂 +8 困于星晨 2026-03-17 10/500 2026-03-23 13:05 by 醉在风里
[考研] 306求0703调剂一志愿华中师范 +6 纸鱼ly 2026-03-21 6/300 2026-03-23 12:08 by Iveryant
[考研] 0854电子信息求调剂 +3 α____ 2026-03-22 3/150 2026-03-22 21:28 by zhq0425
[考研] 一志愿武理材料工程348求调剂 +5  ̄^ ̄゜汗 2026-03-19 7/350 2026-03-22 19:44 by 公瑾逍遥
[考研] 303求调剂 +5 安忆灵 2026-03-22 6/300 2026-03-22 12:46 by 素颜倾城1988
[考研] 考研调剂 +4 来好运来来来 2026-03-21 4/200 2026-03-22 12:15 by 星空星月
[考研] 285求调剂 +6 ytter 2026-03-22 6/300 2026-03-22 12:09 by 星空星月
[考研] 0856材料专硕353求调剂 +4 NIFFFfff 2026-03-20 4/200 2026-03-22 09:49 by 2026paper
[考研] 一志愿南大,0703化学,分数336,求调剂 +3 收到VS 2026-03-21 3/150 2026-03-21 18:42 by 学员8dgXkO
[考研] 299求调剂 +4 某某某某位 2026-03-21 4/200 2026-03-21 16:30 by barlinike
[考研] 求调剂 +6 Mqqqqqq 2026-03-19 6/300 2026-03-21 08:04 by JourneyLucky
[考研] 307求调剂 +3 wyyyqx 2026-03-17 3/150 2026-03-21 03:20 by JourneyLucky
[考研] 265求调剂 +9 梁梁校校 2026-03-17 9/450 2026-03-21 02:17 by JourneyLucky
[考研] 一志愿 西北大学 ,070300化学学硕,总分287,双非一本,求调剂。 +3 晨昏线与星海 2026-03-18 3/150 2026-03-21 00:46 by JourneyLucky
[考研] 一志愿西南交大,求调剂 +5 材化逐梦人 2026-03-18 5/250 2026-03-21 00:26 by JourneyLucky
[考研] 材料专业求调剂 +6 hanamiko 2026-03-18 6/300 2026-03-21 00:24 by JourneyLucky
[考博] 申博26年 +3 八6八68 2026-03-19 3/150 2026-03-19 19:43 by nxgogo
[考研] 0703化学调剂 +5 pupcoco 2026-03-17 8/400 2026-03-19 13:58 by houyaoxu
[考研] 本科郑州大学物理学院,一志愿华科070200学硕,346求调剂 +4 我不是一根葱 2026-03-18 4/200 2026-03-19 09:11 by 浮云166
[考博] 26博士申请 +3 1042136743 2026-03-17 3/150 2026-03-17 23:30 by 轻松不少随
信息提示
请填处理意见