Skip to content

trixi-framework/Trixi2Vtk.jl

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0ea6411 · May 24, 2021
May 19, 2021
Feb 9, 2021
Sep 1, 2020
May 24, 2021
May 24, 2021
May 19, 2021
Aug 25, 2020
May 19, 2021
May 20, 2021
May 19, 2021

Repository files navigation

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).

About

Convert output files generated with Trixi.jl to VTK.

Resources

License

Security policy

Citation

Stars

Watchers

Forks

Languages