Why do you want to do this inside Adams? This is a post/pre-processing step, right?
So do this in Excel, save the resulting data in a csv file and import into View as a spline.
If you want to do it in Adams, it is not hard to do in pre/post processing step. Easiest and fastest is to switch to Python, but can be done in cmd as well.
Here is the syntax for a loop in cmd.
for var=ii start=1 end=1999
var set var=jj int=(eval(int(ii))) !! the loop variable is a real and you want to index using integers
.
.
.
end
If you want to do it during run-time, it is much more complicated. A subroutine is recommended for that.
Why do you want to do this inside Adams? This is a post/pre-processing step, right?
So do this in Excel, save the resulting data in a csv file and import into View as a spline.
If you want to do it in Adams, it is not hard to do in pre/post processing step. Easiest and fastest is to switch to Python, but can be done in cmd as well.
Here is the syntax for a loop in cmd.
for var=ii start=1 end=1999
var set var=jj int=(eval(int(ii))) !! the loop variable is a real and you want to index using integers
.
.
.
end
If you want to do it during run-time, it is much more complicated. A subroutine is recommended for that.