24小时热门版块排行榜    

北京石油化工学院2026年研究生招生接收调剂公告
查看: 829  |  回复: 0
【悬赏金币】回答本帖问题,作者骄傲的九零后将赠送您 50 个金币

骄傲的九零后

银虫 (正式写手)

[求助] 求助 lammps上DPD模拟计算

各位虫友好,最近在lammps上,用DPD计算模拟聚合物相分离,总是出现ERROR: Fix mvv/dpd requires atom attribute vest (src/DPD-MESO/fix_mvv_dpd.cpp:66)这句话。这里的vest是什么意思啊,找了不少资料也没解决,在这里卡了好久了,哪位虫友遇到过啊,下面是我的in文件。                                      units        lj
dimension    3
boundary     p p p
timestep     0.005                                            

############## Atom and Bond Styles ##############

atom_style   full
read_data    Equil-2-5-80.data

############## Atom and Bond Styles ##############
bond_style   harmonic
bond_coeff   * 10.0 1.0                                       
bond_coeff   4 100.0 1.0
bond_coeff  1 60.0 1.0

angle_style      hybrid harmonic cosine     
angle_coeff      4 harmonic 1000 120
angle_coeff      1 cosine 1   
angle_coeff      2 cosine 1
angle_coeff      3 cosine 1
angle_coeff      5 cosine 1
angle_coeff      6 cosine 1
angle_coeff      7 cosine 1
angle_coeff      8 cosine 1
angle_coeff      9 cosine 1
angle_coeff      10 cosine 1

############## Groups and Fixes ##############
#Set neighbor list radius to 10                              
neighbor     3 bin                                                                           
neigh_modify one 40000
neigh_modify page 400000
neigh_modify every 1 delay 0 check yes
comm_modify  vel yes

# Fix beads of type 3 as rigid bodies
group yellow type 3 4
fix   2 yellow rigid/small molecule langevin 1 1 0.5 456447

############## Tem compute ##############
group my type 1 2 5                       
region boundary block -24 28 -24 28 -28 24
compute mine my temp/region boundary

############## Output Settings ##############

thermo       1000
thermo_style custom step temp time ebond eangle edihed pe ke etotal lx ly lz density

############## Minimization ################

velocity     all create 1 34387
#minimize     1e-6 1e-6 1000 1000
#write_data   min.data

############## Soft Equilibration ##############

dump         1 all custom 1000 pe.lammpstrj id mass mol type xu yu zu
dump_modify  1 flush yes

############## Pair Styles ##############
# Soft potential for initial relaxation
pair_style   soft 2.5
pair_coeff   * * 10                                                                          

# Initial NvT equilibration
fix          3 all nvt temp 1 1 0.5
run          100000
unfix        3
write_data   SEquil-2-5-80.data

############## DPD Equilibration ################

pair_style        hybrid dpd 1 1 34387 lj/cut 2.5                       #pair_style dpd T cutoff seed   #pair_style style args  #lj/cut args = cutoff
pair_coeff       1 1 dpd 25 4.5
pair_coeff       1 2 dpd 60 4.5
pair_coeff       1 3 dpd 60 4.5
pair_coeff       1 4 dpd 60 4.5
pair_coeff       1 5 dpd 60 4.5
pair_coeff       2 2 dpd 25 4.5
pair_coeff       2 3 dpd 80 4.5
pair_coeff       2 4 dpd 80 4.5
pair_coeff       2 5 dpd 25 4.5
pair_coeff       3 3 dpd 25 4.5
pair_coeff       3 4 dpd 25 4.5
pair_coeff       3 5 dpd 80 4.5
pair_coeff       4 4 dpd 25 4.5
pair_coeff       4 5 dpd 80 4.5   
pair_coeff       5 5 dpd 25 4.5   
pair_coeff       3 3 lj/cut 2 1.2
pair_coeff       4 4 lj/cut 2 1.2   

fix            4 all langevin 1 1 0.5 12345                          
                                                                 
####################################################################Deform to the density of 3 g/cm^3###########

fix            11 all mvv/dpd 0.65                                          

run            1000000
write_data     deformed.data

run            1000000
write_data     1deformed.data

run            100000
unfix          11
write_data      2deformed.data
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 骄傲的九零后 的主题更新
不应助 确定回帖应助 (注意:应助才可能被奖励,但不允许灌水,必须填写15个字符以上)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 338求调剂 +4 wxygxsaaaaa 2026-04-06 4/200 2026-04-06 17:14 by 尚水阁主
[考研] 一志愿生物与医药,296分,求调剂 +10 66鹿 2026-04-03 12/600 2026-04-06 12:53 by 血荐轩辕123
[考研] 材料与化工专硕306分找合适调剂 +6 沧海轻舟e 2026-04-06 6/300 2026-04-06 10:02 by lqwchd
[考研] 复试调剂 +5 asdasdassda 2026-04-05 5/250 2026-04-06 09:32 by dongzh2009
[考研] 一志愿211,化学学硕,310分,本科重点双非,求调剂 +13 努力奋斗112 2026-04-04 13/650 2026-04-06 07:13 by jj987
[考研] 一志愿同济大学323分(080500)求调剂 +8 yikeniu 2026-04-01 8/400 2026-04-05 18:15 by cql1109
[考研] 调剂 +11 JLLLLLLLLLL 2026-04-03 11/550 2026-04-04 22:21 by hemengdong
[考研] 341求调剂 +3 洛多罗 2026-04-02 4/200 2026-04-04 21:36 by 智能智慧
[考研] 321求调剂 +13 认真求上学 2026-04-02 13/650 2026-04-04 18:23 by macy2011
[考研] 309求调剂 +6 刘刘刘1231 2026-04-02 7/350 2026-04-04 13:41 by liucky
[考研] 26调剂 086003 +6 失活的细胞 2026-04-04 6/300 2026-04-04 09:50 by zhangdingwa
[考研] 考研求调剂 +3 木心想继续深造 2026-04-03 3/150 2026-04-03 21:56 by 啵啵啵0119
[考研] 求调剂机会 +5 意染ivy 2026-04-03 5/250 2026-04-03 15:13 by qoooooo614
[考研] 工科341分调剂 +3 洛多罗 2026-04-03 3/150 2026-04-03 14:20 by 1753564080
[考研] 一志愿北京交通大学材料工程总分358 +4 cs0106 2026-04-03 4/200 2026-04-03 13:41 by 百灵童888
[考研] 283求调剂 +3 jiouuu 2026-04-03 4/200 2026-04-03 13:28 by jiouuu
[考研] 一志愿安徽大学0817化学工程与技术,求调剂 +14 我不是只因 2026-04-02 15/750 2026-04-03 09:49 by 蓝云思雨
[考研] 一志愿安徽大学计算机科学与技术学硕,331分求调剂 +5 蒋昌鹏qtj 2026-04-01 5/250 2026-04-02 08:10 by fxue1114
[考研] 339求调剂 +5 zjjkt 2026-03-31 5/250 2026-04-01 09:18 by JourneyLucky
[考研] 一志愿西交大080500材料学硕349 +6 jqx1258 2026-03-31 7/350 2026-03-31 21:08 by yuq
信息提示
请填处理意见