请教这个程序对不对
lammps吧
全部回复
仅看楼主
level 1
units metal
boundary p p p
atom_style atomic
lattice fcc 3.61
region wor block 0 50 0 10 0 50
region box block 0 50 -10 50 0 50
create_box 1 box
create_atoms 1 region wor
pair_style eam
pair_coeff* * Cu_u3.eam
run 0
neighbor 0.5 bin
neigh_modify every 5 delay 0 check yes
regionhot block 24 26 9 10 24 26 units box
grouphot region hot
thermo100
timestep 0.005
compute 110 all ke/atom
dump 200 all custom 10 dump.po xs ys zs c_110
fix 40 all nve
run 1000
fix 30 hot temp/rescale 10 300 1000 0.05 0.5
run 10000
目的是想在这个Cu片中间加热,观察热的传递,是不是看原子的动能/震动就好了?
还有fix temp/rescle 后两个参数应该怎么理解呀 谢啦
2018年03月10日 08点03分 1
level 9
最后两个值,manuel里面说的很明白了吧
window = only rescale if temperature is outside this window (temperature units)
fraction = rescale to target temperature by this fraction
Rescaling is only performed if the difference between the current and desired temperatures is greater than the window value. The amount of rescaling that is applied is a fraction (from 0.0 to 1.0) of the difference between the actual and desired temperature. E.g. if fraction = 1.0, the temperature is reset to exactly the desired value.
2018年03月13日 11点03分 2
哦哦 懂了 那时候没细看.... 话说我这么定义的模型 模拟时候原子为啥会重叠呢 热也不传递 也没相互作用 我已经定义势函数了呀
2018年03月14日 06点03分
回复 风花雪月℉ :没用过create_atom,不敢说
2018年03月14日 10点03分
回复 apm只有零 :那您是怎样建模的呀?
2018年03月14日 12点03分
回复 风花雪月℉ :建模么?自己写的code,我本身做的就是高分子方面的,create_atom就不好用-。-
2018年03月14日 13点03分
level 1
2018年03月18日 14点03分 3
level 1
units real
dimension 3
boundary p p p
atom_style charge
#neighbor 2.0 bin
# read topology
read_data sioh.data
# Force-field parameters
# O=1 Si=2 H=3
pair_style reax/c NULL checkqeq yes
pair_coeff * * ffield.reax.SIOH O Si H
fix 5 all nve
fix 10 all qeq/reax 1 0.0 10.0 1.0e-6 reax/c
run 1000
2018年03月28日 03点03分 4
1