apdl command that allows to write to file large numbers
Luiza
Member Posts: 7
**
hello! I'm writing to a file an array, but it only writes the small numbers such as 23.328746 or 0.7 and not any large number like 356236. For the larger numbers it just prints *****.
/OUTPUT
*CFOPEN,'interpolated_val','txt'
*VWRITE,final_val(1,1,1),final_val(1,2,1)
%f,%f
*CFCLOS
do you have any suggestions for this?
Tagged:
0
Answers
-
if anyone encounters this, it should be %G
0 -
It is a common beneficial practice to write numbers with large variation in scientific notation. This helps with significant figures in later calculations and the string formatted length can be maintained consistently regardless of the numeric value.
0