-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HDF5: XMDF Creator #1
Comments
@MKirchen these are the links |
Hi @hightower8083, @RemiLehe just told me you did write openPMD to VTK converters. If you like to contribute them, this repo would be the right place. For curiosity: did you use the ASCII-tabular VTK formats or the XML-based formats? In case of the latter, the XDMF standard is a lightweight representation of these files without heavy-data lifting: It just places references to HDF5 files and variables where data would go. If you are interested in those or writing the xdmf meta file I can provide you with example files and the links above also contain our legacy tools for it. |
Hey @ax3l It's true, that from having some contra-natural experience with OpenFOAM CFD simulations, I've got addicted to Paraview. I didn't master the XDMF standard (looked into it but found kinda longer-term solution :) ), but, since for my cases the data volume is not yet an issue, I've decided to just process the data from HDF5 to VTK files (the recent formats). These files are big (i even reduce f64 to f32), and this is of course disadvantage against XDMF -- so I'd really be interested to look into your examples. Nevertheless, the advantage is that there are bunch of viewers which work with VTK and this way it becomes rather generic -- so no war between Visit and Paraview followers. Unfortunately, I've not yet done it for the openPMD standard, but for my chimeraCL code, where I weirdly use cartesian vectors (e.g. Exyz) in the cylindrical space (r,z,theta), so it does not comply well. The script uses It's ultra-primitive. It just takes whole series of h5 files and turns the particles into In principle, it can be easily turned into openPMD, though we'll need to add 1d, 2d and 3d grids (which's easy) and make nicer. Since I'm working often with FBPIC and sometimes WARP, I'd be interested to give a try. |
@ax3l Here is a first draft of the converter. https://github.com/hightower8083/opmd2VTK I've base it on |
Merge our old tools for splash2xdmf and pic2xdmf (usage see PIConGPU wiki) to a unified tool for openPMD files.
A specific tool for the ED-PIC extension might not be necessary since all definitions of the base standard stay valid (e.g., positions, etc.).
The text was updated successfully, but these errors were encountered: