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

mashetty
Subscriber

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-060
0,46250
0,5550
8,881396,7
9,3425928,18
9,435902,65
9,8975683,47
9,99651,56
10,453536,74