Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.

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

dlooman
Ansys Employee

In your commands TIME isn't a parameter, it's a command.  The commands should be something like below:

TIMINT, ON

DDELE,ALL,TEMP

time_val=0

*DO,i,1,20,1   !simulation time for 20 seconds

time_val=time_val+0.1

TIME,time_val

*CFOPEN,timeout,txt,,APPEND         !!! need to APPEND output to file

*VWRITE,time_val

(F9.5)

*CFCLOSE

*ENDDO

[bingo_chatbox]