30.1.5. Line and Rake Surfaces

You can create lines and rakes in the domain for releasing particles, obtaining data for comparison with tunnel data, and so on. A rake consists of a specified number of points equally spaced between two specified endpoints. A line is simply a line that extends up to and includes the specified endpoints; data points will be located where the line intersects the faces of the cell, and consequently may not be equally spaced.

To create a line or rake surface, you will use the Line/Rake Surface Dialog Box (Figure 30.8: The Line/Rake Surface Dialog Box).

 Setting Up Domain → Surface → Create → Line/Rake...

Figure 30.8:  The Line/Rake Surface Dialog Box

The Line/Rake Surface Dialog Box

The steps for creating the line or rake surface are as follows:

  1. Indicate whether you are creating a Line surface or a Rake surface by selecting the appropriate item in the Type drop-down list.

  2. If you are creating a rake surface, specify the Number of Points to be equally spaced between the two endpoints.

  3. Specify the location of the line or rake surface. There are three different ways to define the location:

    • Enter the coordinates of the first point (x0, y0, z0) and the last point (x1, y1, z1) under End Points.

    • Click Select Points With Mouse and then select the endpoints by clicking on locations in the active graphics window with the mouse-probe button. (See Controlling the Mouse Button Functions for information about setting mouse button functions.)

    • Use the Line Tool option to interactively position a line in the graphics window. You can set the initial location of this line using one of the two methods described above for specifying endpoints (or you can start from the position defined by the default End Points). See Using the Line Tool for information about using the line tool.

    Note that when you use the second or third method described above, the coordinates of the End Points are updated automatically.

  4. If you do not want to use the default name assigned to the surface, enter a new name under New Surface Name. The default name is the concatenation of the surface type and an integer that is the new surface ID (for example, line-5 or rake-6). If the New Surface Name you enter is the same as the name of a surface that already exists, ANSYS Fluent will automatically assign the default name to the new surface when it is created.


    Important:  The surface name that you enter must begin with an alphabetical letter. If the name of the surface begins with any other character or number, ANSYS Fluent rejects the entry.


  5. Click Create to create the new surface.

If you want to check that the new surface has been added to the list of all defined surfaces, or you want to delete or otherwise manipulate any surfaces, click Manage... to open the Surfaces Dialog Box. See Grouping, Renaming, and Deleting Surfaces for details.

30.1.5.1. Using the Line Tool

The line tool enables you to interactively fine-tune the definition of a line or rake using graphics. Starting from an initial line, you can translate, rotate, and resize the line until its position, orientation, and length are as desired. For example, if you need to position a rake surface just inside the inlet to a duct, you can start with the line tool near the desired location (such as on the inlet), and translate, rotate, and resize it until you are satisfied. You may find it helpful to display mesh faces to ensure that the line tool is correctly positioned inside the domain.

30.1.5.1.1. Initializing the Line Tool

Before enabling the Line Tool option, set the End Points to suitable starting values. You can enter values manually, or use the Select Points With Mouse button. Often it is convenient to display the mesh for an inlet or isosurface on or near where you want to place the line or rake surface and then select two points on that mesh to specify the initial position of the line tool. Once you have specified the appropriate End Points, enable the Line Tool option. The line tool appears in the graphics window, as shown in Figure 30.9: The Line Tool.

Figure 30.9:  The Line Tool

The Line Tool

You can then translate, rotate, and/or resize the line tool as described in the following sections.

30.1.5.1.2. Translating the Line Tool

To translate the line tool in the direction along the red axis, click the mouse-probe button (the right button by default) anywhere on the “line” part of the tool and drag the mouse until the tool reaches the desired location. Green arrows will show the direction of motion For information about changing the mouse functions see Controlling the Mouse Button Functions.


Important:  Do not click the axes of the line tool that have arrows on the ends. These axes control rotation of the tool. Click only on the portion of the tool that represents the prospective line surface. This portion is designated by the rectangles attached to each end.


To translate the tool in the transverse directions (that is, along either of the axes within the plane perpendicular to the red axis), press Shift, click the mouse-probe button anywhere on the "line" part of the tool, and drag the mouse until the tool reaches the desired location. Two sets of green arrows will show the possible directions of motion. In 2D, there will be only one set of green arrows because there is only one other direction for translation. If you find the perspective distracting when performing this type of translation, you can disable it in the Camera Parameters Dialog Box (opened from the Views Dialog Box), as described in Controlling Perspective and Camera Parameters.

30.1.5.1.3. Rotating the Line Tool

To rotate the line tool, you click the mouse-probe button on one of the white axes with arrows. When you click one of these axes, a green ribbon will encircle the other arrowed axis, designating it as the axis of rotation. As you drag the mouse along the circle to rotate the tool, the green circle will become yellow.


Important:  Do not click the red axis to rotate the line tool.


30.1.5.1.4. Resizing the Line Tool

If you plan to generate a rake surface, you can resize the line tool to define the length of the rake. Click the mouse-probe button in one of the white rectangles at the ends of the "line" part of the tool (shown in black in Figure 30.9: The Line Tool) and drag the mouse to lengthen or shorten the tool. Green arrows will show the direction of stretching/shrinking.

30.1.5.1.5. Resetting the Line Tool

If you "lose" the line tool, or want to reset it for any other reason, you can either click Reset to return the line tool to the default position and start from there, or turn the tool off and re-initialize it as described above. In the default position, the line tool will lie midway along the and lengths of the domain, spanning the domain extent.


Release 18.2 - © ANSYS, Inc. All rights reserved.