Skip to content

Commit

Permalink
Fix bug in two-disks.mpm
Browse files Browse the repository at this point in the history
  • Loading branch information
adevaucorbeil committed Oct 10, 2024
1 parent 80bfe0c commit 293f19e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions examples/two-disks.mpm
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ N_log = 10
dumping_interval = N_log*1
dump(dump1, all, particle, dumping_interval, dump_p.*.LAMMPS, x, y, z)
dump(dump2, all, grid, dumping_interval, dump_g.*.LAMMPS, x, y, z)
dump(dump3, all, pyplot, 1, dump.*.pdf, 500, 500)
#-----------OUTPUTS------------------#
compute(Ek, kinetic_energy, all)
compute(Es, strain_energy, all)
Expand All @@ -46,9 +45,5 @@ set_dt(0.01) # constant time increments of 0.001

set_output(N_log)
log_modify(custom, step, dt, time, Ek, Es)
plot(Ek, N_log, time, Ek)
plot(Es, N_log, time, Es)
plot(Etot, N_log, time, Etot)
save_plot(plot.pdf)
log(N_log)
run_time(3.5) # run for a period of 3.5 seconds

0 comments on commit 293f19e

Please sign in to comment.