www.kxcad.net Home > CAE Index > ANSYS Index > ANSYS TurboGrid Index
A polyline is a set of connected line segments that connect a series of points. To create a polyline, select Create > User Defined > Polyline from the main menu.
Available methods of creating a polyline are:
From File
Boundary Intersection
The file format for a polyline is shown below:
Name] Polyline 1 [Data] X [ m ], Y [ m ], Z [ m ], Area [ m^2 ], Density [ kg m^-3 ] -1.04539007e-01, 1.68649014e-02, 5.99999987e-02, 0.00000000e+00, 1.23170340e+00 -9.89871025e-02, 3.27597000e-02, 5.99999987e-02, 0.00000000e+00, 1.23170531e+00 . . . [Lines] 0, 1 1, 2 . . . [Name] Polyline 2 . . .
In this example, the two lines containing data are shown word-wrapped onto the next line. In the actual file, all data for a given point must be on a single line.
The name of each locator is listed under the Name heading. Point coordinates and the corresponding variable values are stored in the Data section. Line connectivity data is listed in the Lines section and references points from the Data section. For this purpose, node numbering in the Data section is consecutive, starting at zero.
Comments in the file are preceded by # (or ## for the CFX-5.6 polyline format) and can appear anywhere in the file.
Blank lines are ignored and can appear anywhere in the file (except between the [data] and first data line, where data is one of the key words in square brackets.