×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

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

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

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

(OP)
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?

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

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

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

(OP)
hey, thank you very much.

I will try it.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources