apdl command that allows to write to file large numbers

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:

Answers

  • Luiza
    Luiza Member Posts: 7
    Name Dropper First Comment

    if anyone encounters this, it should be %G

  • Mike.Thompson
    Mike.Thompson Member, Employee Posts: 158
    100 Comments 25 Likes 5 Answers First Anniversary

    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.