Ansys Learning Forum › Forums › Discuss Simulation › General Mechanical › Write the parameter value to a text file › Reply To: Write the parameter value to a text file
I am sorry for the late reply. Thanks for your suggestion, Dave. I have to write temperature values of a particular node for each time step to a text or csv file. So i was thinking to move forward from writing the time steps in an output file and extend the same code for writing the temperature results too.
*CFOPEN,timeout,txt,,APPEND
*VGET,my_TEMP,NODE,1,BFE,TEMP
*vwrite,time_val,my_TEMP
(F9.5,F9.5)
*CFCLOSE
I would like to have my output text file as mentioned below excel file. Please let me know, how to create an output text file for a particular node, which consists of time and temp value for each substep using apdl commands, so that i can run the simulation in batch mode and use the output file without opening the ansys.
1,00E-06 | 0 |
0,4625 | 0 |
0,555 | 0 |
8,88 | 1396,7 |
9,3425 | 928,18 |
9,435 | 902,65 |
9,8975 | 683,47 |
9,99 | 651,56 |
10,453 | 536,74 |