problems with facet and calculation
Hi,
I created a model with 1000 spheres and one facet. There I cannot fix two problems:
1.) The facet is in xy-plane, but I want to have it normal to (.02,.02,1), not (0,0,1)!
How can I do this?
I tried different things with facet, facetBox, wall and facetPolygon, but I could not fix it.
2.) Spheres are not moving and I dont know why. timing.stats() gives:
Name Count Time Rel. time
-------
ForceResetter 0 0us
InsertionSortCo
InteractionLoop 0 0us
GravityEngine 0 0us
NewtonIntegrator 0 0us
TOTAL 0us
Now the script:
# script START -------
#!/usr/bin/python
# -*- coding: utf-8 -*-
# speed test file for YADE
num_balls1D = 10
num_balls = num_balls1D*
logfilename = 'speed-
origin_wall = num_balls1D/2
x_pos = 0
y_pos = 0
z_pos = 0
friction=0.5
angle=atan(
id_FacetMat=
id_SphereMat=
FacetMat=
SphereMat=
O.engines=[
ForceResetter(),
InsertionSortC
InteractionLoop(
[Ig2_
[Ip2_
[Law2_
),
GravityEngine(
NewtonIntegrat
]
id_facet=
for ii in range(1,
x_pos = x_pos + 1
y_pos = 0
z_pos = 0
for jj in range(1,
y_pos = y_pos + 1
z_pos = 0
for kk in range(1,
z_pos = z_pos + 1
O.bodies.
from yade import timing
O.dt=1e-3
start_time=
print start_time
O.run(100,True)
stop_time=
time_needed=
print time_needed
O.timingEnabled
timing.stats()
# script END -------
Christian.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Christian Jakob
- Solved:
- Last query:
- Last reply: