-
-
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.
- The legend values are not changing.
- LPBF Simulation of dissimilar materials in ANSYS mechanical (Thermal Transient)
- Convergence error in modal analysis
- APDL, memory, solid
- How to model a bimodular material in Mechanical
- Meaning of the error
- Simulate a fan on the end of shaft
- Nonlinear load cases combinations
- Real Life Example of a non-symmetric eigenvalue problem
- How can the results of Pressures and Motions for all elements be obtained?
-
3867
-
1414
-
1241
-
1118
-
1015
© 2025 Copyright ANSYS, Inc. All rights reserved.