24小时热门版块排行榜    

查看: 1325  |  回复: 0

xdr

金虫 (正式写手)

[求助] 聚合物拉伸

之前在lammps网站上看到一个模拟聚合物拉伸的例子,但是运行之后发现应力值有问题,试着修改了很多参数还是没有找到原因,请各位指点:
in文件
# Initialization
units                        real
boundary         p p p
atom_style        molecular
read_data         data-lammps.txt

# Dreiding potential information
neighbor        0.4 bin
neigh_modify        every 10 one 10000
bond_style      harmonic
bond_coeff        1 350 1.53
angle_style     harmonic
angle_coeff        1 60 109.5
dihedral_style        multi/harmonic
dihedral_coeff        1 1.73 -4.49 0.776 6.99 0.0
pair_style        lj/cut 10.5
pair_coeff        1 1 0.112 4.01 10.5

# Equilibration Stage 4 (NPT dynamics at 100 K)
fix                1 all npt temp 100 100 50 iso 0 0 1000 drag 2
fix                2 all momentum 1 linear 1 1 1
thermo_style        custom step temp press epair ebond eangle edihed pxx pyy pzz lx ly lz
thermo          1000
timestep        0.5
reset_timestep         0
run                50000
unfix 1
unfix 2

# Uniaxial Tensile Deformation
run  0
fix                1 all npt temp 100 100 50 y 0 0 1000 z 0 0 1000 drag 2
fix                2 all deform 1 x erate 1e-5 units box remap x
thermo_style        custom step temp pxx pyy pzz lx ly lz epair ebond eangle edihed
thermo            100
timestep               1
reset_timestep         0
dump               1 all atom 1000 dump1.lammpstrj
run                        171800

data文件
    100     atoms
      99     bonds
      98     angles
      97     dihedrals

         1     atom types
         1     bond types
         1     angle types
         1     dihedral types

    0.0000   158.5000 xlo xhi
    0.0000   158.5000 ylo yhi
    0.0000   100.0000 zlo zhi

Masses

         1          14.02

Atoms

         1         1         1    5.6240    5.3279   51.6059
……(省去)
Bonds

         1         1         1         2
……(省去)
Angles

         1         1         1         2         3
  ……(省去)
Dihedrals

         1         1         1         2         3         4
……(省去)

log文件(只列出拉伸的部分数据)
Step Temp Pxx  Lx   
       0    99.789705   0.38065973    275.47105        
     100    101.88813    0.5177075   275.74652     
     200    107.26163   0.31814294      276.02199     
     300    91.681759 -0.054211006    276.29746     
     400    104.34186  -0.30922012     276.57293     
     500    93.074487   0.80893489      276.8484   
     600     93.14631   0.67074702        277.12387     
     700    95.795549   0.79213256       277.39934   
     800    85.602899   0.08175127    277.67482     
     900    101.17604   0.31384049    277.95029     
    1000     109.7724    0.1937424     278.22576   
    1100     98.72743   0.11628565    278.50123   
    1200    112.30888   -0.3747989      278.7767   
    1300    98.345275  -0.73043229    279.05217   
    1400     97.97989   0.54237926      279.32764

看到一些例子,都是金属或者纳米管、石墨烯类似,atom_style atomic,有人试过molecular的吗?
回复此楼

» 猜你喜欢

» 本主题相关商家推荐: (我也要在这里推广)

已阅   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 xdr 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 336求调剂 +3 收到VS 2026-03-20 3/150 2026-03-23 13:23 by Iveryant
[考研] 307求调剂 +11 冷笙123 2026-03-17 11/550 2026-03-22 20:16 by edmund7
[考研] 275求调剂 +6 shansx 2026-03-22 8/400 2026-03-22 15:27 by barlinike
[考研] 求调剂 +7 Auroracx 2026-03-22 7/350 2026-03-22 12:38 by 素颜倾城1988
[考研] 生物学一志愿985,分数349求调剂 +4 zxts12 2026-03-21 7/350 2026-03-22 09:57 by zxts12
[基金申请] 山东省面上项目限额评审 +4 石瑞0426 2026-03-19 4/200 2026-03-22 08:50 by Wei_ren
[考研] 化学调剂 +5 yzysaa 2026-03-21 5/250 2026-03-21 22:12 by peike
[考研] 求调剂 +4 要好好无聊 2026-03-21 4/200 2026-03-21 18:57 by 学员8dgXkO
[考研] 0703化学调剂 +4 妮妮ninicgb 2026-03-21 4/200 2026-03-21 18:39 by 学员8dgXkO
[考研] 求调剂 +3 13341 2026-03-20 3/150 2026-03-21 18:28 by 学员8dgXkO
[考研] 材料学硕333求调剂 +3 北道巷 2026-03-18 3/150 2026-03-21 18:17 by 学员8dgXkO
[考研] 299求调剂 +5 shxchem 2026-03-20 7/350 2026-03-21 17:09 by ColorlessPI
[考研] 22 350 本科985求调剂,求老登收留 +3 李轶男003 2026-03-20 3/150 2026-03-21 13:28 by 搏击518
[考研] 332求调剂 +4 ydfyh 2026-03-17 4/200 2026-03-21 02:20 by JourneyLucky
[考研] 304求调剂 +7 司空. 2026-03-18 7/350 2026-03-20 23:08 by JourneyLucky
[考研] 中南大学化学学硕337求调剂 +3 niko- 2026-03-19 6/300 2026-03-20 21:58 by luoyongfeng
[考研] 0856调剂,是学校就去 +8 sllhht 2026-03-19 9/450 2026-03-20 14:25 by 无懈可击111
[考研] 一志愿福大288有机化学,求调剂 +3 小木虫200408204 2026-03-18 3/150 2026-03-19 13:31 by houyaoxu
[考研] 085600材料与化工求调剂 +6 绪幸与子 2026-03-17 6/300 2026-03-19 13:27 by houyaoxu
[考研] 333求调剂 +3 文思客 2026-03-16 7/350 2026-03-16 18:21 by 文思客
信息提示
请填处理意见