We’re putting the final touches on our new badges platform. Badge issuance remains temporarily paused, but all completions are being recorded and will be fulfilled once the platform is live. Thank you for your patience.

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