24小时热门版块排行榜    

北京石油化工学院2026年研究生招生接收调剂公告
查看: 5129  |  回复: 9
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

ayuancrystal

铜虫 (初入文坛)

[求助] 新手求助!!lammps摩擦,摩擦力计算问题 已有3人参与

lammps小白,写了一个简单的单凸体接触模型,探针在基底上滑动,从网上找到一个摩擦例子,参照写了一个,可是发现摩擦力结果有问题,求助大神们
附上脚本:
#initialization
units           metal
boundary        p  p  p
dimension       3
atom_style      atomic
pair_style      hybrid/overlay  tersoff  tersoff  lj/cut  9

#Atom definition
read_data       Position.dat
mass            1  28.0
mass            2  28.0
mass            3  28.0
mass            4  28.0
mass            5  28.0
mass            6  28.0
mass            7  28.0
mass            8  28.0

#Settings
neighbor        1.0  bin
neigh_modify    delay  0  every  1  check  yes
group           fixed-sub       type  1
group           temper-sub1     type  2
group           temper-sub2     type  3
group           interface-sub   type  4
group           bottom-tip   type  5
group           temper-tip1  type  6
group           temper-tip2  type  7
group           fixed-tip    type  8
group           low-tip  union  bottom-tip  temper-tip1  temper-tip2
group           hi-sub  union  temper-sub1    temper-sub2   interface-sub
group           boundary  union fixed-tip  fixed-sub
group           mobile  subtract  all  boundary

#Force field coefficients
pair_coeff      *  *  tersoff  1  Si.tersoff   Si  Si  Si   Si  NULL  NULL  NULL  NULL
pair_coeff      *  *  tersoff  2  Si.tersoff  NULL  NULL  NULL  NULL  Si  Si  Si   Si
pair_coeff      1*4  5*8  lj/cut  0.0174   3.826

#Initial velocities
compute       tip_sub  mobile  temp/partial  0  1  1
velocity         mobile  create  298  34239  temp  tip_sub
compute       1   temper-sub1     temp
compute       2   temper-sub2     temp
compute       3   interface-sub     temp
compute       4   bottom-tip        temp/partial  0  1  1
compute       5   temper-tip1       temp/partial  0  1  1
compute       6   temper-tip2       temp/partial  0  1  1
compute       7   hi-sub                temp
compute       8   low-tip               temp/partial  0  1  1

#Fixes
fix           1  driven  nve
fix           2  fixed-tip  setforce  0.0  0.0  0.0
fix           3  fixed-sub  setforce  0.0  0.0  0.0
fix           4  temper-sub1   langevin  298.0  298.0  0.00239  48279
fix           5  temper-tip1   langevin  298.0  298.0  0.00239  48279

#Run
timestep          0.001
thermo            100
thermo_style      custom  step  temp  c_7  c_1  c_2  c_3  c_4  c_5  c_6  c_8  pe  ke  etotal  vol  f_2[1]  f_2[2]   f_2[3]  f_3[1]   f_3[2]  f_3[3]

thermo_modify     format 1 %07d  format 2 %7.3f  format 3 %7.3f  format 4 %7.3f  format 5 %7.3f  format 6 %7.3f  format 7

%7.3f   format 8 %7.3f  format 9 %7.3f  format 10 %7.3f  format 11 %10.3f   format 12 %10.3f  format 13 %10.3f  format  14

%10.3f  format 15 %11.6f  format 16 %11.6f  format 17 %11.6f  format 18 %11.6f  format 19 %11.6f  format 20 %11.6f

dump                     1  all  xyz  1000  dump.tipsub.xyz
dump_modify         1  element   Si  Si  Si  Si   Si  Si  Si  Si  
run                         200000

fix                           6  fixed-tip move linear 0.036 0.0 0.0 units box
run                         600000

参看摩擦例子,摩擦力取得是探针固定层原子受到的力。不知道这样计算摩擦力对不对,大神们是怎么计算摩擦力的,用的哪个命令啊?
还有处理的摩擦力如附图,摩擦力情况也不对啊!
真心求指导啊!!!

新手求助!!lammps摩擦,摩擦力计算问题
摩擦力.png@oxox6085
回复此楼

» 猜你喜欢

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

csutzk

木虫 (小有名气)


7楼2017-03-07 15:52:10
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 10 个回答

ayuancrystal

铜虫 (初入文坛)

在顶贴!!求指导
3楼2016-07-21 09:04:30
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

