Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

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

Status
Not open for further replies.

crazyengineer1988

Mechanical
Dec 4, 2012
4
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
 
Replies continue below

Recommended for you

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 for details on how to make best use of Eng-Tips.com
 
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


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor