yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #23079
Re: [Question #689234]: How to export relative velocity of spheres to Paraview
Question #689234 on Yade changed:
https://answers.launchpad.net/yade/+question/689234
Status: Needs information => Answered
Jan Stránský proposed the following answer:
> what=dict(weakeningTemp="weakeningTemp(i)")
weakeningTemp(i) means it is a function of **one interaction**. In your function, the interaction argument is never used and instead you do "for i in O.interactions" instead, which should not be like this..
Should be something like:
###
def weakeningTemp(interaction):
heatCapacity = 900 # [J/kg*K]
...
initialTemp = 20
penetrationDepth = i.geom.penetrationDepth
...
weakeningTemp = ...
return weakeningTemp
###
> if O.bodies[i.id1].isReal and O.bodies[i.id2].isReal:
body does not have isReal member..
cheers
Jan
--
You received this question notification because your team yade-users is
an answer contact for Yade.