24小时热门版块排行榜    

查看: 3565  |  回复: 6

wangwen552

铜虫 (小有名气)

[求助] LAMMPS模拟合金体系 已有1人参与

先介绍一下,我想用LAMMPS模拟CuAl合金,因为Cu和Al都是FCC结构,所以我先用matlab程序建一个多晶纯Cu的二维模型,然后将得到的模型数据文件中的一定比例的原子类型替换成Al原子类型,这样得到的初始的模型如图1(灰色为Cu原子,蓝色为Al原子),然后我将这个模型用LAMMPS计算(npt,300K下relax)后,得到的结果竟然如图2和3,图2是dump0(即relax0步),图3是dump100000(即relax100000步)。请各位LAMMPS届大侠帮忙看一下,这是怎么回事?
我的in文件如下:
# initial conditions
boundary     p p p
#processors   4 4 10
dimension    3
units        metal
atom_style   atomic
neighbor 2.0 bin
neigh_modify delay 10 check yes

# read initial geometry configuration, including atom numbers, atom types, simulation box sizes, atom mass, atom coordinates

read_data    poly_crys_lmp.dat

# potentials

pair_style   adp
pair_coeff   * * Al_Cu.adp Al Cu

# identify a collection of atoms as belonging to this group

group copper type 2

# delete atoms which are too close at the boundary region

delete_atoms overlap 1.0 all all

# calculate Common Neighbor Analysis for each atom

compute 1 copper cna/atom 3.085764

# calculates the pressure of the entire system

compute p all pressure thermo_temp

# define what variables for thermal output

thermo_style custom step temp press c_p[1] c_p[2] c_p[3] vol etotal
thermo 50
timestep 0.002
# energy minimization

min_style cg
minimize 1.0e-6 1.0e-6 100000 100000  
reset_timestep 0

# define how to dump a snapshot of atom quantities to one file
       
dump 1 all custom 50000 dump1.* x y z id c_1

# The simulated samples are relaxed in the isobaric-isothermal ensemble under pressre 0 bar and temperature 300 k

fix 2 all npt temp 300.0 300.0 0.2 x 0.0 0.0 2.0 y 0.0 0.0 2.0 z 0.0 0.0 2.0 couple none
run 50000
write_restart restart.relax100ps
run 50000
write_restart restart.relax200ps

LAMMPS模拟合金体系
1.png


LAMMPS模拟合金体系-1
2.png


LAMMPS模拟合金体系-2
3.png
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

是梦终空a

新虫 (初入文坛)

楼主,能告诉我你是怎么用MATLAB建立构型的吗?我不知道怎么建立构型,万分感谢!

发自小木虫Android客户端
2楼2016-10-08 15:25:16
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

匿名

本帖仅楼主可见
3楼2017-03-16 22:24:34
已阅   申请模拟EPI   回复此楼   编辑   查看我的主页

匿名

本帖仅楼主可见
4楼2017-03-20 20:30:58
已阅   申请模拟EPI   回复此楼   编辑   查看我的主页

匿名

本帖仅楼主可见
5楼2017-11-16 17:55:34
已阅   申请模拟EPI   回复此楼   编辑   查看我的主页

deepbluezq

新虫 (初入文坛)

请问楼主你的合金模型怎么实现的,用matlab怎么做的?
6楼2017-11-18 14:30:28
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

binbin79

禁虫 (初入文坛)

本帖内容被屏蔽

7楼2017-11-19 00:08:39
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 wangwen552 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 石河子大学(211、双一流)硕博研究生长期招生公告 +3 李子目 2026-03-22 3/150 2026-03-22 21:01 by 怎么释怀
[考研] 材料与化工085600,总分304,本科有两篇sci参与,求调剂 +4 幸运的酱酱 2026-03-22 5/250 2026-03-22 20:15 by edmund7
[考研] 287求调剂 +8 晨昏线与星海 2026-03-19 9/450 2026-03-22 17:01 by i_cooler
[考研] 306求调剂 +5 来好运来来来 2026-03-22 5/250 2026-03-22 16:17 by BruceLiu320
[考研] 材料求调剂 +5 @taotao 2026-03-21 5/250 2026-03-21 20:55 by lbsjt
[考研] 工科0856求调剂 +3 沐析汀汀 2026-03-21 3/150 2026-03-21 18:30 by 学员8dgXkO
[考研] 296求调剂 +4 www_q 2026-03-20 4/200 2026-03-21 17:26 by 学员8dgXkO
[考研] 299求调剂 +5 shxchem 2026-03-20 7/350 2026-03-21 17:09 by ColorlessPI
[考研] 一志愿重庆大学085700资源与环境总分308求调剂 +7 墨墨漠 2026-03-20 7/350 2026-03-21 16:36 by barlinike
[考研] 一志愿山大07化学 332分 四六级已过 本科山东双非 求调剂! +3 不想理你 2026-03-16 3/150 2026-03-21 03:59 by JourneyLucky
[考研] 304求调剂 +6 曼殊2266 2026-03-18 6/300 2026-03-21 00:32 by JourneyLucky
[考研] 一志愿西南交大,求调剂 +5 材化逐梦人 2026-03-18 5/250 2026-03-21 00:26 by JourneyLucky
[考研] 一志愿南昌大学,327分,材料与化工085600 +9 Ncdx123456 2026-03-19 9/450 2026-03-20 23:41 by lovewei0727
[考研] 329求调剂 +9 想上学吖吖 2026-03-19 9/450 2026-03-20 22:01 by luoyongfeng
[考研] 材料学硕297已过四六级求调剂推荐 +11 adaie 2026-03-19 11/550 2026-03-20 21:30 by laoshidan
[考研] 材料学求调剂 +4 Stella_Yao 2026-03-20 4/200 2026-03-20 20:28 by ms629
[考研] 261求B区调剂,科研经历丰富 +3 牛奶很忙 2026-03-20 4/200 2026-03-20 19:34 by JourneyLucky
[考研] 286求调剂 +6 lemonzzn 2026-03-16 10/500 2026-03-19 14:31 by lemonzzn
[考博] 26博士申请 +3 1042136743 2026-03-17 3/150 2026-03-17 23:30 by 轻松不少随
[考研] 070300化学学硕求调剂 +6 太想进步了0608 2026-03-16 6/300 2026-03-16 16:13 by kykm678
信息提示
请填处理意见