Add Force every iterPeriod
Hi everyone:
I want to apply force on the polyhedron and the force grows as the time grows.
Question1: This is my code. Is that correct?
Question2: Also I don't know how to print my added force in every iterPeriod.
Could you give me some advice?
#######
from yade import *
from yade import polyhedra_utils
matF = PolyhedraMat()
matF.density = 10e15
matF.young = 2e11
matF.poisson = 0.1
matF.Ks = 1e14
matF.Kn = 1e15
matF.frictionAngle = 0.2
yade.O.
# basic YADE engines fo tetrahedra contact
O.bodies.
O.bodies.
O.engines = [
ForceResetter(),
InsertionSo
Interaction
[
[
[
),
#GravityEngi
NewtonIntegrat
PyRunner(
]
print "utils.
def addForce():
O.forces.
O.forces.
#######
Many Thanks!
Liu
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Gastbye Liu
- Solved:
- Last query:
- Last reply: