← Back to team overview

yade-users team mailing list archive

Re: [Question #261724]: Interaction of FrictMat and a new class of material

 

Question #261724 on Yade changed:
https://answers.launchpad.net/yade/+question/261724

behzad posted a new comment:
Look, I don't get what you're doing by:


if 0: # works for both 0 and 1
s1=utils.sphere([0.0,0.0,0.0],0.01,fixed=True,material=Mat2)
s2=utils.sphere([0.0,0.0,2.0e-2],0.01,fixed=False,material=Mat1)
else:
s1=utils.sphere([0.0,0.0,0.0],0.01,fixed=True,material=Mat1)
s2=utils.sphere([0.0,0.0,2.0e-2],0.01,fixed=False,material=Mat2)


But if you run the file with

s1=utils.sphere([0.0,0.0,0.0],0.01,fixed=True,material=Mat2)
s2=utils.sphere([0.0,0.0,2.0e-2],0.01,fixed=False,material=Mat1)


it works! 
And if you change it to:

s1=utils.sphere([0.0,0.0,0.0],0.01,fixed=True,material=Mat1)
s2=utils.sphere([0.0,0.0,2.0e-2],0.01,fixed=False,material=Mat2)

It does not!

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


Follow ups

References