24小时热门版块排行榜    

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

changzhangyong

木虫 (小有名气)

[求助] Lammps 模拟硅的单轴拉伸边界上出现不正常的原子 求解?

最近学习Lammps,仿一网站写了in 文件,发现晶向为x:111,y:1-10,z:11-2时,通过ovito观察data或cfg文件,x和z方向边界上有不正常的原子,如下图,把晶向设为x:100,y:010,z:001就不会出现,不知为什么,求各位大神指导。
in文件如下

# Input file for uniaxial compressive loading of single crystal silicon
# Mark Tschopp, November 2010

# ------------------------ INITIALIZATION ----------------------------
units                 metal
dimension        3
boundary        p        p        p
atom_style        atomic
variable latparam equal 5.442

# ----------------------- ATOM DEFINITION ----------------------------
lattice  diamond ${latparam} orient x 1 1 1  orient y 1 -1 0 orient z 1 1 -2
region                whole block 0 12 0 12 0 12
create_box        1 whole
create_atoms        1 region whole

# ------------------------ FORCE FIELDS ------------------------------
pair_style  tersoff
pair_coeff  * * Si-3.tersoff Si

neighbor     0.3 bin
neigh_modify delay 5

mass          1   28.0855
write_data      Si.0.data

# ------------------------- SETTINGS ---------------------------------
compute csym all centro/atom  12
compute peratom all pe/atom

######################################
# EQUILIBRATION
minimize       1.0e-8 1.0e-8  10000 10000
write_data      Si.1.data
reset_timestep        0
timestep 0.001
velocity all create 300 12345 mom yes rot no
fix 1 all npt temp 300 300 1 iso 0 0 1 drag 1

# Set thermo output
thermo 1000
thermo_style custom step lx ly lz press pxx pyy pzz pe temp
dump 2 all cfg 2000 dump.relaxtion_*.cfg mass type xs ys zs c_csym c_peratom fx fy fz
dump_modify    2 element Si

# Run for at least 10 picosecond (assuming 1 fs timestep)
run 100000
unfix 1
undump 2

# Store final cell length for strain calculations
variable tmp equal "ly"
variable L0 equal ${tmp}
print "Initial Length, L0: ${L0}"

######################################
# DEFORMATION
reset_timestep        0

fix                1 all npt temp 300 300 1 x 0 0 1 z 0 0 1 drag 1
variable srate equal 1.0e9
variable srate1 equal "v_srate / 1.0e12"
fix                2 all deform 1 y erate ${srate1} units box remap x

# Output strain and stress info to file
# for units metal, pressure is in [bars] = 100 [kPa] = 1/10000 [GPa]
# p2, p3, p4 are in GPa
variable strain equal "(ly - v_L0)/v_L0"
variable p1 equal "v_strain"
variable p2 equal "-pxx/10000"
variable p3 equal "-pyy/10000"
variable p4 equal "-pzz/10000"
fix def1 all print 100 "${p1} ${p2} ${p3} ${p4}" file Silicon_tension_def1.txt screen no

# Use cfg for AtomEye
dump                 1 all cfg 2000 dump.comp_*.cfg mass type xs ys zs c_csym c_peratom fx fy fz
dump_modify     1 element Si

# Display thermo
thermo         1000
thermo_style        custom step v_strain temp v_p2 v_p3 v_p4 ke pe press

restart 10000  Si.*.inp


run                2000000

######################################
# SIMULATION DONE
print "All done"

Lammps 模拟硅的单轴拉伸边界上出现不正常的原子  求解?
111.png
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

cly001

新虫 (初入文坛)

问题解决了吗,我也是不同晶向就会出现原子紊乱问题
2楼2017-12-10 19:05:38
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

匿名

用户注销 (正式写手)

本帖仅楼主可见
3楼2017-12-10 19:24:19
已阅   申请模拟EPI   回复此楼   编辑   查看我的主页
相关版块跳转 我要订阅楼主 changzhangyong 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 河北省自然科学基金 +5 Peterchao 2026-05-18 8/400 2026-05-24 11:58 by 晓晓爱翠翠
[基金申请] 西安交大新媒学院副院长用撤稿论文结题 +3 bjvtcliu 2026-05-24 5/250 2026-05-24 10:16 by kudofaye
[教师之家] 论文撤稿了 +3 bjvtcliu 2026-05-24 5/250 2026-05-24 10:06 by Equinoxhua
[教师之家] 某211大学教师把个人教师官方主页改成:我跑了我跑了我跑了!官宣跑路! +4 zju2000 2026-05-21 5/250 2026-05-24 09:35 by songwz
[考博] 26/27申博自荐 10+4 ZXW0202 2026-05-22 9/450 2026-05-24 08:47 by bjvtcliu
[硕博家园] 售SCI一区T0P文章,我:8.O.5.5.1.O.5.4,科目齐全,可+急 +3 hvkbtfonbv 2026-05-23 3/150 2026-05-24 08:01 by 9ps9vgkqva
[硕博家园] 售SCI一区T0P文章,我:8.O.5.5.1.O.5.4,科目齐全,可+急 +3 pmo95bazuy 2026-05-23 7/350 2026-05-24 06:35 by fpo5ljpv91
[基金申请] 揭秘青基评审内幕:几个A才能顺利中标 +3 国自然国社科中 2026-05-23 4/200 2026-05-23 15:37 by 2000zf36392
[基金申请] 青B发送上会通知了吗 +5 chemBioBro 2026-05-22 7/350 2026-05-23 12:35 by zhuifengzhy
[考博] 博士申请 +3 焦晓明 2026-05-21 3/150 2026-05-23 11:26 by mlc840311
[论文投稿] 投稿求助,期刊 +4 希冀,有书读 2026-05-20 8/400 2026-05-22 10:16 by 希冀,有书读
[文学芳草园] 献血感触 +7 呀呀好傻 2026-05-19 13/650 2026-05-21 20:15 by 呀呀好傻
[基金申请] 面上本子正文33页,违规吗?会被低分嘛? +14 1234567wang 2026-05-17 16/800 2026-05-21 17:58 by 脆脆的饼干
[基金申请] 国自然评分 +4 无名者登山 2026-05-20 5/250 2026-05-21 16:35 by swuq
[基金申请] 国自然上会要求 +7 无名者登山 2026-05-18 11/550 2026-05-21 15:50 by draco1987
[基金申请] 提交了我也来说说感想 +9 fummck 2026-05-20 10/500 2026-05-21 14:17 by draco1987
[有机交流] 反应很差,大量原料没有反应 5+3 Mr.Zot 2026-05-19 8/400 2026-05-20 22:19 by Equinoxhua
[考博] 如果工作了想读博,可以边工作边读全日制嘛? 30+3 铁达火车 2026-05-18 5/250 2026-05-20 09:33 by tfang
[考博] 博士申请 +5 星…… 2026-05-18 6/300 2026-05-18 23:49 by 糊糊涂涂好
[硕博家园] 我在等一个没有答案的答案 +3 Love_MH 2026-05-17 3/150 2026-05-18 02:22 by 竹林孤影
信息提示
请填处理意见