← Back to team overview

yade-users team mailing list archive

Re: [Question #190529]: deleting some liquid bridges in Law2_ScGeom_CapillaryPhys_Capillarity

 

Question #190529 on Yade changed:
https://answers.launchpad.net/yade/+question/190529

Christian Jakob posted a new comment:
Ok, so I will try your way...

My simulation is quasi-static, so there are not so much new contacts
within a few steps. But yes, your are right, I was also thinking about
that problem. I think I will update the broken flag every step (or every
10 steps), like this:

v_iw = 0.001  #velocity of incr. water-level in [m/s]
dt_now = O.dt
time_cube_full = model_height / v_iw
steps_cube_full = int(time_cube_full / dt_now)
t0 = O.time
for c_final in range (1,steps_cube_full):

  O.step()
  time_now = O.time
  water_height = (time_now-t0) * v_iw


  #determine contacts that are below water_height
  #...
  #set broken=True for that contacts
  #...

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.