aabb walls don't move after apply a force
Hi everyone,
I recently installed yade-2019-
# !/usr/bin/python
# -*- coding: utf-8 -*-
from yade import utils
from yade import pack
from yade import plot
from yade import qt
from yade import export
# input parameter
Young = 57e8 # 100Gpa
FrictAng = atan(0.5)
Density = 2650
Poisson = 0.28
Cohesion = 38e6 # pa
TensileStr = 38e6 # pa
#define rock and wall
rock = JCFpmMat(
wall = JCFpmMat(
for Mat in (rock,wall):
O.materials.
# regularOrth packing of the rock
rock_pred = pack.inAlignedB
assembly = pack.regularOrt
r_assembly=
# aabbWalls
wall = O.bodies.
# set velocity for bottom/upper wall
bottom_wall = O.bodies[wall[2]]
#bottom_
bottom_
upper_wall = O.bodies[wall[3]]
#upper_
upper_wall.
O.forces.
O.forces.
def addPlot():
print (str(upper_
print ('wall velocity'
O.forces.
#######
# ENGINES
#######
O.engines=[
ForceResetter(),
# enlarge interaction radius between spheres
InsertionSortC
InteractionLoop(
[Ig2_
[Ip2_
[Law2_
),
# VTKRecorder(
GlobalStiffnes
NewtonIntegrat
#call addPlot() every 20 steps
PyRunner(
]
O.trackEnergy=True
O.step()
bo1s.aabbEnlarg
ig2s.interactio
#set an optimal timestep
O.dt = utils.PWaveTime
O.usesTimeStepper = True
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Anqi H for more information if necessary.