Skip to content

Commit

Permalink
GLE thermostat narrative, first draft
Browse files Browse the repository at this point in the history
  • Loading branch information
ceriottm committed Oct 14, 2024
1 parent 26262ee commit c30dc9a
Show file tree
Hide file tree
Showing 2 changed files with 175 additions and 80 deletions.
21 changes: 10 additions & 11 deletions examples/thermostats/data/gle.lmp
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,19 @@ pair_coeff 1 1 0.000295147 5.96946

neighbor 2.0 bin

thermo 100

velocity all create 300.0 2345187

timestep 1.0
fix 1 all gle 6 300 300 31415 data/smart.A

timestep 1.0
dump 1 all xyz 100 lammps_pos.xyz
dump 2 all custom 1 lammps_vel.xyz type vx vy vz
dump_modify 2 first yes
dump_modify 2 header no
variable natoms equal count(all)
variable comment string "Timestep: "
fix header all print 1 "${natoms}\n${comment}" file lammps_vel.xyz screen no append yes

run 1000
thermo 100
thermo_style custom step temp press pe etotal
variable T equal temp
variable P equal press
variable PE equal pe
variable ETOTAL equal etotal
fix thermo_out all ave/time 10 1 10 v_T v_P v_PE v_ETOTAL file lammps_out.dat

run 10000

Loading

0 comments on commit c30dc9a

Please sign in to comment.