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
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
------------
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
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