forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2990 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
3c7f2e4e97
commit
2c4b866f62
|
@ -142,10 +142,11 @@ run 8000
|
|||
</PRE>
|
||||
<PRE># -------------- Flux calculation in nve ---------------
|
||||
</PRE>
|
||||
<PRE>reset_timestep 0
|
||||
compute flux all heat_flux
|
||||
<PRE>reset_timestep 0
|
||||
compute myPE all pe/atom pair
|
||||
compute flux all heat_flux myPE
|
||||
log flux.log
|
||||
variable J equal c_flux<B>1</B>/vol
|
||||
variable J equal c_flux[1]/vol
|
||||
thermo_style custom step temp v_J
|
||||
run 100000
|
||||
</PRE>
|
||||
|
|
|
@ -139,10 +139,10 @@ run 8000 :pre
|
|||
|
||||
# -------------- Flux calculation in nve --------------- :pre
|
||||
|
||||
reset_timestep 0
|
||||
compute flux all heat_flux
|
||||
reset_timestep 0
|
||||
compute myPE all pe/atom pair
|
||||
compute flux all heat_flux myPE
|
||||
log flux.log
|
||||
variable J equal c_flux[1]/vol
|
||||
variable J equal c_flux\[1\]/vol
|
||||
thermo_style custom step temp v_J
|
||||
run 100000 :pre
|
||||
|
||||
|
|
Loading…
Reference in New Issue