We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.

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

prvar lists the temperature vs. time and plvar displays the time vs. temp in a graph, but where can I see the graph and how is it possible to save the prescribed time vs temperature data in a txt file

If you are in MAPDL GUI, then prvar will pop us a list of time vs temp and PLVAR will plot on the screeen. If you are in Mechanical (Workbench) then the PRVAR will be in the SOLVE.OUT file or Solution Information. You can get to solve.out by "Solution>right mouse click> Open solver files directory". 

You can also redirect by doing the below. This will redirect PRVAR to the file myprvar.dat in d: drive. The PLVAR will be in a png file that will also show up in Mechanical under the commands.

/out,d:\myprvar.dat

prvar,2

/out

/show,png

plvar,2

/show,close