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
Hello Chandra,
thank you for the helpfull answer.
When I apply the mentioned lines to my code:
Â
nodeid=27844
/post26
nsol,2,node,nodeid,temp !Specifies nodal data to be stored from the results file
prvar,2 Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â !Lists variables vs. time (or frequency).
plvar,2 Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â !Displays up to ten variables in the form of a graph.
/out,d:\mypvar.dat
prvar,2
/out
/show,png
plvar,2
/show,close
Â
this is the outcome in the solve.out file:
Â
     ***** TIME-HISTORY POSTPROCESSOR (POST26) *****
 ALL POST26 SPECIFICATIONS ARE RESET TO INITIAL DEFAULTS
 *** WARNING ***             CP =   418.125  TIME= 13:48:41
 The data in field 3 is invalid.  The NSOL command is ignored.      Â
 *** WARNING ***             CP =   418.125  TIME= 13:48:41
 No data points are saved during this storage step.           Â
 /OUTPUT FILE= d:\mypvar.dat
 /SHOW SWITCH PLOTS TO  PNG     - RASTER MODE.
 Set Encoding of XML File to:ISO-8859-1
 Set Output of XML File to:
   PARM,   ,   ,   ,   ,   ,   ,   ,   ,   ,   ,   ,
     ,   ,   ,   ,   ,   ,   ,
 DATABASE WRITTEN ON FILE  parm.xml                                                                                                                              Â
 ***** ROUTINE COMPLETED *****  CP =    419.062
Â
 PRINTOUT RESUMED BY /GOP
 *GET  _WALLDONE  FROM  ACTI  ITEM=TIME WALL  VALUE=  13.8116667  Â
 PARAMETER _PREPTIME =   1.000000000  Â
 PARAMETER _SOLVTIME =   150.0000000  Â
 PARAMETER _POSTTIME =   4.000000000  Â
 PARAMETER _TOTALTIM =   155.0000000  Â
 *GET  _DLBRATIO  FROM  ACTI  ITEM=SOLU DLBR  VALUE=  0.00000000  Â
 *GET  _COMBTIME  FROM  ACTI  ITEM=SOLU COMB  VALUE=  0.00000000  Â
 *GET  _SSMODE  FROM  ACTI  ITEM=SOLU SSMM  VALUE=  2.00000000  Â
 *GET  _NDOFS   FROM  ACTI  ITEM=SOLU NDOF  VALUE=  122196.000  Â
 --- Total number of nodes = 283054
 --- Total number of elements = 84182
 --- Element load balance ratio = 0
 --- Time to combine distributed files = 0
 --- Sparse memory mode = 2
 --- Number of DOF = 122196
 EXIT ANSYS WITHOUT SAVING DATABASE
 NUMBER OF WARNING MESSAGES ENCOUNTERED=     30
 NUMBER OF ERROR  MESSAGES ENCOUNTERED=      0
Â
Obviously, the nodal data isn't stored at all.
Â
With best regards
John M.