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.117.0 in CI job 362666 | Last revision: July 12, 2023
Commit: [PL/SSD] Rename x_dot to x_prev 04a8fec8  | Edit this page on