← Back to team overview

yade-users team mailing list archive

Re: [Question #244312]: Clump templates

 

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

Klaus Thoeni posted a new comment:
Hi,

the script you posted is having the same problem on my machine. It seems
that the clumps/bodies are initialised with many nans. len(O.bodies)
tells you the bodies are there, but if you check the state of a body you
get something like this:

{'angMom': Vector3(0,0,0),
 'angVel': Vector3(nan,-nan,-nan),
 'blockedDOFs': 0,
 'densityScaling': 1.0,
 'inertia': Vector3(-nan,-nan,-nan),
 'isDamped': True,
 'mass': 0.40971235825627106,
 'refOri': Quaternion((1,0,0),0),
 'refPos': Vector3(0,0,0),
 'se3': (Vector3(nan,-nan,nan),
  Quaternion((-nan,-nan,-nan),6.2831853071795862)),
 'vel': Vector3(-nan,-nan,-nan)}

I am not sure what's going on here but could be a bug.

Klaus

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