Re: [Yade-users] [Question #667493]: How do we generate fibres and randomly distribute them?

2018-04-30 Thread Launchpad Janitor
Question #667493 on Yade changed:
https://answers.launchpad.net/yade/+question/667493

Status: Open => Expired

Launchpad Janitor expired the question:
This question was expired because it remained in the 'Open' state
without activity for the last 15 days.

-- 
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 : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #667493]: How do we generate fibres and randomly distribute them?

2018-04-14 Thread Kalyan Khanal
Question #667493 on Yade changed:
https://answers.launchpad.net/yade/+question/667493

Status: Answered => Open

Kalyan  Khanal is still having a problem:
Hi,

I have used the following code to make a cylindrical object which is
considered as a single fibre.

###Create all nodes first :
nodesIds=[]
for i in linspace(0,L,nL):
  nodesIds.append( O.bodies.append(

gridNode([i,0.02,0.01],rCyl,wire=False,fixed=False,material='gridNodeMat',color=(1,1,1))
 ) )

##Now create connection between the nodes
for i,j in zip( nodesIds[:-1], nodesIds[1:]):
  O.bodies.append( gridConnection(i,j,rCyl,
  material='gridCoMat'
  ) )


My question is How can I use that fibre and distribute it randomly into the 
packing of spheres. I already have a pack of spheres and I want to distribute 
the fibres, How can I copy that fibre into the sphere pack and which is the 
best way to distribute them?

Thanks,

Kalyan Khanal

-- 
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 : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #667493]: How do we generate fibres and randomly distribute them?

2018-04-03 Thread Bruno Chareyre
Question #667493 on Yade changed:
https://answers.launchpad.net/yade/+question/667493

Status: Open => Answered

Bruno Chareyre proposed the following answer:
"Random distribution" is a generic idea. How to do it concretely will
probably depend on your application, and then it is difficult to give a
general answer. If you define the type of random distribution you need
in terms of equations it should be possible to tell you how it can be
implemented.

>How do we create fibres?
I would suggest to have a look at the cylinder (with gridConnexions) examples 
first, then ask specific questions if something is not clear.

Regards

Bruno

-- 
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 : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


[Yade-users] [Question #667493]: How do we generate fibres and randomly distribute them?

2018-04-02 Thread Kalyan Khanal
New question #667493 on Yade:
https://answers.launchpad.net/yade/+question/667493

I have done sphere packing for the direct shear test and now I want to add 
fibres to the packing. 

How do we create fibres? 

I am confused with the concept of grid connection and clumps. Which one should 
I use to make fibres and randomly distribute them?

If there's any example regarding the fibres please let me know.

Also I have seen the question no. 294529 "random orientation of chained 
cylinders" and the link given for random generation of fibres from dropbox has 
expired it seems. It would be great to have something on fibres.

Thanks!

-- 
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 : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp