×
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

weakness of *GET to retrieve nodal location in post-processor

weakness of *GET to retrieve nodal location in post-processor

weakness of *GET to retrieve nodal location in post-processor

(OP)
Good evening dear colleagues.

Im trying to calculate the angles of an hexagonal graphene lattice with ansys mechanical and to store them into an array. I ve managed to do it with the lattice free of any loading, but when i enforced the stepwise tensile load, i could not retrieve correct values. Specificallally, I found the same values as before without any load.
I believe that the same locations are used to calculate the angles of the load-step 1(e.g.) and thats why values dont change.
If anyone knows how to use *GET command to obtain nodal coordinates in the post-processor please post. Moreover,if someone can suggest another convenient way to identify nodes he is quite wellcome. thank you

NSEL,S,LOC,X,LENGTH !example of nodal identification in pre-processor
NSEL,R,LOC,Y,-0.001,0.001
*GET,KOMBO,NODE,0,NUM,MAX
ALLSEL

RE: weakness of *GET to retrieve nodal location in post-processor

Can you *get the nodal displacement for each node for each direction and add this to the result from your code above?


------------
See FAQ569-1083: Asking questions the smart way on Eng-Tips fora for details on how to make best use of Eng-Tips.com

RE: weakness of *GET to retrieve nodal location in post-processor

(OP)
Dear Drej,
I thought about your suggestion but i haven't tested it yet.How iam supposed to obtain nodal displacements? Via NTAB NDIST or NLIST? I forgot to notice that the part of the code above is in a *do-loop. I believe that the loop makes this task really complicated. Do you believe that if *get with Item=U works manually, it will also work when in the loop??

I=1
V=2
U=2
*DO,I,1,8
NSEL,S,LOC,X,LENGTH*I+V*LENGTH
NSEL,R,LOC,Y,0
*GET,KOMBO,NODE,0,NUM,MAX
ALLSEL
...
...
V=V+1
U=U+1
*ENDDO
Here, I determines for the location of KOMBO in X-axis (LENGTH=const) which makes it difficult. I ve also tried to use CM and UPGEOM commands but with no success. Pease reply,

Thanks

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