← Back to team overview

yade-users team mailing list archive

[Question #682496]: O.time difference between Yade 2018.02 and Getting started

 

New question #682496 on Yade:
https://answers.launchpad.net/yade/+question/682496

Hi,
I have a question about the O.time.
When I try the commands from Yade Introduction - - Getting Started - - Running simulation:
Yade [3]: TriaxialTest(numberOfGrains=200).load()
Yade [4]: len(O.bodies)
Out[4]: 206
Yade [5]: O.iter
Out[5]: 0
Yade [6]: O.time
Out[6]: 0.0
Yade [7]: O.dt=1e-4
Yade [8]: O.step()
Yade [9]: O.iter
Out[9]: 1
Yade [10]: O.time
Out[10]: 0.0001
As you can see the O.time is 0.0001. However, when I do this in my terminal, it is:
In [1]: TriaxialTest(numberOfGrains=200).load()

In [2]: len(O.bodies)
Out[2]: 206

In [3]: O.iter
Out[3]: 0

In [4]: O.time
Out[4]: 0.0

In [5]: O.dt=1e-4

In [6]: O.step()

In [7]: O.iter
Out[7]: 1

In [8]: O.time
Out[8]: 0.0005590747410451621
The O.time is not 0.0001.
My yade version is 2018.02b, I just wonder where this difference comes from. Is it from the yade Version?
Thanks in advance!

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