追梦2016

铜虫 (小有名气)

【答案】应助回帖

★ ★ ★ ★ ★
感谢参与,应助指数 +1
ayuancrystal: 金币+5, 有帮助 2016-07-22 08:55:48
fix 6命令放在thermo_style前面试试。另外,position_dat数据没问题吧?还有,在试验阶段,如果不知道程序对不对,建议别跑那么多步,少跑几步,如果没问题不出错了,再多跑点就行。

» 本帖已获得的红花(最新10朵)

只要肯学,没有学不会的
4楼2016-07-21 09:51:09
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

ayuancrystal

铜虫 (初入文坛)

送红花一朵
引用回帖:
4楼: Originally posted by 追梦2016 at 2016-07-21 09:51:09
fix 6命令放在thermo_style前面试试。另外,position_dat数据没问题吧?还有,在试验阶段,如果不知道程序对不对,建议别跑那么多步,少跑几步,如果没问题不出错了,再多跑点就行。

我把fix 6放在前面跑了一下,摩擦力还是这种情况。我用C++写的程序建立模型初始结构,从VMD中模型初始结构如图。而且lammps程序跑一段时间后,基底有原子丢失。。。。。不知道是不是模型建立的问题,还是in程序写的不对
新手求助!!lammps摩擦,摩擦力计算问题-1
初始结构.png


新手求助!!lammps摩擦,摩擦力计算问题-2
原子丢失.png

5楼2016-07-21 14:43:44
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 材料求调剂一志愿哈工大324 +6 闫旭东 2026-03-28 8/400 2026-03-28 08:11 by 闫旭东
[考研] 304求调剂 +4 曼殊2266 2026-03-27 4/200 2026-03-28 07:22 by Iveryant
[考研] 材料求调剂 一志愿哈工大总分298分,前三科223分 +5 dongfang59 2026-03-27 5/250 2026-03-28 04:53 by wxiongid
[考研] 331环境科学与工程求调剂 +3 熠然好运气 2026-03-27 3/150 2026-03-28 04:11 by fmesaito
[考研] 0856,材料与化工321分求调剂 +8 大馋小子 2026-03-27 9/450 2026-03-28 03:55 by fmesaito
[考研] 275求调剂 +10 jjjjjjjjjjl 2026-03-27 10/500 2026-03-27 23:47 by barnett0632
[考研] 266分求材料化工冶金矿业等专业的调剂 +4 哇呼哼呼哼 2026-03-26 4/200 2026-03-27 17:02 by zhyzzh
[考研] 307求调剂 +8 超级伊昂大王 2026-03-24 9/450 2026-03-27 15:34 by 超级伊昂大王
[考研] 316求调剂 +5 Pigcasso 2026-03-24 5/250 2026-03-27 12:10 by zhshch
[硕博家园] 招收生物学/细胞生物学调剂 +3 IceGuo 2026-03-26 4/200 2026-03-27 05:35 by user003
[考研] 284求调剂 +11 junqihahaha 2026-03-26 12/600 2026-03-27 04:37 by wxiongid
[考研] 340求调剂 +3 Amber00 2026-03-26 3/150 2026-03-26 18:57 by 不吃魚的貓
[考研] 中国科学院深圳先进技术研究院-光纤传感课题组招生-中国科学院大学、深圳理工大学联培 +5 YangTyu1 2026-03-26 5/250 2026-03-26 18:27 by 猫咪猫咪呀
[考研] 085601求调剂总分293英一数二 +4 钢铁大炮 2026-03-24 4/200 2026-03-26 16:28 by dick_runner
[考研] 289求调剂 +17 硕星赴 2026-03-23 17/850 2026-03-26 16:18 by 不吃魚的貓
[考研] 资源与环境 调剂申请(333分) +9 holy J 2026-03-21 9/450 2026-03-26 15:47 by 161765490
[考研] 求b区院校调剂 +4 周56 2026-03-24 5/250 2026-03-25 17:12 by yishunmin
[考研] 305分求调剂(食品工程) +5 Sxy112 2026-03-21 7/350 2026-03-24 12:27 by 544594351
[考研] 材料学硕301分求调剂 +7 Liyouyumairs 2026-03-21 7/350 2026-03-21 22:31 by peike
[考研] 一志愿东华大学控制学硕320求调剂 +3 Grand777 2026-03-21 3/150 2026-03-21 19:23 by 简之-
信息提示
请填处理意见