#z向拉伸
fix 2 all npt temp ${T} ${T} ${Tdump} x ${P} ${P} ${Pdump} y ${P} ${P} ${Pdump}
fix 3 all deform 100 z erate 0.00000002 remap x units box
thermo_style custom time atoms step temp press vol lx ly lz density pxx pyy pzz pxy pxz pyz
thermo 20000#${thermo}
dump 1 all xyz 20000 tension_${name}.xyz
dump 2 watergroup xyz 20000 tension_noch_${name}.xyz
dump 3 CHgroup xyz 20000 tension_noh2o_${name}.xyz
dump_modify 1 element OW HW C H
dump_modify 2 element OW HW C H
dump_modify 3 element OW HW C H
#保存应力应变数据
fix def3 all print 20000 "${strainz} ${stressz}" screen no file stress-strain_${name}.dat