Erik Panos Kostson
Structural
- May 18, 2018
- 389
I am trying to define loads in a loop and giving them previously define tables.
Table names are t_1-t_xx, and are defined in a loop before, and that is fine.
What does not work is this:
*do,i,1,nt+1,1 ! loads
nsel,s,loc,x,(i-1)*dl
f,all,fy,%t_%i%%
allsel,all
*enddo
The highlighted part does not work.
I have also tried to put these table names in a array (string), called comp say
and then use
f,all,fy,%comp(1,i)%
But that does not work either.
This works though cmsel,s,%comp(1,i)%, at least according to some blog.
So not sure why it does not work with the f command.
any help would be much appreciated.
Table names are t_1-t_xx, and are defined in a loop before, and that is fine.
What does not work is this:
*do,i,1,nt+1,1 ! loads
nsel,s,loc,x,(i-1)*dl
f,all,fy,%t_%i%%
allsel,all
*enddo
The highlighted part does not work.
I have also tried to put these table names in a array (string), called comp say
and then use
f,all,fy,%comp(1,i)%
But that does not work either.
This works though cmsel,s,%comp(1,i)%, at least according to some blog.
So not sure why it does not work with the f command.
any help would be much appreciated.