24小时热门版块排行榜    

查看: 352  |  回复: 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的回帖
相关版块跳转 我要订阅楼主 上官七七 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 材料与化工考研调剂 +3 孅華 2026-03-22 3/150 2026-03-23 11:20 by barlinike
[考研] 323求调剂 +6 洼小桶 2026-03-18 6/300 2026-03-23 00:29 by king123!
[考研] 0854电子信息求调剂 +3 α____ 2026-03-22 3/150 2026-03-22 21:28 by zhq0425
[考研] 311求调剂 +6 冬十三 2026-03-18 6/300 2026-03-22 20:18 by edmund7
[考研] 0856材料专硕353求调剂 +4 NIFFFfff 2026-03-20 4/200 2026-03-22 09:49 by 2026paper
[考研] 286分人工智能专业请求调剂愿意跨考! +4 lemonzzn 2026-03-17 8/400 2026-03-21 22:49 by lemonzzn
[考研] 一志愿深大,0703化学,总分302,求调剂 +4 七月-七七 2026-03-21 4/200 2026-03-21 18:20 by 学员8dgXkO
[考研] 0703化学297求调剂 +3 Daisy☆ 2026-03-20 3/150 2026-03-21 17:45 by ColorlessPI
[考研] 材料与化工(0856)304求 B区 调剂 +3 邱gl 2026-03-21 3/150 2026-03-21 13:47 by lature00
[考研] 265求调剂 +12 梁梁校校 2026-03-19 14/700 2026-03-21 13:38 by lature00
[考研] 求调剂 +3 Ma_xt 2026-03-17 3/150 2026-03-21 02:05 by JourneyLucky
[考研] 296求调剂 +6 www_q 2026-03-18 10/500 2026-03-20 23:56 by JourneyLucky
[考研] 274求调剂 +10 S.H1 2026-03-18 10/500 2026-03-20 23:51 by JourneyLucky
[考研] 308求调剂 +3 阿姐阿姐家啊 2026-03-18 3/150 2026-03-20 23:24 by JourneyLucky
[考研] 考研调剂求学校推荐 +3 伯乐29 2026-03-18 5/250 2026-03-20 22:59 by JourneyLucky
[考研] 一志愿 南京航空航天大学大学 ,080500材料科学与工程学硕 +5 @taotao 2026-03-20 5/250 2026-03-20 20:16 by JourneyLucky
[考研] 材料与化工求调剂 +7 为学666 2026-03-16 7/350 2026-03-19 14:48 by 尽舜尧1
[考研] 301求调剂 +4 A_JiXing 2026-03-16 4/200 2026-03-17 17:32 by ruiyingmiao
[考研] 有没有道铁/土木的想调剂南林,给自己招师弟中~ +3 TqlXswl 2026-03-16 7/350 2026-03-17 15:23 by TqlXswl
[考研] 一志愿苏州大学材料工程(085601)专硕有科研经历三项国奖两个实用型专利一项省级立项 +6 大火山小火山 2026-03-16 8/400 2026-03-17 15:05 by 无懈可击111
信息提示
请填处理意见