← Back to team overview

yade-users team mailing list archive

Re: [Question #670282]: about cpm material

 

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

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hello,

> After some timr it runs

next time please try to be more specific.. a few time steps? hundreds of
thousand time steps? ... just to know what to expect during testing

as the error says, epsN (normal strain) of an interaction is NaN. This
is maybe because the in CpmMat the implementation of Sphere-
GridConnection is missing [1] and refLength, needed for correct
computations, is not set.

Sepcifying spheremat (otherwise their material is the last O.materials.appended, i.e. CpmMat) of gridConnections (which sounds logical to me) solves the problem.
O.bodies.append( gridConnection(i,j,r,color=color,material='spheremat') )

cheers
Jan

[1]
https://github.com/yade/trunk/blob/master/pkg/dem/ConcretePM.cpp#L300

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.