Ansys Learning Forum Forums Discuss Simulation General Mechanical Save thermal results in txt file via /post1 snippet Reply To: Save thermal results in txt file via /post1 snippet

Chandra Sekaran
Ansys Employee

To get the node coordinates you can do:

*get,numnode,node,,count                   !Retrieves a value and stores it as a scalar parameter or part of an array parameter.
*dim,NodeTemp,array,numnode,4               !Defines an array parameter and its dimensions.

*vget,nodetemp(1,1),node,1,loc,x

*vget,nodetemp(1,2),node,1,loc,y

*vget,nodetemp(1,3),node,1,loc,z

*vget,NodeTemp(1,4),node,1,TEMP               !Retrieves values and stores them into an array parameter.

To get the temperature time history of a node you can use POST26 like below:

/post26

nsol,2,node,nodeid,temp

prvar,2

plvar,2

Â