Discussion:
[deprecated list] about the interaction between boxes
Václav Šmilauer
2009-05-26 06:51:16 UTC
Permalink
so if I still want to do some simulation about boxes interaction, can i
write the codes as RotatingBox?
do i just need to add the following contents in my codes?
shared_ptr<InteractionGeometryMetaEngine>
interactionGeometryDispatcher(new InteractionGeometryMetaEngine);
interactionGeometryDispatcher->add("InteractingSphere2InteractingSphere4ClosestFeatures");
interactionGeometryDispatcher->add("InteractingBox2InteractingSphere4ClosestFeatures");
interactionGeometryDispatcher->add("InteractingBox2InteractingBox4ClosestFeatures");
You can of course, but you also have to use constitutive law that uses
ClosestFeatures. Make sure that you read code of
InteractingBox2InteractingBox, but the code is quite hairy and I
wouldn't trust it as-is: as far as I remember I found myself (sorry)
fixing bugs in Olivier's code quite often; I wasn't at yade crew back
then but it seems to me that the point was to prove how flexible yade is
(or can be) by implementing many algorithms, but without necessarily
scrutinizing them for their correctness.

Besides, you have to use FrictionLessContactLaw, which takes only
penetration depth of bodies into account; therefore you gen no shear,
for instance.

Yet another point may be the speed of box collisions; maybe replacing
box by a few clumped spheres would be good enough for your purposes.

HTH, Vaclav



_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users-oU9gvf+***@public.gmane.org
Unsubscribe : https://launchpad.net/~yade-users
More help : https://help.launchpad.net/ListHelp
Jingsong Chen
2009-05-26 00:40:03 UTC
Permalink
hello, everyone, i am a new user of YADE. I noticed that somebody have
already asked some question about the the interaction between boxes, and
the answer is " there is no interaction between boxes defined. Just in
the ErrorTolerant contact law (RotatingBox) but I am not sure how
accurate that algorithm is."

so if I still want to do some simulation about boxes interaction, can i
write the codes as RotatingBox?
do i just need to add the following contents in my codes?

shared_ptr<InteractionGeometryMetaEngine>
interactionGeometryDispatcher(new InteractionGeometryMetaEngine);
interactionGeometryDispatcher->add("InteractingSphere2InteractingSphere4ClosestFeatures");
interactionGeometryDispatcher->add("InteractingBox2InteractingSphere4ClosestFeatures");
interactionGeometryDispatcher->add("InteractingBox2InteractingBox4ClosestFeatures");

thank you very much!
--
This message was sent from Launchpad by the user
Jingsong Chen (https://launchpad.net/~chenjs923)
using the "Contact this team" link on the yade-users team page.
For more information see
https://help.launchpad.net/YourAccount/ContactingPeople

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users-oU9gvf+***@public.gmane.org
Unsubscribe : https://launchpad.net/~yade-users
More help : https://help.launchpad.net/ListHelp
Loading...