24小时热门版块排行榜    

查看: 350  |  回复: 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的回帖
相关版块跳转 我要订阅楼主 上官七七 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 材料与化工085600,总分304,本科有两篇sci参与,求调剂 +4 幸运的酱酱 2026-03-22 5/250 2026-03-22 20:15 by edmund7
[考研] 招08考数学 +4 laoshidan 2026-03-20 8/400 2026-03-22 19:56 by 小皮蛋酱
[考研] 求调剂院校信息 +6 CX 330 2026-03-21 6/300 2026-03-22 15:25 by 无懈可击111
[考研] 广西大学材料导师推荐 +3 夏夏夏小正 2026-03-17 5/250 2026-03-21 22:20 by 金昊ML
[考研] 一志愿重庆大学085700资源与环境总分308求调剂 +7 墨墨漠 2026-03-20 7/350 2026-03-21 16:36 by barlinike
[考研] 279求调剂 +5 红衣隐官 2026-03-21 5/250 2026-03-21 14:59 by lature00
[考研] 085601调剂 358分 +3 zzzzggh 2026-03-20 4/200 2026-03-21 10:21 by luoyongfeng
[考研] 求调剂 +6 Mqqqqqq 2026-03-19 6/300 2026-03-21 08:04 by JourneyLucky
[考研] 265求调剂 +3 Jack?k?y 2026-03-17 3/150 2026-03-21 03:17 by JourneyLucky
[考研] 求调剂 +3 Ma_xt 2026-03-17 3/150 2026-03-21 02:05 by JourneyLucky
[考研] 324分 085600材料化工求调剂 +4 llllkkkhh 2026-03-18 4/200 2026-03-21 01:24 by JourneyLucky
[考研] 一志愿华中科技大学,080502,354分求调剂 +5 守候夕阳CF 2026-03-18 5/250 2026-03-21 01:06 by JourneyLucky
[考研] 271材料工程求调剂 +8 .6lL 2026-03-18 8/400 2026-03-21 00:58 by JourneyLucky
[考研] 一志愿 西北大学 ,070300化学学硕,总分287,双非一本,求调剂。 +3 晨昏线与星海 2026-03-18 3/150 2026-03-21 00:46 by JourneyLucky
[考研] 22408 344分 求调剂 一志愿 华电计算机技术 +4 solanXXX 2026-03-20 4/200 2026-03-20 23:49 by alg094825
[考研] 一志愿南京理工大学085701资源与环境302分求调剂 +4 葵梓卫队 2026-03-18 6/300 2026-03-20 23:02 by JourneyLucky
[考研] 中南大学化学学硕337求调剂 +3 niko- 2026-03-19 6/300 2026-03-20 21:58 by luoyongfeng
[考研] 求调剂 +3 eation27 2026-03-20 3/150 2026-03-20 19:32 by JourneyLucky
[考研] 材料专硕306英一数二 +10 z1z2z3879 2026-03-16 13/650 2026-03-18 14:20 by 007_lilei
[考研] 333求调剂 +3 文思客 2026-03-16 7/350 2026-03-16 18:21 by 文思客
信息提示
请填处理意见