← Back to team overview

yade-users team mailing list archive

[Question #672270]: Fundamental Help on notations

 

New question #672270 on Yade:
https://answers.launchpad.net/yade/+question/672270

Hello

I need some help to understand the notation as I am still learning YADE.

Fundamental Help on notations as I need to modify 2D problem to 3D. The example is from trunk: prepareRVE.py

sp = pack.SpherePack()
size = .24
sp.makeCloud(minCorner=(0,0,.05),maxCorner=(size,size,.05),rMean=.005,rRelFuzz=.4,num=400,periodic=True,seed=1)
sp.toSimulation()
O.cell.hSize = Matrix3(size,0,0, 0,size,0, 0,0,.1)

When I run the above, it is 2D problem : YADE message : min-max volume is null an assume the packing is 2D

So I what is the MinCorner (0,0,0) mean  : is that x, y z? and what is the unit, I assume all units is in meter?
as for Matrix3 , is that i, j k ?  i is x, j is y and k is z?

If I want to edited  that to 3D problem but does not work..

sp = pack.SpherePack()
size = .24
sp.makeCloud(minCorner=(0,0,0),maxCorner=(size,size,.05),rMean=.005,rRelFuzz=.4,num=400,periodic=True,seed=1)
sp.toSimulation()
O.cell.hSize = Matrix3(size,0,0, 0,size,0, 0,0,.1)

same for

sp = pack.SpherePack()
size = .24
sp.makeCloud(minCorner=(0,0,0),maxCorner=(size,size,size),rMean=.005,rRelFuzz=.4,num=400,periodic=True,seed=1)
sp.toSimulation()
O.cell.hSize = Matrix3(size,0,0, 0,size,0, 0,0,.1)


Also question how the size is estimate to 0.24

Thanks and best regards

Surej.

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