Trixi2Vtk.jl

Convert output files generated with Trixi.jl to VTK.
Author trixi-framework
Popularity
4 Stars
Updated Last
1 Year Ago
Started In
August 2020

Trixi2Vtk.jl

Docs-stable Build Status Coveralls License: MIT GitHub commits since tagged version

With Trixi2Vtk.jl you can convert the HDF5-based output files created by Trixi.jl (solution or restart files) to VTK files. The converted files can then be further processed with ParaView or VisIt to generate publication-quality visualizations. Trixi2Vtk is part of the Trixi framework.

Installation

If you have not yet installed Julia, please follow the instructions for your operating system. Trixi2Vtk works with Julia v1.5.

Trixi2Vtk is a registered Julia package. Hence, you can install it by executing the following commands in the Julia REPL:

julia> import Pkg; Pkg.add("Trixi2Vtk")

To update an existing installation of Trixi2Vtk to the latest release, execute

julia> import Pkg; Pkg.update("Trixi2Vtk"); Pkg.status("Trixi2Vtk")

in the Julia REPL. A brief list of notable changes to Trixi2Vtk is available in NEWS.md.

Usage

In the Julia REPL, first load the package Trixi2Vtk

julia> using Trixi2Vtk

To process an HDF5 file generated by Trixi.jl, execute

julia> trixi2vtk(joinpath("out", "solution_000000.h5"), output_directory="out")

This will create two unstructured VTK files in the out/ subdirectory that can be opened with ParaView or VisIt: solution_000000.vtu contains the discontinuous Galerkin solution data while solution_000000_celldata.vtu holds any cell-based values such as the current AMR indicator or the cell refinement level.

For further information on how to use Trixi with Trixi2Vtk, please refer to the documentation of Trixi.

Authors

Trixi2Vtk is maintained by the Trixi authors. Its principal developers are Michael Schlottke-Lakemper (University of Cologne, Germany) and Hendrik Ranocha (KAUST, Saudi Arabia).

License and contributing

Trixi2Vtk is licensed under the MIT license (see LICENSE.md).

Used By Packages

No packages found.