CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   binary writeFormat and timePrecision and writePrecision (https://www.cfd-online.com/Forums/openfoam-solving/174282-binary-writeformat-timeprecision-writeprecision.html)

Vilma62 July 9, 2016 04:38

binary writeFormat and timePrecision and writePrecision
 
If I set writeFormat to binary, are there any meaning of timePrecision and writePrecision?

Thanks.

louisgag June 3, 2019 07:02

I know this is an old question, but I had the same doubt so I'm giving an answer here:

from https://cfd.direct/openfoam/user-guide/v6-controlDict/



I would say that when you use binary output the writePrecision value will be ignored (I also tested that, the md5sums of both output files remain the same).


However, the timePrecision is not affected by the choice of binary output because timePrecision only affects the directory names.

GerhardHolzinger June 3, 2019 09:07

writePrecision still has some meaning when using binary as writeFormat.

I have observed that run-time post-processing data, e.g. data extracted by functionObjects, always gets written in ascii format.


All times are GMT -4. The time now is 19:53.