24小时热门版块排行榜    

查看: 1159  |  回复: 1
【悬赏金币】回答本帖问题,作者骄傲的九零后将赠送您 10 个金币

骄傲的九零后

银虫 (正式写手)

[求助] 求助 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的回帖

骄傲的九零后

银虫 (正式写手)

需要的信息,可以多赠送金币啊
2楼2024-12-23 11:57:46
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 骄傲的九零后 的主题更新
不应助 确定回帖应助 (注意:应助才可能被奖励,但不允许灌水,必须填写15个字符以上)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 2026国自然函评费到账 +9 羊腰板 2026-08-21 9/450 2026-08-22 00:03 by anji999
[基金申请] 建议基金发布提前给出明确的时间点 +10 kulium 2026-08-21 13/650 2026-08-21 21:58 by alongwaytogo
[基金申请] 科研孤儿太难了 +17 我4大白菜 2026-08-20 18/900 2026-08-21 20:57 by zhangev
[基金申请] 时间戳又变了 +13 wuchongjun 2026-08-20 19/950 2026-08-21 17:21 by 紫杉醇
[基金申请] filecode,4个jtjc了 +11 ziyangfang 2026-08-19 14/700 2026-08-21 16:51 by applepetty
[基金申请] 感觉是下周放榜了 +7 angus9576 2026-08-17 12/600 2026-08-21 13:38 by weiyin
[基金申请] 我面上完蛋了 +7 且听虎啸 2026-08-20 8/400 2026-08-21 12:31 by 酷酷墨镜
[基金申请] 只有每年这种时候来逛逛小木虫 +23 yaoyewhu2008 2026-08-20 25/1250 2026-08-21 12:19 by Poppy1104
[基金申请] 应该是下周三26日公布了吧? +4 哈哈蛤? 2026-08-21 4/200 2026-08-21 10:58 by Vivilian
[论文投稿] 投稿咨询 +5 wwm09 2026-08-17 7/350 2026-08-21 10:11 by 期刊论文帮手
[基金申请] 今天放榜没戏了吧 +9 yuleib84 2026-08-19 11/550 2026-08-21 10:06 by gltch
[基金申请] 基金啊基金 +4 longfie172 2026-08-20 4/200 2026-08-21 08:58 by mark mao
[基金申请] 时间戳今天,20号变了 +4 archvillain 2026-08-20 4/200 2026-08-21 08:10 by gatelove
[基金申请] 估计是周四 +3 archvillain 2026-08-18 3/150 2026-08-21 01:48 by jnhyjjm
[基金申请] 今天系统多次维护,明天很可能放榜! +10 zju2000 2026-08-16 11/550 2026-08-20 20:02 by cl479861084
[基金申请] 时间戳变了,能看出什么问题? +18 基诺咪客 2026-08-17 23/1150 2026-08-20 17:19 by Godzela
[基金申请] 重要消息,中午系统在维护 +11 yuleib84 2026-08-18 12/600 2026-08-20 11:09 by xskun
[基金申请] 2027广东省杰青 +4 奶牛小黑 2026-08-15 10/500 2026-08-19 11:02 by wanfengnew
[基金申请] 朋友圈看到的 +6 wangzilk 2026-08-18 8/400 2026-08-19 10:55 by Haru815
[基金申请] 明天放榜? +5 Shxjjxjkx 2026-08-18 5/250 2026-08-18 18:14 by -大大大大大-
信息提示
请填处理意见