gravity deposition of cylinderConnection
Hello everybody,
I am new in YADE and I am trying to have a depositions of cylinderConnections by adding each cylinderConnection one by one using PyRunner. Somehow the cylinderConnections lose the connection with the nodes and stop the evolution in time, but the nodes keep the evolution. *The CylinderConnections start elongating from the position they stopped.
This is the functions I am using
PyRunner(command = 'createRandomCy
this is the function :
def createRandomCyl
global nodesIds
global cylIds
global vertices
Nc = 9 # number of fibers
rFib = 0.2 # radious of the fiber
Ne = 20 # nymber of nodes for the fiber
dx = 0.0 # distance between two fibers X
dy = 1.0 # distance between two fibers Y
dz = 0.0 # distance between two fibers Z
LFib = 8.0 # size of the fiber
dzj = 2.0*Lz #Initial position Z
dyj = 0.5*Ly #Initial position Y
dxj = 0.5*Lx #Initial position X
omegaY = 20.0 #Frequency Y
omegaX = 20.0 #Frequency X
phiY = 0.0 #Desfase Y
phiX = 0.0 #Desfase X
hY = 0.2 #Amplitud Y
hX = 0.2 #Amplitud X
nodesIdsAux = []
cylIdsAux = []
verticesAux = []
for i in range(0, Ne+1):
pz = float(i)
py = hY*sin(
px = hX*sin(
verticesAux
nodesIds.
cylIds.
vertices.
cylinderConnec
Thank you very much,
Antonio
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: