OGS2VTK is a tool to convert OGS-mesh-files to VTK-files. It can be applied to format OGS-5 legacy mesh files or visualize them in ParaView.


   OGS2VTK  [--ascii_output] -o <file name of output mesh> -i <file name of input mesh> [--] [--version] [-h]


     Write VTU output in ASCII format. Due to possible rounding the ascii
     output could result in lower accuracy.

   -o <file name of output mesh>,  --mesh-output-file <file name of output mesh>
     (required)  the name of the file the mesh will be written to

   -i <file name of input mesh>,  --mesh-input-file <file name of input mesh>
     (required)  the name of the file containing the input mesh

   --,  --ignore_rest
     Ignores the rest of the labeled arguments following this flag.

     Displays version information and exits.

   -h,  --help
     Displays usage information and exits.


Converting a .msh-file to a .vtu-file.

OGS2VTK -i example.msh -o example.vtu

This article was written by Julian Heinze. If you are missing something or you find an error please let us know.
Generated with Hugo 0.122.0 in CI job 447067 | Last revision: April 14, 2024
Commit: [PL/TH2M] Extract MWpC part of W4 equation 4e84e6c  | Edit this page on