OSCAR2PVD Converter

The oscar2pvd program is for converting OSCAR files to PVD files for visualization in the MADAI Workbench and ParaView. The program converts OSCAR1997A (particle), OSCAR2008H (2D/3D hydro volume), and OSCAR2013 (particles and 2D/3D hydro volumes).

This program supersedes the OSCAR2XDMF utilities.



Version 1.0.1 – September 5, 2013

Changes in this version:

  • Fixed memory access problem
  • Now supports conversion of up to 99,999 events and 99,999 timesteps
  • Added documentation to the installers

Mac OS X 10.6 64-bit


Fedora 19 64-bit


Version 1.0.0 – September 5, 2013

Mac OS X 10.6 64-bit


Fedora 19 64-bit



I assume you want to put these somewhere you can access without having root privileges, such as your home directory.

1). If you don’t have a special install directory in your file space, create one. For example,
mkdir $HOME/install
2). Unzip the installer file
gunzip oscar2pvd-X.Y.Z-Darwin.sh.gz
3). Run the installer
./oscar2pvd-X.Y.Z-Darwin.sh --prefix=$HOME/install
3). Answer the two questions about accepting the license and creating a subdirectory posed by the installer. You will probably want to answer ‘n’ for the second question.
4). If you created an install directory, add the bin directory created by the installer to your PATH environment variable.
5). If you want to put the binaries in /usr/local, change directory to /usr/local, copy oscar2xdmf-X.Y.Z-Darwin.sh there, and run the installer as in Step 2 above. You will likely need to run the command using sudo.