Commit f491c9d9 authored by Nathan Coppin's avatar Nathan Coppin
Browse files

remove print in timeintegration

parent 4cab6a2c
Pipeline #7074 passed with stage
in 2 minutes and 22 seconds
......@@ -21,7 +21,6 @@ def _advance_particles(particles, f, dt, min_nsub,contact_tol,momentum=None,iter
else:
vmax = np.max(np.hypot(vn[:, 0], vn[:, 1]))
# Estimation of the solid sub-time steps
print("VMAX",vmax)
nsub = max(min_nsub, int(np.ceil((vmax * dt * 8)/min(particles.r()))))
print("NSUB", nsub,"VMAX",vmax, "VMAX * dt", vmax * dt, "r", min(particles.r()))
#If time step was split too many times, ignore the convergence and move the grains
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment