24小时热门版块排行榜    

查看: 3564  |  回复: 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 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 317求调剂 +10 申子申申 2026-03-19 16/800 2026-03-22 17:03 by ColorlessPI
[考研] 298求调剂 +5 上岸6666@ 2026-03-20 5/250 2026-03-22 15:46 by ColorlessPI
[考研] 一志愿北京化工大学 070300 学硕 336分 求调剂 +3 vv迷 2026-03-22 3/150 2026-03-22 15:18 by 杨杨杨紫
[考研] 招08考数学 +3 laoshidan 2026-03-20 7/350 2026-03-22 12:54 by 在风落中
[考研] 材料学硕301分求调剂 +7 Liyouyumairs 2026-03-21 7/350 2026-03-21 22:31 by peike
[考研] 初试 317 +7 半拉月丙 2026-03-20 7/350 2026-03-21 22:26 by peike
[考研] 材料学学硕080502 337求调剂-一志愿华中科技大学 +4 顺顺顺mr 2026-03-18 5/250 2026-03-21 10:22 by luoyongfeng
[考研] 070300化学319求调剂 +7 锦鲤0909 2026-03-17 7/350 2026-03-21 03:46 by JourneyLucky
[考研] 085700资源与环境308求调剂 +12 墨墨漠 2026-03-18 13/650 2026-03-21 01:42 by JourneyLucky
[考研] 一志愿 西北大学 ,070300化学学硕,总分287,双非一本,求调剂。 +3 晨昏线与星海 2026-03-18 3/150 2026-03-21 00:46 by JourneyLucky
[考研] 308求调剂 +3 阿姐阿姐家啊 2026-03-18 3/150 2026-03-20 23:24 by JourneyLucky
[考研] 304求调剂 +7 司空. 2026-03-18 7/350 2026-03-20 23:08 by JourneyLucky
[考研] 药学383 求调剂 +3 药学chy 2026-03-15 5/250 2026-03-20 22:11 by 云游重阳
[考研] 一志愿中国海洋大学,生物学,301分,求调剂 +5 1孙悟空 2026-03-17 6/300 2026-03-19 23:46 by zcl123
[考研] 085601材料工程专硕求调剂 +10 慕寒mio 2026-03-16 10/500 2026-03-19 15:26 by 丁丁*
[考研] 286求调剂 +6 lemonzzn 2026-03-16 10/500 2026-03-19 14:31 by lemonzzn
[考研] 收复试调剂生 +4 雨后秋荷 2026-03-18 4/200 2026-03-18 14:16 by elevennnne
[考研] 0703化学调剂 +3 妮妮ninicgb 2026-03-17 3/150 2026-03-18 10:29 by macy2011
[考研] 308求调剂 +4 是Lupa啊 2026-03-16 4/200 2026-03-17 17:12 by ruiyingmiao
[考研] 275求调剂 +4 太阳花天天开心 2026-03-16 4/200 2026-03-17 10:53 by 功夫疯狂
信息提示
请填处理意见