24小时热门版块排行榜    

查看: 1316  |  回复: 5

ynwtg

银虫 (初入文坛)

[求助] fix npt 出错

ERROR on proc 0: Pair distance < table inner cutoff <../pair_table.cpp:112>
请教各位大神,是什么原因。不胜感激!
## in file
units        metal
atom_style    atomic
boundary    p p p

lattice        custom ... a1... a2 ... a3... &
                  basis ...
region            box block 0 10 0 10 0 4
create_box        5 box
create_atoms        5 box basis ...

mass                ...
mass                ...
...

# potential

pair_style    table linear 5000 ewald

pair_coeff    1 1 pair.table Y_Y 10.0
pair_coeff          ....                    ....
...                      ....                    ....

run             0
variable    E equal pe
variable     N equal atoms
print           "The number of atoms is $N and the system energy is $E."

dump         1 all atom  ...

neighbor    0.2 bin
neigh_modify    every 1 delay 1 check yes

min_style    cg
minimize    1.0e-10 0 10000 100000

timestep    0.00001                          #步长会不会太小?
thermo        1

fix        npt all npt temp 1000.0 1000.0 1.0 iso 0.0 0.0 100.0 drag 0.2

run        10000
print           "The final state:$N atoms, total energy is $E."

## screen output

fix npt 出错
screen output.png
回复此楼

» 猜你喜欢

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

mz121

铜虫 (小有名气)

2楼2015-09-24 00:14:49
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

ynwtg

银虫 (初入文坛)

Tdamp=1, Pdamp=100,都不大吧
3楼2015-09-24 08:00:09
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

ynwtg

银虫 (初入文坛)

引用回帖:
2楼: Originally posted by mz121 at 2015-09-24 00:14:49
Tdamp Pdamp怎么取那么大

Tdamp=1, Pdamp=100,都不大吧
4楼2015-09-24 08:00:25
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

fenqin

铜虫 (小有名气)

我也遇到了fix npt 问题是不是
fix        npt all npt temp 1000.0 1000.0 1.0 iso 0.0 0.0 100.0 drag 0.2 这一行中 1000.0 1000.0 必须相等,可以是升温过程吗
5楼2015-09-25 15:57:23
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

ynwtg

银虫 (初入文坛)

引用回帖:
5楼: Originally posted by fenqin at 2015-09-25 15:57:23
我也遇到了fix npt 问题是不是
fix        npt all npt temp 1000.0 1000.0 1.0 iso 0.0 0.0 100.0 drag 0.2 这一行中 1000.0 1000.0 必须相等,可以是升温过程吗

Manual中“The desired temperature at each timestep is a ramped value during the run from Tstart to Tstop”——说明Tstart Tstop可以不等
6楼2015-09-25 16:15:35
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 ynwtg 的主题更新
信息提示
请填处理意见