The tool extracts 2d surface elements of a mesh given either in the VTU or MSH format. Since the algorithm uses the element surface normals a correct node ordering of the element nodes is required. The user can specify the components of the normal the extracted surface should have.
ExtractSurface -i [<file name of input mesh>] [-o <file name of output mesh>]
[-x <floating point value>] [-y <floating point value>] [-z <floating point value>]
[-a <floating point value>]
[--ascii-output]
-x
, -y
and -z
. The default normal is (0,0,-1).-a
can be used to specify the allowed deviation of the normal of the surface element from the given normal.
Extracted top, bottom and side surfaces:
ExtractSurface -i Input.vtu -o TopSurface.vtu
ExtractSurface -i Input.vtu -o BottomSurface.vtu -x 0 -y 0 -z 1
ExtractSurface -i Input.vtu -o SideSurface.vtu -x 1 -y 1 -z 0 -a 45
This article was written by Thomas Fischer. If you are missing something or you find an error please let us know.
Generated with Hugo 0.122.0
in CI job 493443
|
Last revision: September 23, 2024
Commit: [MeL/IO/XDMF] Return also computed parent data type 09baf91
| Edit this page on