xcompact3d / x3d2

https://xcompact3d.github.io/x3d2
BSD 3-Clause "New" or "Revised" License
3 stars 4 forks source link

Implement IO with ADIOS2 #107

Open JamieJQuinn opened 2 months ago

JamieJQuinn commented 2 months ago

This PR adds integration with ADIOS2 to provide parallel IO. This is primarily for saving:

  1. Checkpoints; files with enough information to restart the simulation at a later time, and
  2. Snapshots; files containing data for analysis & visualisation.

I'm writing this draft PR mainly as a handover doc for @CFD-Xing. The low-level pieces of the ADIOS integration have been mostly worked out, with the remaining TODOs mainly focusing on bugfixing and the solver-level work of writing and loading from complete checkpoint files.

One useful way to look at the outputted .bp files is using ADIOS's bpls tool, found in build/_deps/adios2-build/bin.

TODO: