![node N command ansys apdl node N command ansys apdl](https://www.mm.bme.hu/~gyebro/files/COUPLED/5/images/pldisp.png)
*GET, ANODES(J,4), NODE, NODELIST(J), S, INT *GET, ANODES(J,3), NODE, NODELIST(J), LOC, Z *GET, ANODES(J,2), NODE, NODELIST(J), LOC, Y *GET, ANODES(J,1), NODE, NODELIST(J), LOC, X *DIM, ANODES, TABLE, my_NoNodes, 4 !Declare table to save coordinates and displacements *GET, my_NoNodes, NODE, 0, COUNT !Get number of nodes *cfopen,STRCAT(fname,CHRVAL(loadIndex)),txt *do, loadIndex,1,my_loadSteps ! cycle over steps *GET, my_loadSteps , ACTIVE, 0, SOLU,NCMLS Set,LAST,LAST ! one has to be at the end of the runs to extract the total number of steps My post-processing commands (APDL) macro goes as follows:
![node N command ansys apdl node N command ansys apdl](https://pic1.zhimg.com/v2-c68e91ed3684be02e544ac10003e4a57_r.jpg)
![node N command ansys apdl node N command ansys apdl](https://i2.wp.com/www.mechanicsandmachines.com/wp-content/uploads/2015/12/insert-commands-object-in-solu.png)
I wish to extract all node positions, with the stress intensity at those nodes for all of these load steps in various text files. I have a FEA model in Ansys Workbench 2019 R2 which solves for, among others, the stress intensity at each of the mesh nodes (196828 nodes) for each of the applied load steps (50 steps).