Writing polylines

Values of the selected variables can also be saved along polylines. A polyline can consist of one or more straight lines or one or more selected region lines, depending how it is defined.

A “profile” polyline is defined by an ordered list of at least two nodes. The polyline begins at node No. 0 and consists of straight lines from one node to the next. You can specify the coordinates of each node giving its coordinates or using the mouse (CTRL + right mouse button).

A “selected” polyline is defined as a list of selected region lines. In this case, the start and end points of each selected line are indicated in the bottom side list of the polylines tab.

You need to define at least two nodes to add a “profile” polyline or to select at least one region line to add a “selected” polyline.

Defining a “profile” polyline

To save data along a “profile” polyline proceed as follows:

  1. Select Analysis > Write Profile > Polylines.

    The Polylines tab of the Monitor/Write Profile dialog is displayed.

    Monitor/Write Profile dialog, Polylines tab 

    Figure 11. Monitor/Write Profile dialog, Polylines tab

  2. Specify the r- and z-coordinates for the first node of the polyline, e.g. r = 0.02, z = 0.32, in the input field at the bottom of the dialog window

    or

    move the mouse pointer to the desired position and press and hold down Ctrl key and click the right mouse button.

  3. Click on Add Node.

    The node will be displayed in the field above.

  4. Add as many nodes as you need by repeating steps 2 and 3.

  5. Click on Variables button.

    The variables tree selector is shown and you select the variables for which the values shall be exported, e.g. Temperature, radial and axial-Gradient.

  6. Determine by the No. of steps how many values you want to save along the polyline, e.g. 200.

  7. All defined nodes will be included in this profile. The nodes and the lines are displayed in the drawing.

    Click on Add to add the polyline(s) to the list.

    The polyline profile No. 0 appears in the upper field of the dialog window.

    Monitor/Write Profile, defining profile polylines 

    Figure 12. Monitor/Write Profile, defining profile polylines

    The profile comprises 200 steps (values) for the Temperature, radial and axial-Gradient variables and the data will be saved to the file toymodel_pl0.mon.

    In time-dependent computation, the Save every n time steps field specifies that monitor data are written at every nth time step.

  8. Click on Apply and Close.

Defining a “selected” polyline

To save data along a “selected” polyline proceed as follows:

  1. Select Analysis > Write Profile > Polylines.

  2. Select on drawing area the desired region lines (Ctrl + left mouse button).

    The selected line(s) coordinates appear in the nodes table.

  3. Set the number of steps and select variables.

  4. Click on Add to add the polyline(s) to the list.

    The polyline profile No. 1 appears in the upper field of the dialog window.

    Monitor/Write Profile, defining selected polylines 

    Figure 13. Monitor/Write Profile, defining selected polylines

  5. Click on Apply and Close.

Note

The normalGradient and normalHeatFlux values are automatically written in case you select axial or/and radial-Gradient, respectively axial or/and radial-HeatFlux variables.

Tip

In case of a selected line, the sign of normal heat flux values depends on the region which is of reference. The left or right region could be by chance considered. In order to force a region to be the reference region for saving normal heat flux, you have to set WallHeatFluxRef label to this region, see Assigning labels.
Related Dialogs

Polylines