24小时热门版块排行榜    

Znn3bq.jpeg
查看: 1842  |  回复: 1

11B329

金虫 (正式写手)

[求助] 关于lammps里examples的问题(shear) 已有1人参与

各位大神,希望能指点一下。
在equilibrate之前,lower与upper的温度并没有设定,只是设定了mobile的温度,请问那其余两组原子的初速度怎样?还有就是原子的质量好像没有给啊,不用给定吗?
以下是shear的程序:
# 3d metal shear simulation


units                metal

boundary        s s p


atom_style        atomic

lattice                fcc 3.52

region                box block 0 16.0 0 10.0 0 2.828427

create_box        3 box


lattice                fcc 3.52 orient        x 1 0 0 orient y 0 1 1 orient z 0 -1 1
&
                origin 0.5 0 0

create_atoms        1 box


pair_style        eam

pair_coeff        * * Ni_u3.eam


neighbor        0.3 bin

neigh_modify        delay 5


region                lower block INF INF INF 0.9 INF INF

region                upper block INF INF 6.1 INF INF INF

group                lower region lower

group                upper region upper

group                boundary union lower upper

group                mobile subtract all boundary


set                group lower type 2

set                group upper type 3


# void


#region                void cylinder z 8 5 2.5 INF INF

#delete_atoms        region void


# temp controllers


compute                new3d mobile temp

compute                new2d mobile temp/partial 0 1 1


# equilibrate


velocity        mobile create 300.0 5812775 temp new3d

fix                1 all nve

fix                2 boundary setforce 0.0 0.0 0.0


fix                3 mobile temp/rescale 10 300.0 300.0 10.0 1.0

fix_modify        3 temp new3d


thermo                25

thermo_modify        temp new3d


timestep        0.001

run                100


# shear


velocity        upper set 1.0 0 0

velocity        mobile ramp vx 0.0 1.0 y 1.4 8.6 sum yes


unfix                3

fix                3 mobile temp/rescale 10 300.0 300.0 10.0 1.0

fix_modify        3 temp new2d


#dump                1 all atom 100 dump.shear


#dump                2 all image 100 image.*.jpg type type &

#                axes yes 0.8 0.02 view 0 0 zoom 1.5 up 0 1 0 adiam 2.0

#dump_modify        2 pad 4


#dump                3 all movie 100 movie.mpg type type &

#                axes yes 0.8 0.02 view 0 0 zoom 1.5 up 0 1 0 adiam 2.0

#dump_modify        3 pad 4


thermo                100

thermo_modify        temp new2d


reset_timestep        0

run                3000
回复此楼

» 猜你喜欢

往前走吧!
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

mgqqlwq

铜虫 (著名写手)

【答案】应助回帖

★ ★ ★ ★ ★ ★ ★ ★ ★ ★
感谢参与,应助指数 +1
11B329: 金币+10, ★★★很有帮助, 多谢!我一会试试! 2015-12-11 07:42:15
我记得eam势函数文件里有原子质量的信息,你可以看下pair_style eam的doc page。未设定初始温度的group的温度我不知道,不过是否可以试着把那两个group的原子速度输出出来看一下。希望对你有用。
2楼2015-12-10 18:59:12
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 11B329 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 268分085602化学工程调剂 +31 月照花林。 2026-04-09 31/1550 2026-04-12 23:37 by 学zh
[考研] 211本科材料化工求调剂 +16 YHLAH 2026-04-11 19/950 2026-04-12 22:43 by kyle12138
[考研] 344 材料专业 求调剂211 无地域要求 +8 hualkop 2026-04-11 8/400 2026-04-12 22:24 by fqwang
[考研] 296求调剂 +14 汪!?! 2026-04-10 16/800 2026-04-12 10:48 by zhouyuwinner
[考研] 材料与化工300求调剂 +39 肖开文 2026-04-09 43/2150 2026-04-12 01:30 by 秋豆菜芽
[考研] 085500求调剂材料 +10 易11122 2026-04-09 10/500 2026-04-11 10:39 by maddjdld
[考研] 机械专硕270求调剂,接受跨专业 +12 老师看看我吧aba 2026-04-09 14/700 2026-04-11 10:21 by laoshidan
[考研] 广东省 085601 329分求调剂 +14 Eddieddd 2026-04-10 14/700 2026-04-11 09:58 by bljnqdcc
[考研] 一志愿211,化学学硕,310分,本科重点双非,求调剂 +17 努力奋斗112 2026-04-06 20/1000 2026-04-11 00:31 by wangjihu
[考研] 083200 305分 求二轮调剂 不接受跨专业 +9 Claireyyyy 2026-04-09 10/500 2026-04-10 21:21 by Claireyyyy
[考研] 求调剂 +11 翩翩一书生 2026-04-09 13/650 2026-04-10 10:27 by liuhuiying09
[考研] 085600材料与化工专硕329 求调剂 +24 额cc 2026-04-06 25/1250 2026-04-09 16:01 by wp06
[考研] 化学工程与技术专业一志愿哈工程 291分B区 国家级大创负责人 有一作论文 +13 Emmy~ 2026-04-09 13/650 2026-04-09 14:47 by only周
[考研] 1U盾记得记得就 +9 sanjin020722 2026-04-08 10/500 2026-04-09 14:11 by 诗与自由
[考研] 一志愿西南大学生物学学硕344 求生物学相关调剂/生物与医药 +7 超人不会飞@ 2026-04-08 7/350 2026-04-09 09:35 by gong120082
[考研] 一志愿华东理工085601材料工程303分求调剂 +15 a1708 2026-04-06 15/750 2026-04-08 16:23 by luoyongfeng
[考研] 化工学硕 285求调剂 +26 Wisjxn 2026-04-07 26/1300 2026-04-08 14:42 by screening
[考研] 一志愿西电085401求调剂 +4 sunw1306 2026-04-07 4/200 2026-04-07 16:40 by 啵啵啵0119
[考研] 085100建筑学 寻求跨专业调剂 一志愿南大294分 校级省级国家级奖项若干 踏实肯干 +3 1021075758 2026-04-06 4/200 2026-04-07 09:23 by 蓝云思雨
[考研] 考研调剂 +3 Wwwwwww哇 2026-04-06 3/150 2026-04-06 20:55 by lbsjt
信息提示
请填处理意见