|
[Sponsors] |
How to save a dataset with higher precision in paraFoam? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 17, 2012, 07:50 |
How to save a dataset with higher precision in paraFoam?
|
#1 |
Member
Alain Martin
Join Date: Mar 2009
Posts: 40
Rep Power: 17 |
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 |
|
June 20, 2012, 18:44 |
|
#2 |
Senior Member
Kyle Mooney
Join Date: Jul 2009
Location: San Francisco, CA USA
Posts: 323
Rep Power: 17 |
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. |
|
June 21, 2012, 17:44 |
|
#3 |
Member
Alain Martin
Join Date: Mar 2009
Posts: 40
Rep Power: 17 |
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. |
|
September 10, 2012, 13:23 |
|
#4 |
Member
Alain Martin
Join Date: Mar 2009
Posts: 40
Rep Power: 17 |
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. Last edited by jam; September 10, 2012 at 15:31. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Single v.s. double precision | Confused | CFX | 15 | November 10, 2016 04:42 |
[OpenFOAM] Save animation bug in paraFoam on Mac OSX | deinstein | ParaView | 3 | May 1, 2010 15:29 |
Number of elements x double precision | matheusguzella | ANSYS Meshing & Geometry | 2 | October 7, 2009 10:15 |
[OpenFOAM] ParaView exiting while trying to save image file or movie file | 21kalee | ParaView | 3 | January 23, 2008 16:01 |
what's wrong about my code for 2d burgers equation | morxio | Main CFD Forum | 3 | April 27, 2007 10:38 |