
Hey guys, just wanted to ask if someone got experience in loading results from Fluent with yt. I only got errors when trying to load the dat.h5 files saying missing "keys" while loading database.

Hi! I think we can make this work with the newest HDF5 loader support. There's a bit of an overview here: https://blog.yt-project.org/posts/new-in-41-loading-raw-hdf5-files/ but detailed ideas here: https://yt-project.org/doc/examining/loading_data.html#simple-hdf5-data If you want to ping me off-list, we can iterate on this and come up with a solution. I'd be really keen to help out with this. -Matt On Sat, May 6, 2023 at 6:36 AM <sjessin7@gmail.com> wrote:

Hey, I was just about to give it up, but maybe it's worth the work. I came this far: Fluent saves all Data in 2 different files: The created grid is saved under myproject.cas.h5 The Solver Output (aka. Field data) is saved under myprojekt.dat.h5 In my case, I used an unstructured grid. This is probably why fluent saved all in index format structure. In other grids, the needed tables will be others than presented below: in my case all index - coordinates (x,y,z) - relations are saved in myproject.cas.h5 // meshes/1/nodes/coords/1 all skalar Field Values are saved in seperate index - parameter - relations in myproject.dat.h5 // results/1/phase-1/cells/SV_P/1 (pressure) myproject.dat.h5 // results/1/phase-1/cells/SV_T/1 (Temperature) ,etc. all Vector Field Values are saved according to the specific faces of the grid, eg. myproject.dat.h5 // results/1/phase-1/faces/SV_MACH/1 or .../2 (Mach-Number) myproject.dat.h5 // results/1/phase-1/faces/SV_U/1 (Velocity in x Dimension) myproject.dat.h5 // results/1/phase-1/faces/SV_V/1 (Velocity in y Dimension) where the specific coordinates of the faces are is saved somewhere here myproject.cas.h5 // meshes/1/faces/... but I don't rly understand the format This is what I got so far. I had to inspect the file structure, since just loading the h5 file into yt didn't work. Opening and Inspecting the h5 files with "HDFView 3.3.0" helped a lot. I can send you my data files, if you want to. I got two dimensional (about 20MB) and three dimensional data (about 400MB). Keep me up-to-date if you find something out. -Sebastian

Hi! I think we can make this work with the newest HDF5 loader support. There's a bit of an overview here: https://blog.yt-project.org/posts/new-in-41-loading-raw-hdf5-files/ but detailed ideas here: https://yt-project.org/doc/examining/loading_data.html#simple-hdf5-data If you want to ping me off-list, we can iterate on this and come up with a solution. I'd be really keen to help out with this. -Matt On Sat, May 6, 2023 at 6:36 AM <sjessin7@gmail.com> wrote:

Hey, I was just about to give it up, but maybe it's worth the work. I came this far: Fluent saves all Data in 2 different files: The created grid is saved under myproject.cas.h5 The Solver Output (aka. Field data) is saved under myprojekt.dat.h5 In my case, I used an unstructured grid. This is probably why fluent saved all in index format structure. In other grids, the needed tables will be others than presented below: in my case all index - coordinates (x,y,z) - relations are saved in myproject.cas.h5 // meshes/1/nodes/coords/1 all skalar Field Values are saved in seperate index - parameter - relations in myproject.dat.h5 // results/1/phase-1/cells/SV_P/1 (pressure) myproject.dat.h5 // results/1/phase-1/cells/SV_T/1 (Temperature) ,etc. all Vector Field Values are saved according to the specific faces of the grid, eg. myproject.dat.h5 // results/1/phase-1/faces/SV_MACH/1 or .../2 (Mach-Number) myproject.dat.h5 // results/1/phase-1/faces/SV_U/1 (Velocity in x Dimension) myproject.dat.h5 // results/1/phase-1/faces/SV_V/1 (Velocity in y Dimension) where the specific coordinates of the faces are is saved somewhere here myproject.cas.h5 // meshes/1/faces/... but I don't rly understand the format This is what I got so far. I had to inspect the file structure, since just loading the h5 file into yt didn't work. Opening and Inspecting the h5 files with "HDFView 3.3.0" helped a lot. I can send you my data files, if you want to. I got two dimensional (about 20MB) and three dimensional data (about 400MB). Keep me up-to-date if you find something out. -Sebastian
participants (2)
-
Matthew Turk
-
sjessin7@gmail.com