← Back to team overview

yade-users team mailing list archive

[Question #211273]: How to fix clumps in a direction for 2D simulation

 

New question #211273 on Yade:
https://answers.launchpad.net/yade/+question/211273

I'm using Yade to simulate a direct shear test in 2D. And I used PFC2D generate some clumps and import to Yade. 
I use the following code to fix the clumps in "Y" direction (the sample is on the xz plane and y=0):

if isinstance(b.shape,Clump): b.state.blockedDOFs='yXZ'

or 
if isinstance(b.shape,Clump): b.state.blockedDOFs='yXZ'

However the clumps is rotating and moving in Y direction. anyon can help me?
thanks !





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