Samrai reader error


(Alexander D Kaiser) #1

Hello,

I am running simulations with IBAMR, a cfd library, that outputs data in samrai format. I would like to visualize this in paraview, but am getting errors from the samrai reader.

If I load the file, the amr mesh is selected by default and if I click apply, paraview returens the following error message:
ERROR: In /Users/kitware/dashboards/buildbot-slave/8275bd07/build/superbuild/paraview/
src/Utilities/VisItBridge/databases/AvtAlgorithms/vtkAvtSTMDFileFormatAlgorithm.cxx, line 346
vtkVisItSAMRAIReader (0x6000003f3f00): Unable to find nesting information for AMR dataset

If I deselect the mesh and select a field under “cell arrays” then plot, nothing happens. The files read and plot correctly in Visit.

Do you have any suggestions as to what to try to get this to work please?

Thank you,
Alex


(Mathieu Westphal (Kitware)) #2

Hi Alexander,

The samrai reader seems to work well with AMR data here.
Can you share your dataset ?


(Alexander D Kaiser) #3

Hi Dr. Westphal,

Yes, I would be happy to. Here is a link to two time steps at the start of the run. The first should be zeros in all fields, and the second should not.

Thank you,
Alex


(Alexander D Kaiser) #4

Hi Dr. Westphal,

Did you find anything using the files? Could you reproduce the error?

Thank you,
Alex


(Mathieu Westphal (Kitware)) #5

I do reproduce the error, so either your file is not correctly formatted or it is not perfectly supported by the reader.

@berkgeveci or @utkarsh.ayachit may know.


(Alexander D Kaiser) #6

This error seems to be consistent with all samrai files that are output by IBAMR. IBAMR uses an older version of samrai, 2.4.4, could that be the issue?

Is there anything else that I could try to make it read these? Alternatively, is there any easy way to convert these samrai files to another format that is more likely to be read by paraview?

Thank you,
Alex


(Mathieu Westphal (Kitware)) #7

I’m afraid this is more a question for Samrai people :


(Alexander D Kaiser) #8

I wrote to the SAMRAI team, and they said that they had not developed or tested the Paraview reader, and did not know how to diagnose the problem.

Is there anything else that could be done to diagnose why the reader might fail in this case, like some type or verbose or debug output from the reader? Or what aspect of the files could be creating the problem?

Thank you,