yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #27711
Re: [Question #701737]: How to apply stress?
Question #701737 on Yade changed:
https://answers.launchpad.net/yade/+question/701737
William posted a new comment:
Hi, Jan
Thanks for your answer.
###
stress = 1e7 # max stress, Pa
rate = 1e8 # stress rate, Pa/s
def applyForce():
f = O.time * rate # linear increase, can be whatever else
f = min(f,stress) # not to excess max stress
O.forces.setPermF(Boxid,(0,0,f))
O.engines = [
...
PyRunner(iterPeriod=1,command="applyForce()"),
]
###
> stress = 1e7 # max stress, Pa
Here what we apply is 'stress(Pa)' rather than 'force(N)'?
--
You received this question notification because your team yade-users is
an answer contact for Yade.