24小时热门版块排行榜    

查看: 1467  |  回复: 1

anviacc

新虫 (初入文坛)

[求助] 求助 用lammps模拟铜纳米熔化过程, 不同温度下的rdf不变? 已有1人参与

初学lammps,求铜纳米熔化过程不同温度下的rdf函数? 不知哪里出了错误,求大神指点



clear
units metal
dimension 3
boundary p p p
atom_style atomic
atom_modify map array

# ---------- Create Atoms ---------------------

lattice fcc 3.61
region box block 0 200 0 200 0 200 units lattice
create_box 1 box


lattice fcc 3.61  
region my1 sphere 100.0 100.0 100.0 2.8
create_atoms 1 region my1


# ---------- Define Interatomic Potential ---------------------

pair_style eam/alloy
pair_coeff * * Cu_mishin1.eam.alloy Cu




# ---------- Run Minimization ---------------------
reset_timestep 0
velocity all create 700.0 4928459
#fix 1 all npt temp 900 900 1 iso 0 0 1000

neighbor 1.0 bin
neigh_modify delay 5 check yes

compute myRDF all rdf 50
fix 1 all ave/time 200 1 200 c_myRDF
file tmp.rdf mode vector

thermo 1000
thermo_style custom step temp pe lx ly lz
dump my all movie 10 my.avi type type
dump my1 all xyz 1000 file.xtc
run 50000

print "Total energy (eV) = ${teng};"
print "Number of atoms = ${natoms};"
print "Lattice constant (Angstoms) = ${length};"
print "Cohesive energy (eV) = ${ecoh};"

print "All done!"
回复此楼

» 猜你喜欢

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

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

brucefan

专家顾问 (著名写手)

【答案】应助回帖

感谢参与,应助指数 +1
你为什么把fix npt 注释掉?没它怎么积分?

[ 发自手机版 http://muchong.com/3g ]
2楼2018-03-24 20:37:30
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 anviacc 的主题更新
信息提示
请填处理意见