On Oct 23, 2023, at 4:29 AM, Jonas <jonas...@gmail.com> wrote:Reading dumps.visit data in Paraview is easy. Create a text file called paraview.samrai.series with the following format/content:
{
"file-series-version" : "1.0",
"files" : [
{ "name" : "./visit_dump.00000/summary.samrai", "time" : 0 },
{ "name" : "./visit_dump.00200/summary.samrai", "time" : 0.01 },
{ "name" : "./visit_dump.00400/summary.samrai", "time" : 0.02 },
{ "name" : "./visit_dump.00600/summary.samrai", "time" : 0.03 },
]}Make obvious changes for your data, and then do file/open/files of type: all files (*) in Paraview./Jonas
On Friday, October 20, 2023 at 8:10:20 PM UTC+2 Yiming Gan wrote:Thanks! I will try both.On Friday, October 20, 2023 at 2:08:54 PM UTC-4 Boyce Griffith wrote:
> On Oct 20, 2023, at 1:35 PM, Yiming Gan <germa...@gmail.com> wrote:
>
> Dear all,
>
> I can't read in the dumps.visit file with paraview. Is there a specific reader for that? Thanks.
At some point, Paraview documentation indicated that there is a SAMRAI data viewer, but I don’t think we have ever gotten it to work — although we also have not tried very hard.
I would recommend using VisIt with these data files.
> Best,
> Yiming
--
You received this message because you are subscribed to the Google Groups "IBAMR Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ibamr-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ibamr-users/f578e6ce-7191-4aa2-961d-dbb47079c6fcn%40googlegroups.com.


@ Michael,
Not sure what’s going on for you, P and U appears to show up as Point Arrays and not as Cell Arrays? You also have a cell array called “P error”. Can you load the data into Visit? I haven’t done any 2D simulations, but you appear to have several summary.samrai files in the visit_dump.00000 folder, correct? Have you tried opening one of the summary.samrai file directly? Also, there is a misspelling of your filename, paraview.samria.series, not sure if that helps. In order for Paraview to load the data with the correct reader, the file ending must be .samrai.series for time resolved data, and that’s why you need to use File/open/all files (*.*).
@ Boyce,
Im running a simple bash script at the end of my simulations to get plots and create the file for Paraview. Not sure how to write a patch but I added a simple example of how I do it.
Best
Jonas