24小时热门版块排行榜    

查看: 1834  |  回复: 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 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 一志愿西安交通大学材料工程专业 282分求调剂 +11 枫桥ZL 2026-03-18 13/650 2026-03-22 20:26 by edmund7
[考研] 311求调剂 +6 冬十三 2026-03-18 6/300 2026-03-22 20:18 by edmund7
[考研] 260求调剂 +3 朱芷琳 2026-03-20 4/200 2026-03-22 15:12 by 朱芷琳
[考研] 285求调剂 +6 ytter 2026-03-22 6/300 2026-03-22 12:09 by 星空星月
[考研] 354求调剂 +7 Tyoumou 2026-03-18 10/500 2026-03-22 11:11 by 人来盛
[考研] 0703化学调剂 +4 妮妮ninicgb 2026-03-21 4/200 2026-03-21 18:39 by 学员8dgXkO
[考研] 299求调剂 +4 某某某某位 2026-03-21 4/200 2026-03-21 16:30 by barlinike
[考研] 299求调剂 +6 △小透明* 2026-03-17 6/300 2026-03-21 02:42 by JourneyLucky
[考研] 材料 336 求调剂 +3 An@. 2026-03-18 4/200 2026-03-21 01:39 by JourneyLucky
[考研] 一志愿西南交大,求调剂 +5 材化逐梦人 2026-03-18 5/250 2026-03-21 00:26 by JourneyLucky
[考研] 329求调剂 +9 想上学吖吖 2026-03-19 9/450 2026-03-20 22:01 by luoyongfeng
[考研] 求调剂一志愿南京航空航天大学289分 +3 @taotao 2026-03-19 3/150 2026-03-20 21:34 by JourneyLucky
[考研] 0817 化学工程 299分求调剂 有科研经历 有二区文章 +22 rare12345 2026-03-18 22/1100 2026-03-20 20:39 by zhukairuo
[考研] 353求调剂 +3 拉钩不许变 2026-03-20 3/150 2026-03-20 19:56 by JourneyLucky
[考研] 求调剂 +3 eation27 2026-03-20 3/150 2026-03-20 19:32 by JourneyLucky
[考研] 工科材料085601 279求调剂 +7 困于星晨 2026-03-17 9/450 2026-03-20 17:38 by 无懈可击111
[考研] 298-一志愿中国农业大学-求调剂 +9 手机用户 2026-03-17 9/450 2026-03-20 14:24 by 无懈可击111
[论文投稿] 申请回稿延期一个月,编辑同意了。但系统上的时间没变,给编辑又写邮件了,没回复 10+3 wangf9518 2026-03-17 4/200 2026-03-19 23:55 by babero
[考研] 材料专硕306英一数二 +10 z1z2z3879 2026-03-16 13/650 2026-03-18 14:20 by 007_lilei
[考研] 0703化学调剂 +3 妮妮ninicgb 2026-03-17 3/150 2026-03-18 10:29 by macy2011
信息提示
请填处理意见