← Back to team overview

yade-dev team mailing list archive

[Bug 1175574] Re: spherePacking warning pack.randomDensePack

 

ok, thank you!
That is very useful as I can create reusable packings now.

-- 
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
https://bugs.launchpad.net/bugs/1175574

Title:
  spherePacking warning pack.randomDensePack

Status in Yet Another Dynamic Engine:
  New

Bug description:
  Hi,
  making use of pack.randomDensePack to fill up a predicate gives the following warning:

  WARN  /build/buildd/yade-daily-3+3463+44~precise1/pkg/dem/SpherePack.cpp:107 makeCloud: porosity must be >0, changing it for you. It will be ineffective if rMean>0.
  WARN  /build/buildd/yade-daily-3+3463+44~precise1/pkg/dem/TriaxialCompressionEngine.cpp:110 action: This engine is deprecated, please switch to TriaxialStressController if you expect long term support.
  /usr/lib/yade-daily/py/yade/pack.py:288: FutureWarning: The default behavior will change; specify returnSpherePack=True for the new behavior, and False to get rid of this warning (your code will break in the future, however). The returned SpherePack object can be added to the simulation using SpherePack.toSimulation()
    warnings.warn('The default behavior will change; specify returnSpherePack=True for the new behavior, and False to get rid of this warning (your code will break in the future, however). The returned SpherePack object can be added to the simulation using SpherePack.toSimulation()',category=FutureWarning)
   
  Does this method need an update?
    "This engine is deprecated, please switch to TriaxialStressController if you expect long term support."
  the method works as supposed but the warning is annoying.

  I attached a minimum working example this time ;)

  Thanks, Eugen

To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/1175574/+subscriptions


References