wiki:public/doc/by_ext/gli/H_polyline
Last modified 3 years ago Last modified on 08/05/15 09:15:45

Description

This keyword indicates a topological description of a polyline or polygon. Each polyline definition includes a name and a list of point numbers. Polygons are defined in the same way as polylines, with the only difference that the first and last point are identical.

Subkeywords

  • $NAME - A polyline name can be used to assign boundary conditions, source terms, output or initial conditions (see IC, BC, ST and OUT file description). The names (char) themselves are written in the subsequent line under the sub-keyword $NAME.
  • $POINTS - indicates a following list of points, which only includes the point numbers of the above already defined points. The order of the points defines the topology, i.e. the point to point connections.

Examples

#POINTS
0 0.0 0.0 0.0
1 0.0 750 0.0
2 1000 750 0.0
3 1000 0 0.00
4 500 375 0.0 $NAME POINT4
5 600 375 0.0 $NAME POINT5
#POLYLINE
 $NAME
 left_bc
 $POINTS
 0
 1
#POLYLINE
 $NAME
 right_bc
 $POINTS
 2
 3
#POLYLINE
 $NAME
 top_bc
 $POINTS
 1
 2
#POLYLINE
 $NAME
 bottom_bc
 $POINTS
 3   
 0
#POLYLINE
 $NAME
 polygon
 $POINTS
 0
 1
 2
 3
 0
 #STOP