Hi,
any1 has an explanation for the following? In both case, the timeseries is defined this way :
timeSeries Path 5 -time 0.025 -values 0.001
When I type in my analyze command this way :
for {set i 1} {$i<=4} {incr i 1} {
set okay [analyze 1 0.00625]
}
I get a 0.001 displacement after 4 iteration, as expected.
However, when I type it this way :
for {set i 1} {$i<=25} {incr i 1} {
set okay [analyze 1 0.001]
}
I do not get a 0.001 displacement after 25 steps, thought the command [getTime] does confirms the system time is at 0.025 s. I get something like 1e-12.
Any help on this? Thanks!
ImposedGroundMotion
Moderators: silvia, selimgunay, Moderators
Re: ImposedGroundMotion
it is probably roundoff .. .001 cannot be rep exactly and you might be getting .00100000000x or whatever and 25 times it is greater that .025 and so value in poath will be 0 .. use .0009999999
Re: ImposedGroundMotion
Aie, didn't think of this. Thanks!