Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to move data from an array into a element table?

Status
Not open for further replies.

Fernandox

Materials
Joined
Jan 9, 2009
Messages
4
Location
ES
With this:

/POST1
set,last
etable,melted,temp
esel,s,etab,melted,875

/SOLU
*get,longitud,ELEM,0,count
*DIM,tes,ARRAY,longitud,1,1, , ,
*VGET,tes,ELEM,longitud,elist

I have the selected element (elements with temp>875) id numbers in an array (named tes). I need to transfer that information to a table to be used later with esel to reselect again those elements. I will not be able to used the same method because the temperatures of those elements will have changed.

I think it can be done with *vput, but I am not able to get it right. Any help, please?
 
I think that the easiest way for this puspose is to define a component:

esel,s,etab,melted,875
cm,NAME,elem
...
cmsel,s,NAME
 
hey, thank you very much.

I will try it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top