Ansys Learning Forum Forums Discuss Simulation General Mechanical How to write Array to file Reply To: How to write Array to file

solani
Subscriber
Hello Erik thank you, this helped. I solved the problem like this:
! Write to txt file
*CFOPEN, 'filename.txt'
*VWRITE, array_wanted1(1), '; ',array_wanted2(1)
(F,A2,F)
!Format A=String, F=FLoat -> https://web.stanford.edu/class/me200c/tutorial_77/17_format.html
*cfclose