[lammps-users] How we can get strain-stress curve from the Fix-Deform command

Dear All,
I am wondering how we can get strain-stress curves as dispersed in many papers. If I would like to use Fix-Deform command to simulate the tensile process,
then which strain corresponds to which stress. Many thanks.

Zhuang,

Look at this script:

thermo_style custom step temp pe etotal pxx pyy pzz pxy pxz pyz vol
fix 3 all deform 1000 z scale 1.4
run 1000000 0.001

or

fix 2 all ave/time 1 100 1000 c_thermo_press[3] file stress.all
fix 3 all deform 1000 z scale 1.4
run 1000000 0.001

The stress is pzz in the thermo dump file, strain is 40% at the end of running. You can get the s-s curve accordingly.