Question #690111 on Yade changed:
https://answers.launchpad.net/yade/+question/690111
Status: Open => Needs information
Vasileios Angelidakis requested more information:
Hi again,
> If I want to modify the source code, which file should I modify?
In [1] you can see that we assume the initial block is a cuboid.
You can go in [2] and declare 4 new vector<Real> attributes a,b,c,d containing
the geometry of the initial block.
Then in [1], assign these values instead of using xmin,xmax,ymin,ymax,zmin,zmax.
Also, please be careful that the planes you will define are consistent with the
origin of the coordinate system, which at the moment is set as
firstBlockCentre=[0,0,0].
Last, the tricky part of these changes is that you still have to define
boundarySizeXmin/Xmax/Ymin/Ymax/Zmin/Zmax, denoting outer boundaries of
the initial block.
> And if I want to fix some of the joints, what should I do?
What do you mean when you say "fix" some of the joints?
Keep me posted if you need any help,
Vasileios
[1] https://gitlab.com/yade-dev/trunk/-/blob/master/pkg/dem/BlockGen.cpp#L77-94
[2] https://gitlab.com/yade-dev/trunk/-/blob/master/pkg/dem/BlockGen.hpp#L178
--
You received this question notification because your team yade-users is
an answer contact for Yade.
_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help : https://help.launchpad.net/ListHelp