TOOLS

convertToLinearMesh

Description

This tool allows to convert a non-linear mesh to a linear mesh. All additional nodes from higher order elements in the non-linear mesh are removed when writing the linear mesh, so the meshes can be simplified. This way, simulation results from non-linear approaches to linear ones can be compared.

Usage

USAGE:
   convertToLinearMesh  -o <string> -i <string> [--] [--version] [-h]


Where:
   -o <string>,  --output-mesh-file <string>
     (required)  output mesh file

   -i <string>,  --input-mesh-file <string>
     (required)  input mesh file

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

   --version
     Displays version information and exits.

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

Example

convertToLinearMesh -i non-linear.vtu -o linear.vtu

This article was written by Julian Heinze. If you are missing something or you find an error please reach out to us on our forum.
Generated with Hugo 0.164.0 in CI job 825193 | Last revision: April 20, 2026
Commit: refactor(MeshLib): remove PropertyVector::push_back 870422dde  | Edit this page on