plvachon
Mechanical
- Jun 16, 2005
- 38
Hi to all,
I'm trying to plot on a graph the Z displacement of some nodes, with defining a table array to do it. The resulting graph is a kind of kid drawing, but it should not be... I just have a layered plate under four-point bending. I checked out the table I created, and the data is not what it should be: the X position of the nodes is absolutely false (some nodes have the same position) and the Z displacements are weird too... When I'm listing the node results for Z displacement, the results are like I expected them to be and so the X positions. So in brief: the model is correctly programmed, but the information in the table is false... I don't know what I'm doing wrong! Here is the procedure: after solving, in the post-proc., I select the nodes I want and then I create a table and plot data in a graph:
*DIM,graph,TABLE,nb_node,2
*vget,graph(1,1),node,all,loc,x
*vget,graph(1,2),node,all,u,z
*DO,ii,1,nb_node
graph(ii,0)=ii
*ENDDO
graph(0,1)=1
graph(0,2)=2
*vplot,graph(1,1),graph(1,2)
/axlab,x,X ! Change the axis labels
/axlab,y,UZ
/replot
Hope you can help me! Thanks!
I'm trying to plot on a graph the Z displacement of some nodes, with defining a table array to do it. The resulting graph is a kind of kid drawing, but it should not be... I just have a layered plate under four-point bending. I checked out the table I created, and the data is not what it should be: the X position of the nodes is absolutely false (some nodes have the same position) and the Z displacements are weird too... When I'm listing the node results for Z displacement, the results are like I expected them to be and so the X positions. So in brief: the model is correctly programmed, but the information in the table is false... I don't know what I'm doing wrong! Here is the procedure: after solving, in the post-proc., I select the nodes I want and then I create a table and plot data in a graph:
*DIM,graph,TABLE,nb_node,2
*vget,graph(1,1),node,all,loc,x
*vget,graph(1,2),node,all,u,z
*DO,ii,1,nb_node
graph(ii,0)=ii
*ENDDO
graph(0,1)=1
graph(0,2)=2
*vplot,graph(1,1),graph(1,2)
/axlab,x,X ! Change the axis labels
/axlab,y,UZ
/replot
Hope you can help me! Thanks!