← 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

Chareyre proposed the following answer:
Oh ok, you don't need different succion in different places, you just want to delete some of the capillary bridges.
In that case, yes, a "broken" flag will do the trick. A good place to use it is line 133 (so that deleting broken interactions and other things will done for you gracefully): 

Real Pinterpol = isBroken ? 0 : CapillaryPressure*(R2/liquidTension);

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