LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Mailing List Archives
[lammps-users] Stress & strain value
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lammps-users] Stress & strain value


From: Asadollahzadeh <niliasadollahzadeh@...24...>
Date: Fri, 25 Aug 2017 11:23:23 +0430

Hi my friends!
I applied shear strain to my sample, but I don't know how can I obtain stress & stain!
May you guide me,please?

With this code I can't have stress & strain value!

variable srate equal 1.0e10
variable srate1 equal "v_srate / 1.0e12"
fix 2 all deform 1 xy erate ${srate1} units box remap x

variable strain equal "(lx - v_L0)/v_L0"
variable steress equal "-pxy/10000"