← Back to team overview

yade-users team mailing list archive

Re: How to display the force network


Thanks Vaclav for introducing IntrAllWire in the Display option.  There are green and purple lines.

I would like to display a normal force network with the thickness of the lines proportional to the normal force.  I see that the codes are already present in YADE but doesn't really display.  Can you direct me how/where to fix the problem?  If I can solve it, then I'll commit. 



From: booncw@xxxxxxxxxxx
To: yade-users@xxxxxxxxxxxxxxxxxxx
Date: Fri, 18 Dec 2009 01:58:00 +0800
Subject: [Yade-users] How to display the force network


I see this in Dem3DofGeom_Spheres_Spheres:

            GLUtils::GLDrawArrow(contPt,contPt+ss->normal*.5*ss->refLength); // normal of the contact

When I activate FacetWalls, TriaxialTest automatically uses Dem3DofGeom.  Then, I've tried playing around with the Display option in the simulation controller, but the display doesn't seem to feature the force network.  Can someone advise me how do I activate this sort of beautiful display?

P.S. the lastest release is not working. . . i've replied to the thread.


Windows 7: Find the right PC for you. Learn more. 		 	   		  
Windows 7: Simplify what you do everyday. Find the right PC for you.