24小时热门版块排行榜    

Znn3bq.jpeg
查看: 3349  |  回复: 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的回帖

匿名

用户注销 (正式写手)

本帖仅楼主可见
3楼2017-12-10 19:24:19
已阅   申请模拟EPI   回复此楼   编辑   查看我的主页
查看全部 3 个回答

cly001

新虫 (初入文坛)

问题解决了吗,我也是不同晶向就会出现原子紊乱问题
2楼2017-12-10 19:05:38
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 335求调剂 +20 想上岸呀!! 2026-04-12 23/1150 2026-04-17 10:50 by cuisz
[考研] 0854求调剂 +21 门路摸摸 2026-04-15 24/1200 2026-04-16 21:24 by Art1977
[考博] 申博自荐 +3 Linxia林夏 2026-04-13 3/150 2026-04-16 12:55 by 墨荷之露
[考研] 290调剂生物0860 +38 哇哈哈,。 2026-04-11 44/2200 2026-04-16 09:52 by cuisz
[考研] 求调剂推荐 +8 小聂爱学习 2026-04-14 8/400 2026-04-16 07:22 by 学员JpLReM
[考研] 272分材料子求调剂 +41 Loy0361 2026-04-10 54/2700 2026-04-14 18:00 by lhj2009
[考研] 一志愿沪9,326求生物学调剂 +10 刘墨墨 2026-04-13 10/500 2026-04-14 15:16 by zs92450
[考研] 085600材料与化工329分求调剂 +24 叶zilin 2026-04-13 25/1250 2026-04-14 09:20 by 试管破裂
[考研] 085600材料与化工349分求调剂 +16 李木子啊哈哈 2026-04-12 17/850 2026-04-14 09:11 by fenglj492
[考研] 一志愿哈工大 085600 277 12材科基求调剂 5+5 chenny174 2026-04-10 37/1850 2026-04-14 07:39 by Abskk
[考研] 求调剂 +12 璃茉一定上岸 2026-04-10 13/650 2026-04-14 00:08 by Equinoxhua
[考研] 一志愿浙大生物325分求调剂 +9 zysheng 2026-04-12 9/450 2026-04-12 22:31 by yuyin1233
[考研] 346分,工科0854求调剂,专硕 +6 moser233 2026-04-12 7/350 2026-04-12 22:11 by fqwang
[考研] 296求调剂 +14 汪!?! 2026-04-10 16/800 2026-04-12 10:48 by zhouyuwinner
[考研] 求调剂,一志愿材料科学与工程985,365分, +8 材化李可 2026-04-11 10/500 2026-04-12 08:42 by 852137818
[考研] 270求调剂 +14 杨乐369 2026-04-11 14/700 2026-04-11 20:16 by 蓝云思雨
[考研] 359求调剂 +5 胃痉挛累了 2026-04-11 5/250 2026-04-11 19:55 by lbsjt
[考研] 0854调剂 +5 音像店听花鼓戏 2026-04-10 5/250 2026-04-11 10:49 by qingpingzhu
[考研] 中药学调剂 初试324 +4 洋甘菊、 2026-04-10 6/300 2026-04-11 09:41 by gong120082
[考研] 初试261 +3 Asht少 2026-04-10 6/300 2026-04-10 16:38 by Asht少
信息提示
请填处理意见