← Back to team overview

yade-dev team mailing list archive

[Bug 1351275] Re: using internalCompaction = True in TriaxialStressController() is not valid for clumps

 

Good point. Actually TriaxialStressController.cpp:226 is an outdated ancestor of Shop::growParticles().
I replaced the old code by a call to Shop::growParticles() in TSC (rev. e8dd0547609). 

Also, it seems to me that it is not necessary to run updateProperties for clumps when they grow homotheticaly.
We can apply the same rule as for spheres: mass*=factor^3, inertia*=factor^5. I did that in rev. 3b0adbe3b9d94c7. 
Let me know if you see a problem in this change.

Bruno

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

Title:
  using internalCompaction = True in TriaxialStressController() is not
  valid for clumps

Status in Yet Another Dynamic Engine:
  New

Bug description:
  growing particles is increasing sphere radii, but does not correct
  positions of clump members.

  https://github.com/yade/trunk/blob/master/pkg/dem/TriaxialStressController.cpp

  (line 226)

  to fix growing clumps should be handled like in Shop::growParticles()

  https://github.com/yade/trunk/blob/master/pkg/dem/Shop_02.cpp

  (line 459)

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


References