← Back to team overview

yade-users team mailing list archive

Re: [Question #670973]: Write a molecule template for YADE

 

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

    Status: Open => Answered

Jérôme Duriez proposed the following answer:
Hi,

Yade proposes https://yade-dem.org/doc/yade.ymport.html#yade.ymport.text
to create from a text file a YADE sample made of spheres. It seems this
is what you want, thus your Matlab code should just output a file
conforming the template expected by this ymport.text() (see the doc)

As a side note though, it seems to me your Matlab code is basically
duplicating https://yade-
dem.org/doc/yade.pack.html?highlight=makecloud#yade._packSpheres.SpherePack.makeCloud
or https://yade-
dem.org/doc/yade.pack.html?highlight=makecloud#yade._packSpheres.SpherePack.makeClumpCloud
?

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