-
-
October 29, 2023 at 8:12 pm
Luiza Oltean
SubscriberEDIT it should be %G
hello! I'm trying to write an array to a file, but it only writes the small numbers such as 23 or 0.7 and not any large number like 356236. For the larger numbers it just prints *****. this is an apdl command inserted in the tree in a coupled field module in workbench mechanicalÂ
/OUTPUT
*CFOPEN,'interpolated_val','txt'
*VWRITE,final_val(1,1,1),final_val(1,2,1)
%f,%f
*CFCLOSdo you have any suggestions for this?
-
October 30, 2023 at 12:54 pm
Ashish Khemka
Forum ModeratorHi,
It looks that your query is resolved.
Regards,
Ashish Khemka
-
October 30, 2023 at 1:08 pm
Erik Kostson
Ansys EmployeeHi
Yes I think use %G instead of %F.
For more info see this:
If you are not able to open the links, refer to this forum discussion:Â How to access the ANSYS Online Help
Guidelines for Posting on Ansys Learning Forum
Hope that helps
All the best
-
- The topic ‘writing large numbers from array to file’ is closed to new replies.
-
3492
-
1057
-
1051
-
965
-
942
© 2025 Copyright ANSYS, Inc. All rights reserved.