# Initialization
units real
boundary p p p
atom_style full #molecular
read_data 2304265K.data
timestep 0.0005
# Dreiding potential information
neighbor 2 bin
neigh_modify every 1 delay 0 check yes
neigh_modify one 5000
#-------------------------应力应变保存到文件---------------------------
fix def3 all print 100 "${strainx} ${stressx} ${strainy} ${stressy} ${strainz} ${stressz}" &
file stress-strain.dat screen no
#-------------------三向拉伸--------
fix 1 all nve
fix 2 all temp/rescale 10 265 265 5 1.0
fix 3 all deform 100 y erate 0.005 remap x units box
dump 1 all custom 100 water_tension.xyz id type x y z
run 1200000
做一个材料的拉伸,部分拉伸代码如上,最后输出的stress y达到11GPa的数量级,明显不是这个材料的屈服强度。 (, 下载次数 Times of downloads: 15)
上传 Uploaded
点击下载Click to download
我查阅了real unit的单位制,pressure的单位是atm,也就是1个大气压,这个11是已经除以了10000的,所以数值计算没有问题。
我又看了L-J势下关于pressure的定义,
(, 下载次数 Times of downloads: 12)
==============================================以下是我的in文件==========================
#--------------------初始化--------------------------
units metal
dimension 3
boundary p p p
atom_style atomic
create_box 4 box1 #4 种原子
create_atoms 1 region box1
#------------原子类型转化---------------------------
set type 1 type/ratio 2 0.25 87393
set type 1 type/ratio 3 0.33333 87393
set type 1 type/ratio 4 0.5 87393
#-----------原子类型信息---------------------------
mass 1 55.845 #Fe
mass 2 51.996 #Cr
mass 3 58.693 #Ni
mass 4 58.933194 #Co
#----------------势函数设置-------------------------
pair_style eam/alloy
pair_coeff * * FeNiCrCoCu-with-ZBL.eam.alloy Fe Cr Ni Co
你现在解决了吗,我也遇到相同的问题,但我看了一下你的in文件觉得有两个疑问:
fix 1 all deform 10 z erate 0.005 remap x units box
z轴拉伸为啥要remap x?
fix 6 all npt temp 300 300 0.1 x 0 0 1000 y 0 0 1000
x, y轴方向的压力为何设置成0而不是1bar呢?