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.
The procedure for orienting the profile data in the principal directions of a boundary is outlined below:
Define and read the profile as described in Using Profiles.
In the Profiles Dialog Box, select the profile in the Profile list, and then click the button. This will open the Orient Profile Dialog Box (Figure 6.76: The Orient Profile Dialog Box).
In the Orient Profile dialog box, enter the name of the new profile you want to create in the New Profile box.
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).
Define the coordinate field.
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.
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.)
Define the vector fields in the new profile.
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.
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....
Define the scalar fields in the new profile.
Enter the name of the scalar in the first column under New Field Names.
Important: Do not use upper case letters in these fields.
Click the button under Treat as Scalar Quantity in the same row.
Select the name of the scalar in the corresponding drop-down list under Compute From....
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) |
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.
Click the 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.
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.
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.