File I/O Standardization and Improvements #54
Replies: 2 comments
-
Recap of 12/06/2023 Discussion
If I missed anything, please feel free to comment below. |
Beta Was this translation helpful? Give feedback.
-
|
I personally support the use of some higher level API for file I/O. It is really a PITA to do anything low-level, since one has to write a lot of error handling code. So, for example, using something like For output regarding visualization, this is a bit different story IMO. Here, a standardized format like ExodusII, VTK, whatnot should be chosen. If not, a conversion tool/code must be written and maintained. That's typically not a good idea. The reasoning behind having 2 kinds of outputs, i.e. one for "restart" and one for viz, is that restart typically requires to store some internal state of the code (IDK how much this is true for openSn) and the standardized file formats typically do not have the capacity to do so. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I think our file I/O system could use a little bit of a refresh. Currently, the
LBSSolverbinary files for flux moments and angular fluxes are a bit different. The flux moments binary first writes grid information, then the indexed data, while the angular flux binary only writes the indexed data. Additionally, there is theExportMultipleToVTKfunction inFieldFunctionGridBased.There are two primary items I think we should think about:
Standardizing full solution binaries and moving them to field functions
Developing specialized file I/O
I'll likely be doing a bit of file i/o development in the coming months for an application I am working on, so I would like to see what everyone's thoughts are on the final state.
Beta Was this translation helpful? Give feedback.
All reactions