eschnett / ADIOS2.jl

A Julia interface to ADIOS2
MIT License
13 stars 6 forks source link

example with mesh and data #13

Open fab6 opened 1 year ago

fab6 commented 1 year ago

Hi, I am having trouble to understand the adios format for post-processing CFD simulation results (e.g. with VisIt).

It would be great when you can point me to some simple example or to some simple description. Maybe it is quite easy to include some information about the mesh!?

At the moment I am writing out to vtk (here actually the vtr type which is a rectilinear type) and I would like to switch. Best Fab

williamfgc commented 1 year ago

@fab6 , @caitlinross and @pnorbert have done a lot of work on the FIDES reader in ParaView. I put the VTX as well there (on VTK/ParaView) for specific targets using bp files only. The basic idea is that your dataset needs a "schema" high-level description of your variables. The docs for the VTX reader in ParaView are here and the GrayScot.jl example produces FIDES and VTX readable files in ParaView. @caitlinross and @pnorbert do you have docs for FIDES?

caitlinross commented 1 year ago

The user guide for Fides is https://fides.readthedocs.io/en/latest/ You can either write a JSON data model, or since you have a rectilinear grid, you could just add a couple of ADIOS attributes instead of writing the JSON file. See https://fides.readthedocs.io/en/latest/components/components.html#rectilinear-data-model.