為什么我的模擬結(jié)果原子不動
units metal
dimension 3
boundary f f p
atom_style atomic
neighbor 2.0 bin
neigh_modify every 1 delay 5 check yes
region box block 0 169 0 168 0 400
create_box 2 box
region wall_left block 0 4 0 168 0 400
region wall_right block 164 169 0 168 0 400
region wall_down block 4 164 0 4 0 400
region flow block 4 164 4 44 0 400
lattice fcc 5.738
create_atoms 1 region flow
lattice fcc 3.483
create_atoms 1 region wall_left
create_atoms 1 region wall_right
create_atoms 1 region wall_down
mass 1 39.948
mass 2 39.948
pair_style hybrid lj/cut 8.5 dpd/tstat 86 86 8.5 34387
pair_coeff 1 1 lj/cut 0.0103125 3.4
pair_coeff 1 2 lj/cut 0.00515625 3.4
pair_coeff 2 2 lj/cut 0.00515625 3.4
pair_coeff 1 1 dpd/tstat 0.0672 8.5
comm_modify vel yes
group 1 region wall_left
group 2 region wall_right
group 3 region wall_down
group wall union 1 2 3
group flow region flow
group Ar subtract all wall
set group wall type 2
velocity flow create 86 482748 mom yes rot yes
compute 1 Ar chunk/atom bin/2d x lower 2 y lower 2 units box
velocity wall set 0.0 0.0 0.0
fix 1 wall setforce 0.0 0.0 0.0
fix 5 flow ave/chunk 100 5 500 1 density/mass file c_0.5.profile
timestep 0.005
thermo 1000
thermo_style custom step temp pe press density etotal
dump 1 all custom 1000 c_0.5.dump id type x y z
run 310000
想問下為什么我這個in文件跑出來的結(jié)果原子完全不動,我明明也對flow原子施加了速度, 后來我又試著加上fix nvt命令,結(jié)果原子動的太快也不是想要的結(jié)果,有人知道嗎。
返回小木蟲查看更多
京公網(wǎng)安備 11010802022153號
velocity只是創(chuàng)建初始速度,需要加上fix nve
你沒有對粒子的位置和速度進行積分,需要加fix nve或nvt這樣的命令
我現(xiàn)在是在做復現(xiàn)別人的文章的工作,這篇文獻中之前的模擬只要采用nve、nvt這類的就會明確說,現(xiàn)在這個模擬文獻中并沒有說采用這種,所以我就沒加,發(fā)現(xiàn)結(jié)果不動以后我也對照我之前的模擬,也感覺是沒有加nve、nvt這種的問題,所以我試著加上這樣的命令,結(jié)果是原子運動太快,幾千步就丟失原子了,
文獻可以貼一下嗎