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/)
-   -   How to save a dataset with higher precision in paraFoam? (https://www.cfd-online.com/Forums/openfoam-solving/103316-how-save-dataset-higher-precision-parafoam.html)

jam June 17, 2012 07:50

How to save a dataset with higher precision in paraFoam?
 
Hi,

I know that I can have calculated results with higher precision from the dictionary item writePrecision.
When I then used paraFoam to complete the analysis, I can only save the resulting dataset with a fix precision . However, I can look a the data using spreadsheet whith higher precision. Is there a switch somewhere which can change this in paraFoam ?
Thanks

kmooney June 20, 2012 18:44

What kind of post processing analysis are you performing? If it is something simple you might be able to perform it with some of the Foam post processing applications. That should help maintain the precision you're looking for.

Also, what are you doing that requires such high precision during post process? It might be overkill. Usually that many sig figs are only necessary to mitigate round off error while performing the CFD computations.

jam June 21, 2012 17:44

Since my first post, I discovered PyFoam. When I can get used to this package, I think that I will be able to do what I want.
I am looking at some very small density variations over time and I do need the accuracy, otherwise, the results are just useless.

jam September 10, 2012 13:23

I managed to do the first part of my problem with PyFoam and company. Now , I am stuck again for the same reason. The paraview "save dataset" is not accurate enough. I cannot find an equivalent utility in openFoam to do an integral over an arbitrary plane extracted by the sample utility.
foamCacl does not have it, calcPressureForce have part of it but for a patch only, not an arbitrary plane surface.

Is there such a utility that I'v missed somehow? I did browse and search a lot without success.

Thanks

Just found out that paraview 3.14 has the changing precision facility for saving files.


All times are GMT -4. The time now is 03:14.