three spheres with roling
I have very simple test 3 spheres and one in middle is moving - question what is wrong and there are no rolling?
# basic simulation showing sphere falling ball gravity,
# bouncing against another sphere representing the support
os.environ[
import math
import random
# DATA COMPONENTS
promien_k = (3/(4*math.
young_k = 1e9
poisson_k = 0.25
density_k = 1
vObnizenia = -0.5*promien_k
frictAngle = atan(0.6)
#O.materials.
O.materials.
O.bodies.append([
utils.
],)
O.bodies.append([
utils.
],)
O.bodies.append([
utils.
],)
O.bodies[
O.bodies[
O.dt=utils.
#######
nazwaPliku = "wyniki/kule"
nazwaPlikuIter = "wyniki/
############### Parametry zapisu c++ ########
print("DT do zapisu")
step = O.dt
PiterSave = 10 #ile zapisow w pliku
PtimeSr = 3*step
PtimeStart = 0. #start zapisu
PdeltaTime = 0.005 #1000*step #skok miedzy zapisami
TimeStartAll=
DeltaTimeAll=10000
#######
#######
# FUNCTIONAL COMPONENTS
# simulation loop -- see presentation for the explanation
O.engines=[
VppSaveInterac
ForceResetter(),
PyRunner(
InsertionSor
InteractionLoop(
[Ig2_
Ig2_Wall_
[Ip2_
Ip2_CohFrictM
],
[Law2_
]
),
# apply gravity force to particles
GravityEngin
# damping: numerical dissipation of energy
NewtonIntegr
]
# set timestep to a fraction of the critical timestep
# the fraction is very small, so that the simulation is not too fast
# and the motion can be observed
# save the simulation, so that it can be reloaded later, for experimentation
O.saveTmp()
Gl1_Sphere.
Gl1_Sphere.
yade.qt.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Pawel
- Solved:
- Last query:
- Last reply: