24小时热门版块排行榜    

查看: 2226  |  回复: 1

山涧清泉HC

新虫 (初入文坛)

[求助] BN如何建模

如何用lammps建立六方结构的氮化硼(h-BN)的模型?顺便帮忙看一下我这样建模的问题。附件是h-BN的晶体结构。
# ------------------------ INITIALIZATION ----------------------------
units                 metal#单位?
dimension        3
boundary        p        p        p
atom_style        atomic

#neighbor      2.0 bin
#neigh_modify  one 5
lattice       hcp 2.5



# ----------------------- ATOM DEFINITION ----------------------------
lattice custom 2.5 a1 0.23 0.0 0.0 a2 0.0 0.39 0.0 a3 0.0 0.0 0.38  &
             basis 0.5 0.0 0.0 basis 0.0 0.5 0.0 basis 0.5 0.0 0.5  &
             basis 0.0 0.5 0.5
region                whole block 0 5 0 5 0 5

create_box        2 whole
create_atoms  2 box basis 1 1 basis 2 2 basis 3 1 basis 4 2

# ------------------------ FORCE FIELDS ------------------------------
# Tersoff Potentials

pair_style    tersoff
pair_coeff    * * BNC.tersoff   B   N
mass         1 10
mass         2 14
######################################
write_data data.BN
# EQUILIBRATION
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

# Use cfg for Ovito
#dump 1 all custom 10 dump.comp.* id type xs ys zs c_csym c_eng c_strs[1]&
      c_strs[2] c_strs[3]
#dump_modify 1 element B  N

# Set thermo output
thermo 1000
thermo_style custom step lx ly lz press pxx pyy pzz pe temp

# Run for at least 10 picosecond (assuming 1 fs timestep)
run 20000
unfix 1

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

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

BN如何建模
75X]CK@5]Y8QCUUYZ)W@KBO.png
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

山涧清泉HC

新虫 (初入文坛)

嗯,对了,这个应该是hex
2楼2015-03-31 10:06:24
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 山涧清泉HC 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 315分,诚求调剂,材料与化工085600 +3 13756423260 2026-03-22 3/150 2026-03-22 20:11 by edmund7
[考研] 求调剂 +6 十三加油 2026-03-21 6/300 2026-03-22 17:00 by i_cooler
[考研] 考研调剂 +4 来好运来来来 2026-03-21 4/200 2026-03-22 12:15 by 星空星月
[考研] 285求调剂 +6 ytter 2026-03-22 6/300 2026-03-22 12:09 by 星空星月
[考研] 求调剂 +4 要好好无聊 2026-03-21 4/200 2026-03-21 18:57 by 学员8dgXkO
[考研] 313求调剂 +4 肆叁贰壹22 2026-03-19 4/200 2026-03-21 17:33 by ColorlessPI
[考研] 266求调剂 +3 哇呼哼呼哼 2026-03-20 3/150 2026-03-21 16:46 by barlinike
[基金申请] 学校已经提交到NSFC,还能修改吗? 40+4 babangida 2026-03-19 9/450 2026-03-21 16:12 by babangida
[考研] 279求调剂 +5 红衣隐官 2026-03-21 5/250 2026-03-21 14:59 by lature00
[考研] 330求调剂0854 +3 assdll 2026-03-21 3/150 2026-03-21 13:01 by 搏击518
[考研] 304求调剂 +7 司空. 2026-03-18 7/350 2026-03-20 23:08 by JourneyLucky
[考研] 一志愿苏州大学材料求调剂,总分315(英一) +5 sbdksD 2026-03-19 5/250 2026-03-20 22:10 by luoyongfeng
[考研] 材料学硕297已过四六级求调剂推荐 +11 adaie 2026-03-19 11/550 2026-03-20 21:30 by laoshidan
[考研] 一志愿 南京航空航天大学大学 ,080500材料科学与工程学硕 +5 @taotao 2026-03-20 5/250 2026-03-20 20:16 by JourneyLucky
[考研] 一志愿南理工085701环境302求调剂院校 +3 葵梓卫队 2026-03-20 3/150 2026-03-20 19:28 by zhukairuo
[考研] 298-一志愿中国农业大学-求调剂 +9 手机用户 2026-03-17 9/450 2026-03-20 14:24 by 无懈可击111
[考研] 085600材料与化工调剂 324分 +10 llllkkkhh 2026-03-18 12/600 2026-03-19 14:33 by llllkkkhh
[考研] 085600材料与化工求调剂 +6 绪幸与子 2026-03-17 6/300 2026-03-19 13:27 by houyaoxu
[考研] 312求调剂 +8 陌宸希 2026-03-16 9/450 2026-03-18 12:39 by Linda Hu
[考研] 283求调剂 +3 听风就是雨; 2026-03-16 3/150 2026-03-17 07:41 by 热情沙漠
信息提示
请填处理意见