yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #27710
Re: [Question #701737]: How to apply stress?
Question #701737 on Yade changed:
https://answers.launchpad.net/yade/+question/701737
Status: Open => Answered
Jan Stránský proposed the following answer:
> I used to apply a force directly but I don’t think it’s correct
It is perfectly correct (and IMO the only reasonable) approach.
> Is there any loading method to overcome the problem? Could I control
the loading rate to keep the whole process quasi-static?
Yes, of course, just load it "from zero".
E.g. using PyRunner:
###
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()"),
]
###
Cheers
Jan
--
You received this question notification because your team yade-users is
an answer contact for Yade.