← Back to team overview

yade-users team mailing list archive

Re: [Question #688269]: Have control on the test: O.run , time step , increments, iterations

 

Question #688269 on Yade changed:
https://answers.launchpad.net/yade/+question/688269

    Status: Open => Answered

Jan Stránský proposed the following answer:
> the step is actually the time step which is O.iter. Am I right?

what is "the step"?

> If that's the case, so "A" should be the maximum number of
increments(of time).

"A" should be the number of time steps you want to run.. it is rarely
related to "maximum". E.g. in the compaction phase, it just runs 1000
iterations ("a few", does not matter how many exactly) and checks if the
unbalanced force condition is met. If not, run 1000 steps over and over
until it meets the stop condition.

> In this case, is it possible to set the time increment (time step) to
a specific value we want?

O.dt = whatever
But the range of reasonable O.dt is very narrow. It must be below critical time step of the system (given by particles' sizes, masses and stiffnesses, independent of any targets) and should not be too much below not to make the simulation unnecessarily slow.

> First of all, O.iter is shown in the order of 1000. Like, 1000, 2000,
3000 instead of 1,2,3 ...

depends on "is shown". If you print it after O.run(1000,True), then it
is expected to print 1000 more than before, not 1,2,3

cheers
Jan

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.