Skip to content
Snippets Groups Projects
Commit cf26690f authored by athomps's avatar athomps
Browse files

Corrected formula for case lx != ly

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14820 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent 20f13bf1
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ variable rho equal 0.6
variable t equal 1.0
variable rc equal 2.5
variable srate equal 2.7
variable srate equal 2.7 # velocity of top edge
# problem setup
......@@ -22,7 +22,7 @@ neigh_modify delay 0 every 1
# problem setup
lattice sq2 ${rho}
region simbox prism 0 $y 0 $y -0.1 0.1 0.0 0.0 0.0
region simbox prism 0 $x 0 $y -0.1 0.1 0.0 0.0 0.0
create_box 1 simbox
create_atoms 1 box
......@@ -48,7 +48,9 @@ unfix 2
velocity all scale $t
variable xyrate equal ${srate}/lx
# shear rate defined relative to perpendicular dimension
variable xyrate equal ${srate}/ly
fix 1 all nvt/sllod temp $t $t 0.1
fix 2 all deform 1 xy erate ${xyrate} remap v
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment