5.4.4. Using a Non-Conformal Mesh in ANSYS Fluent

If your multiple-zone mesh includes non-conformal boundaries, check if the mesh meets all the requirements (listed in Requirements and Limitations of Non-Conformal Meshes). This ensures that ANSYS Fluent can obtain a solution on the mesh. Then do the following:

  1. Read the mesh into ANSYS Fluent. If you have multiple mesh files that have not yet been merged, first follow the instructions in Reading Multiple Mesh/Case/Data Files to merge them into a single mesh.

  2. For all of the zones that make up the non-conformal boundaries, change the type to interface (as described in Changing Cell and Boundary Zone Types).

     Setup →   Boundary Conditions

  3. Open the Mesh Interfaces Dialog Box (Figure 5.37: The Mesh Interfaces Dialog Box).

     Setup → Mesh Interfaces  New...

    Figure 5.37:  The Mesh Interfaces Dialog Box

    The Mesh Interfaces Dialog Box

  4. Create all of the mesh interfaces that use the periodic or periodic repeat option. This must be done using the manual method, by clicking the Manual Create... button and using the Create/Edit Mesh Interfaces Dialog Box. For details, see Manually Creating Mesh Interfaces.

  5. Create all of the mesh interfaces that do not use the periodic or periodic repeat option, using the automatic method. As part of this method, Fluent will automatically determine which of the selected interface boundary zones can be grouped together to form the two sides of one or more mesh interfaces.

    To use the automatic method, perform the following steps in the Mesh Interfaces dialog box:

    1. Select all of the zones in the selection list in the Unassigned Interface Zones group box. This list contains only those zones that are not already part of an existing mesh interface. Note that you may want to select only some of the zones when you want the resulting mesh interfaces to have different name prefixes or different settings in the Auto Create Options dialog box (as described in the steps that follow); for example, you could select only the interface zones from the front half of a model, and then have all of the resulting mesh interfaces named with the prefix "front".

    2. Enter the Interface Name Prefix you want applied to all of the resulting interfaces.

    3. (optional) Click the Options… button in the Unassigned Interface Zones group box to open the Auto Create Options Dialog Box, and enable the settings that you want applied to all of the resulting interfaces.

      Figure 5.38:  The Auto Create Options Dialog Box

      The Auto Create Options Dialog Box

      • You can specify that all of the resulting interfaces are created using One to One Pairing, so that a single zone is assigned to each side of all of the mesh interfaces. Using this option may decrease your computational expense and help with troubleshooting later on, though it may produce a larger number of mesh interfaces for you to manage.

      • You can specify that the mapped option is applied to all of the resulting interfaces for which at least one side of the interface consists of only solid zones, by enabling the Apply Mapped Option at Solids option. Note that the mapped option will be applied regardless of the mesh quality, and the tolerance used for mapping will be that specified in the Interface Options Dialog Box. For more information about the mapped option, see The Mapped Option.

      • You can specify that all of the resulting interfaces use the Static option, if and only if you know that the interface zones will not be moving or deforming relative to each other at the interface. While you will have the ability to enable the static option after the interfaces are created, doing so prior to creation avoids the creation of unnecessary zones (and thus saves memory usage and processing time, which can be significant when you have selected many Unassigned Interface Zones).

    4. Click the Auto Create button in the Mesh Interfaces dialog box to create the interfaces. The resulting interfaces will be added to the Mesh Interfaces list. Note that when all of the unassigned zones get assigned, the Unassigned Interface Zones group box will become hidden, in order to simplify the user interface.

  6. Make a selection from the Mesh Interfaces list and click Edit..., and then complete the setup for the mesh interfaces in the Edit Mesh Interfaces Dialog Box that opens.

    Figure 5.39:  The Edit Mesh Interfaces Dialog Box

    The Edit Mesh Interfaces Dialog Box

    In the Edit Mesh Interfaces dialog box, select the Mesh Interfaces you want to change, revise the settings, and click Apply. You can edit the Interface Name and/or the Interface Zones that make up the interface (provided that the zones you select are unassigned and located appropriately), though such changes are only allowed if you select a single interface. You can select one or more interfaces and enable the following Interface Options; note that you can click the   button to group the interfaces in the list by their currently enabled interface option(s), which allows you to select / deselect all those of a particular type by simply clicking the top-level branch.

    • Enable Coupled Wall if you would like to model a thermally coupled wall between two fluid zones that share a non-conformal interface.


      Important:  If an interface has a solid zone on one or both sides, it is coupled by default. Therefore, no action is required in the Edit Mesh Interfaces dialog box to set up such an interface.


    • Enable the Matching option if only internal zones should be created (that is, interior or wall / shadow pairs), since the interface zones on both sides are aligned. With the Matching option, even interface zones that are not perfectly aligned are treated as if they are; however, if the discrepancy between the interface zones on both sides exceeds default thresholds, then warning messages will be displayed. See Matching Option for more information about the recommended uses of this option.

    • Enable the Mapped option when there is penetration or large gaps between interface zones. Note that at least one side of the interface must consist of only solid zones. For additional information, see The Mapped Option.

      Enable Enable Local Tolerance in the Mapped group box for the selected interface, if you want to override the global tolerance defined for Mapped Tolerance in the Interface Options Dialog Box.

    • Enable Static if and only if you know that the interface zones will not be moving or deforming relative to each other at the interface. This option will reduce memory usage and processing time during the running of the calculation, especially when there are many zones on both sides of the interface. The only options it is compatible with are the Coupled Wall and/or Matching options. See The Static Option for details.

    Note the following:

    • The Periodic Boundary Condition and Periodic Repeats options are not available in the Edit Mesh Interfaces dialog box, and so cannot be changed from enabled to disabled (or vice-versa) for an existing interface; to change them, you must delete the interface and create it again with those options revised.

    • For interfaces that have the Periodic Boundary Condition option enabled, you can edit the Type and Offset from the Edit Mesh Interfaces dialog box. Note that the Auto Compute Offset option must be disabled to edit the Offset.

    When all your changes are applied, close the Edit Mesh Interfaces dialog box.

  7. The buttons at the bottom of the Mesh Interfaces group box allow you to take further actions, such as deleting or drawing a selected interface. Note the following:

    • The Delete button in the Mesh Interfaces dialog box can only be used on one mesh interface at a time. If you would instead like to delete multiple interfaces in a single action, you can select them in the tree and use the right-click menu command.

    • The Options... button opens the Interface Options Dialog Box, which allows you to update which mesh interfaces use the mapped option and the related settings.

  8. Additional wall and interior zones will be created (and deleted) along with the mesh interfaces. These zones will be named with the same prefix as their associated interface, and are visible in the tree (for further details, see Interface Zones Automatic Naming Conventions). There are times when you may need to take action on these additional zones, including the following:

    • If the two interface zones did not overlap entirely, check the boundary zone type of the zone(s) created for the non-overlapping portion(s) of the boundary. If the zone type is not correct, you can use the Boundary Conditions Task Page to change it.

    • If you have any Coupled Wall type interfaces, define boundary conditions (if relevant) by updating the interface wall zones using the Boundary Conditions task page.

       Setup →   Boundary Conditions

  9. It is always a good practice to initialize the solution and review your interfaces:

    • You can visualize the mesh interface(s) you have created by displaying contours of Mesh and Interface Overlap Fraction in the Contours Dialog Box. See Figure 5.40: Contours of Interface Overlap Fraction for an example.

      Figure 5.40:  Contours of Interface Overlap Fraction

      Contours of Interface Overlap Fraction

    • You can print information in the console about the areas of the zones associated with interfaces either by using the List button in the Mesh Interfaces dialog box or by entering the text command define/mesh-interface/list, as shown in the following example:

      >define/mesh-interfaces/list
      List of Mesh Interfaces
      
      
      Interface Name:     int:01
      Interface Options:  Coupled 
      
      
      Description                         Name                  ID            Area          Area Percentage
      ---------------------  ------------------------------  --------  ------------------  -----------------
           Interface-Zone-1                             f-1        18        0.0010104603
           Interface-Zone-2                             s-1         6        0.0010102915
            Boundary-Zone-1           int:01-side1-wall-f-1        52        0.0001105132         10.936916%
            Boundary-Zone-2           int:01-side2-wall-s-1        53        0.0001103031         10.917952%
      Interface-Wall-Zone-1                int:01-wall1-1-1        51        0.0008975386         88.824722%
      Interface-Wall-Zone-2         int:01-wall1-1-1-shadow        54        0.0008975386         88.839561%
      

      The Area Percentage for int:01-side1-wall-f-1 is calculated as the area of int:01-side1-wall-f-1 divided by the area of f-1. The Area Percentage for int:01-wall1-1-1-shadow is calculated as the area of int:01-wall1-1-1-shadow divided by the area of s-1. The remaining area percentages are calculated in a similar manner.


Note:  For case files in which the interface was created in ANSYS Fluent version 17.2 or earlier, you may reduce quality issues (such as left-handed faces) and/or convergence problems if you recreate the interface in version 18.0 or later by entering the following Scheme command in the console: (recreate-sliding-interfaces).


5.4.4.1. Manually Creating Mesh Interfaces

While it is possible to create every type of mesh interface using the manual method, it is only necessary when you want your interface to use the periodic or periodic repeats option. For all other types it is more convenient to use the automatic method (as described in the preceding section), especially when you have many interface zones and/or are unfamiliar with their names / locations.

To manually create a mesh interface, you will use the Create/Edit Mesh Interfaces Dialog Box, which is opened by clicking the Manual Create... button in the Mesh Interfaces Dialog Box.

Figure 5.41:  The Create/Edit Mesh Interfaces Dialog Box

The Create/Edit Mesh Interfaces Dialog Box

  1. Enter a name for the interface in the Mesh Interface text-entry box.

  2. Specify the interface zones that make up the mesh interface by selecting one or more zones in the Interface Zones Side 1 list and one or more zones in the Interface Zones Side 2 list. Note that you must select only one zone per side if you plan to use the periodic or periodic repeats option.


    Important:  If one of your interface zones is much smaller than the other, you should specify the smaller zone as Interface Zones Side 1 to improve the accuracy of the intersection calculation.


  3. Enable the desired Interface Options:

    • Enable Periodic Boundary Condition to create a non-conformal periodic boundary condition interface.

      • Select either Translational or Rotational as the periodic boundary condition Type to define the type of periodicity.

      • Retain the enabled default setting of Auto Compute Offset if you want ANSYS Fluent to automatically compute the offset. After creating the interface, the offsets will be displayed in these fields. The fields will be uneditable when the Auto Compute Offset is enabled.

      • Disable Auto Compute Offset if you decide that you do not want ANSYS Fluent to find the offset. In this case, you will have to provide the offset coordinates or angle in the required fields, depending on whether Translational or Rotational periodicity is selected.


        Important:  Auto computation means that the rotational angle or the translational offset will be automatically calculated and used while creating a non-conformal periodic boundary condition interface. However, it still relies on the Rotational Axis Origin and the Rotational Axis Direction that was entered for the cell zone in the cell zone condition dialog box (for example, the Fluid dialog box). Therefore, before proceeding with the creation of the non-conformal periodic boundary condition interface, you have to correctly enter the rotational axis for the corresponding cell zone.

        Note that auto computation of the non-conformal periodic boundary condition offset does not mean that the Rotational Axis Origin and Rotational Axis Direction are also detected automatically and updated. It is still your responsibility to set up these values correctly.


    • Enable Periodic Repeats when each of the two cell zones has a single pair of conformal or non-conformal periodics adjacent to the interface (see Figure 5.31: Translational Non-Conformal Interface with the Periodic Repeats Option). This option is typically used in conjunction with the sliding mesh model, when simulating the interface between a rotor and stator.

    • Other options are available, as described in the preceding section. Note that only Matching is compatible with Periodic Boundary Condition, and only Coupled Wall is compatible with Periodic Repeats.

  4. Click Create/Edit... to create a new mesh interface. ANSYS Fluent will automatically create additional wall and/or interior zones for the interface, which will appear under Boundary Zones Side 1, Boundary Zones Side 2, Interface Wall Zones Side 1, Interface Wall Zones Side 2, and Interface Interior Zones.

  5. The buttons at the bottom of the dialog box allow you to take further actions, such as the following:

    • If you create an incorrect mesh interface, you can select it in the selection list and click the Delete button to delete it. Any additional wall and/or interior zones that were created when the interface was created will also be deleted.

    • To edit an interface, select it in the selection list and click Create/Edit..., and then revise the settings using the Edit Mesh Interfaces Dialog Box that opens.

    • You can click the Draw button to display interface zones or mesh interfaces in the graphics window. Note that you can only select and display interface zones from Interface Zones Side 1 or Interface Zones Side 2 if no interfaces are selected in the selection list and if the zone in question is not yet assigned to an interface. After an interface is defined, you can select the appropriate mesh interface and click the Draw button to display the zones under Interface Zones Side 1 and Interface Zones Side 2 together. Drawing is particularly useful if you want to check the location of the interface zones prior to setting up a mesh interface.


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