6.6.4. Reorienting Profiles

For 3D cases only, ANSYS Fluent allows you to change the orientation of an existing profile so that it can be used at a boundary positioned arbitrarily in space. This allows you, for example, to take experimental data for an inlet with one orientation and apply it to an inlet in your model that has a different spatial orientation. Note that ANSYS Fluent assumes that the profile and the boundary are planar.

6.6.4.1. Steps for Changing the Profile Orientation

The procedure for orienting the profile data in the principal directions of a boundary is outlined below:

  1. Define and read the profile as described in Using Profiles.

  2. In the Profiles Dialog Box, select the profile in the Profile list, and then click the Orient... button. This will open the Orient Profile Dialog Box (Figure 6.76: The Orient Profile Dialog Box).

    Figure 6.76:  The Orient Profile Dialog Box

    The Orient Profile Dialog Box

  3. In the Orient Profile dialog box, enter the name of the new profile you want to create in the New Profile box.

  4. Specify the number of fields you want to create using the up/down arrows next to the New Fields box. The number of new fields is equal to the number of vectors and scalars to be defined plus 1 (for the coordinates).

  5. Define the coordinate field.

    1. Enter the names of the three coordinates (, , ) in the first row under New Field Names.


      Important:  Ensure that the coordinates are named , , and only. Do not use any other names or upper case letters in this field.


    2. Select the appropriate local coordinate fields for , , and from the drop-down lists under Compute From.... (A selection of 0 indicates that the coordinate does not exist in the original profile; that is, the original profile was defined in 2D.)

  6. Define the vector fields in the new profile.

    1. Enter the names of the 3 components in the directions of the coordinate axes of the boundary under New Field Names.


      Important:  Do not use upper case letters in these fields.


    2. Select the names of the 3 components of the vector in the local , , and directions of the profile from the drop-down lists under Compute From....

  7. Define the scalar fields in the new profile.

    1. Enter the name of the scalar in the first column under New Field Names.


      Important:  Do not use upper case letters in these fields.


    2. Click the button under Treat as Scalar Quantity in the same row.

    3. Select the name of the scalar in the corresponding drop-down list under Compute From....

  8. Under Orient To..., specify the rotational matrix under the Rotation Matrix [RM]. The rotational matrix used here is based on Euler angles (, , and ) that define an orthogonal system as the result of the three successive rotations from the original system . That is,

    (6–197)

    (6–198)

    where C, B, and A are the successive rotations around the , , and axes, respectively.

    Rotation around the axis:

    (6–199)

    Rotation around the axis:

    (6–200)

    Rotation around the axis:

    (6–201)

  9. Under Orient To..., specify the Direction Vector. The Direction Vector is the vector that translates a profile to the new position, and is defined between the centers of the profile fields.


    Important:  Note that depending on your case, it may be necessary to perform only a rotation, only a translation, or a combination of a translation and a rotation.


  10. Click the Create button in the Orient Profile dialog box, and your new profile will be created. Its name, which you entered in the New Profile box, will now appear in the Profiles dialog box and will be available for use at the desired boundary.

6.6.4.2. Profile Orienting Example

Consider the domain with a square inlet and outlet, shown in Figure 6.77: Scalar Profile at the Outlet. A scalar profile at the outlet is written out to a profile file. The purpose of this example is to impose this outlet profile on the inlet boundary via a 90° rotation about the axis. However, the rotation will locate the profile away from the inlet boundary. To align the profile to the inlet boundary, a translation via a directional vector must be performed.

Figure 6.77:  Scalar Profile at the Outlet

Scalar Profile at the Outlet

The problem is shown schematically in Figure 6.78: Problem Specification. is the scalar profile of the outlet. is the image of the rotated 90° around the axis. In this example, since , then , where is the identity matrix, and the rotation matrix is

(6–202)

To overlay the outlet profile on the inlet boundary, a translation will be performed.

To overlay the outlet profile on the inlet boundary, a translation will be performed. The directional vector is the vector that translates to . In this example, the directional vector is . The appropriate inputs for the Orient Profile dialog box are shown in Figure 6.76: The Orient Profile Dialog Box.

Note that if the profile being imposed on the inlet boundary was due to a rotation of -90° about the axis, then the rotational matrix must be found for and , and a new directional vector must be found to align the profile to the boundary.

Figure 6.78:  Problem Specification

Problem Specification


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