24小时热门版块排行榜    

查看: 3419  |  回复: 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 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 什么时候开奖? +4 CrisMessi 2026-08-18 4/200 2026-08-19 00:53 by gatelove
[基金申请] 咱们一起用铁证分析2026国家社科基金中标与否 +7 启萌科技 2026-08-12 27/1350 2026-08-18 21:44 by Noways
[教师之家] 为什么余额宝的年化利率越来越低?主要原因有哪些? +3 瞬息宇宙 2026-08-15 3/150 2026-08-18 21:40 by xiaohuixin
[基金申请] 2027广东省杰青 +3 奶牛小黑 2026-08-15 9/450 2026-08-18 20:09 by 奶牛小黑
[基金申请] 朋友圈看到的 +4 wangzilk 2026-08-18 5/250 2026-08-18 19:25 by wangzilk
[基金申请] 欢迎发来filecode的Mz6后的代码验证其规律 +51 医学老男孩 2026-08-13 110/5500 2026-08-18 19:07 by icerianxia
[基金申请] 明天放榜? +5 Shxjjxjkx 2026-08-18 5/250 2026-08-18 18:14 by -大大大大大-
[基金申请] 时间戳变了,能看出什么问题? +8 基诺咪客 2026-08-17 11/550 2026-08-18 17:13 by 悠然熊猫
[基金申请] 重要消息,中午系统在维护 +9 yuleib84 2026-08-18 10/500 2026-08-18 16:52 by archvillain
[论文投稿] 投稿咨询 +4 wwm09 2026-08-17 6/300 2026-08-18 15:36 by wwm09
[基金申请] 时间戳又变了8-15 +14 archvillain 2026-08-15 26/1300 2026-08-18 13:37 by phantomgost
[基金申请] 哪位老哥知道今年的国自然具体哪一天放榜? +13 Ldrop2023 2026-08-13 16/800 2026-08-18 12:25 by 淀粉搬运工
[基金申请] 快农历七夕节了,轻松一下,男人悄悄话,女施主请不要进来。 +4 Tide man 2026-08-14 5/250 2026-08-18 11:35 by Tide man
[基金申请] 93BebMhtakh前后11位开头都是大写 +4 且听虎啸 2026-08-17 5/250 2026-08-18 00:49 by 蔡棒棒菂
[基金申请] filecode=后面第一个是大写字母 +8 wangze12014 2026-08-14 10/500 2026-08-17 17:05 by xter9665
[基金申请] 今天系统多次维护,明天很可能放榜! +8 zju2000 2026-08-16 9/450 2026-08-17 12:20 by lmz0216
[基金申请] 各位道友,我要去昆明玩几天,回来见。 +7 Tide man 2026-08-14 8/400 2026-08-15 01:11 by arzu_hma
[基金申请] 重要来源:本周末出结果 +10 瞬息宇宙 2026-08-12 10/500 2026-08-13 15:46 by likettle
[基金申请] 不应该看fileCode +7 且听虎啸 2026-08-12 9/450 2026-08-13 14:27 by flydreamws
[基金申请] Filecode 又变了,巨变 +3 WH3796 2026-08-12 4/200 2026-08-13 14:13 by 小木虫6752397
信息提示
请填处理意见