Working with the Visualization Toolkit (VTK) Format

The VTK format is part of a system of visualization and computer graphics programming known as the Visualization Toolkit. The .vtk format itself is designed to present different types of data consistently. Two styles of this file format exist: legacy (serial) and XML-based. Simcenter STAR-CCM+ works with the first style, either binary or ASCII, to import surface data. VTK files are also used by the arbitrary probe derived part.

Simcenter STAR-CCM+ only supports POLYDATA datasets. For more information, see Visualization Toolkit.

Creating a VTK File

It is possible to create a VTK file by exporting data from a derived part. See Exporting to an External File.

For creating a file manually to import into Simcenter STAR-CCM+, the following example shows how to input 7 data points.


# vtk DataFile Version 2.0
Example Data for STAR-CCM+ Arbitrary Probe
ASCII
DATASET POLYDATA
POINTS 7 float
0.0 0.0 0.0
1.0 0.0 0.0
2.0 0.0 0.0
0.0 1.0 0.0
1.0 1.0 0.0
2.0 1.0 0.0
0.0 0.0 1.0

The sensor and/or probe locations must lie inside of the geometry in order for a successful import to take place.