24小时热门版块排行榜    

查看: 1966  |  回复: 3
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

mingbaiw

金虫 (正式写手)

[求助] lammps软件无法dump出cfg/custom文件 已有1人参与

in文件如下:


# FeNi

units           metal
boundary        p p p
atom_style      atomic

#variable        i loop 5
#variable        x equal 300#

read_data        FeNi.lammps

pair_style        eam/alloy
pair_coeff        * * FeCuNi.eam.alloy Fe Ni

timestep        0.002
thermo                100
neighbor        2.0 bin
neigh_modify    every 1 delay 0 check yes

compute          3 all pe/atom
compute          4 all ke/atom
compute          5 all coord/atom 3.0

velocity        all create 2.5 17287 dist gaussian

variable        N equal step
variable        Ep equal pe
variable        Etotal equal etotal
variable        T equal temp
#variable        Press equal press
#variable        V equal vol
variable        K equal ke

#velocity        all create 2.5 825577 dist gaussian
#timestep        0.002

thermo_style    custom step temp etotal ke pe

#dump            1  all xyz 1000 dump.xyz
#dump            2  all custom 1000 dump.lammpstrj id type x y z c_3 c_4

#thermo                1000

#compute          3 all pe/atom
#compute          4 all ke/atom
#compute          5 all coord/atom 3.0
#dump             1 all custom 200 dump_*.lammpstrj id  type xs ys zs c_3 c_4 c_5
#dump            1 all cfg 100 a*.cfg mass type xs ys zs
#run              2000

dump             1 all cfg 100 layer*.cfg mass type xs ys zs
run              2000


#fix                1 all nvt temp 2.5 2.5 0.2
#run                4000
#unfix                1

#fix             2 all npt temp 2.5 300 0.2 iso 0 0 10
#run             4000
#unfix                2

#fix             extra all print 200 "${N} ${T} ${Etotal} ${Ep} ${K} " append data

#fix                3 all nvt temp 300 300 0.2
#run                2000

#unfix                3
#unfix                extra


clear
#next                i
#jump                in.heating
回复此楼

» 猜你喜欢

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

帐棚

银虫 (正式写手)

【答案】应助回帖

dump                 1 all cfg 200 dump.tensile_*.cfg mass type xs ys zs c_csym c_peratom fx fy fz
试一下
站在巅峰看世界
4楼2019-02-15 15:02:21
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 4 个回答

mingbaiw

金虫 (正式写手)

已经调整过命令的顺序,但是依然不行。

希望有人能指导一下,只要能导出原子信息就可以了
2楼2016-07-07 12:30:32
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

江南小毛羊

新虫 (正式写手)

3楼2016-07-10 01:13:56
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
信息提示
请填处理意见