Skip to content
Snippets Groups Projects
user avatar
Vitor Silva authored
503d6f4b
History
Name Last commit Last update
README.md
dump-data.py

adiosFoam data dumper

The dump-data script extracts OpenFOAM data stored in an ADIOS2 file generated by adiosFOAM.

Requirements

data-dumper.py relies on standard Python imports and one extra plugin. The extra plugin is provided by ADIOS2 in the standard installation. More information on the plugin:

Plugin Reference
adios2 ADIOS2plugin

Features

  • Allows directory selection
  • Allows a list of time-steps to be selected (Python syntax)

Limitations

In practical aspects, only scalar and volumetric fields are extracted. since adiosFOAM relies on OpenFOAM decomposed cases thus the same applies for the script: data is generated in decomposed form.

  • The script is mainly limited by adiosFoam limitations adiosFoam.
  • Need a decomposed case mesh (processor# directories)

Usage

python dump-data.py -c /directory/openfoamcase -t '0.1 0.5 0.9'

License