24小时热门版块排行榜    

查看: 3765  |  回复: 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 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 国合现在查不到了吗? +4 chengyan1220 2026-08-24 6/300 2026-08-26 08:23 by 木水思豆
[基金申请] 牛来!米来!面来! +3 beefly 2026-08-26 3/150 2026-08-26 08:16 by 南海小哥
[基金申请] 范进中举一文的中心思想 +8 炎黄贵胄 2026-08-22 9/450 2026-08-26 07:47 by WASM
[基金申请] 2026国自然函评费到账 +21 羊腰板 2026-08-21 24/1200 2026-08-26 07:20 by finnigan
[公派出国] 售SCI一区文章,我:8.O.551.O.5.4,科目全,可伽急 +3 PbwVEMK5haaE 2026-08-25 6/300 2026-08-26 06:57 by cNXvBfCpiZOM
[论文投稿] 售SCI一区T0P文章,我:8O.55.1.O.5.4,科目齐全,可+急 +3 7K1CJE38xLG4 2026-08-25 4/200 2026-08-26 02:04 by cNXvBfCpiZOM
[基金申请] 某些机构,以效率低为荣,以效率低作为存在感 +9 yuleib84 2026-08-25 10/500 2026-08-25 17:14 by alexon
[基金申请] 今日不放榜?网传国自然预计 8 月 27 日可查结果 +17 医学老男孩 2026-08-20 22/1100 2026-08-25 15:36 by 医学老男孩
[基金申请] 如果此刻你正在为国基感到焦虑,不妨来听听这首《基金之外》 +8 scalable 2026-08-24 8/400 2026-08-25 12:52 by jnhyjjm
[基金申请] 没有任何消息-是不是就凉了 +9 图啦图啦 2026-08-24 10/500 2026-08-25 11:59 by 南海小哥
[基金申请] 人气不行了 +11 fansofjerry 2026-08-21 11/550 2026-08-25 11:04 by 孤独的英雄6
[基金申请] 2026年的国家社科基金项目通讯评审的新规则与新动向、新挑战 +5 process2012 2026-08-23 7/350 2026-08-25 09:42 by huixian257
[基金申请] 今天基金会出结果吗?20260819 +17 kkkl_v 2026-08-19 18/900 2026-08-25 09:41 by windflowerwy
[基金申请] 我面上完蛋了 +13 且听虎啸 2026-08-20 14/700 2026-08-25 09:10 by mrkang
[基金申请] filecode,4个jtjc了 +14 ziyangfang 2026-08-19 17/850 2026-08-24 18:37 by 哈哈蛤?
[基金申请] 让我中一个面上吧! +13 大萍1987 2026-08-20 16/800 2026-08-24 10:23 by 太傻了
[基金申请] 今天放榜吗? +15 布布和一二 2026-08-19 16/800 2026-08-23 09:55 by 张春生
[基金申请] 时间戳今天,20号变了 +5 archvillain 2026-08-20 5/250 2026-08-22 06:12 by hui_daxiao
[基金申请] 看来今天不会放榜了? +8 chengyan1220 2026-08-21 11/550 2026-08-21 17:52 by dcqxinyang
[基金申请] 今天放榜没戏了吧 +9 yuleib84 2026-08-19 11/550 2026-08-21 10:06 by gltch
信息提示
请填处理意见