Ansys Learning Forum › Forums › Discuss Simulation › 3D Design › Plot directional deformation vs length › Reply To: Plot directional deformation vs length
July 21, 2021 at 7:32 pm
mrife
Ansys Employee
There seems to be several mistakes here. A Post Processing Command Object should be inserted to the Solution object and not in the Environment (where loads etc are defined). 'SOLVE' is a solution command i.e. when in the /solu processor, and not when in the /post1 processor. Move the command object to the correct location in the Mechanical model tree.
Next the OUTRES command is not needed as its settings can be accessed in the Environment; Analysis Settings -> Details; Output.
Lastly you are *VGET all the nodes, and there are more than 13 nodes, into a table with only 13 rows. That is not going to work. Since you only want to get information on 13 objects you may want to use *get inside a *do/*enddo loop construct instead. And loop over the selected nodes. Hint; create a named selection of the edge in Mechanical. Then use cmsel to select that named selection in the command object.
Mike
Next the OUTRES command is not needed as its settings can be accessed in the Environment; Analysis Settings -> Details; Output.
Lastly you are *VGET all the nodes, and there are more than 13 nodes, into a table with only 13 rows. That is not going to work. Since you only want to get information on 13 objects you may want to use *get inside a *do/*enddo loop construct instead. And loop over the selected nodes. Hint; create a named selection of the edge in Mechanical. Then use cmsel to select that named selection in the command object.
Mike