3.19.1. Performing Mesh-to-Mesh Solution Interpolation

The procedure for mesh-to-mesh solution interpolation is as follows:

  1. Set up the model and calculate a solution on the initial mesh.

  2. Write an interpolation file for the solution data to be interpolated onto the new mesh, using the Interpolate Data dialog box (Figure 3.13: The Interpolate Data Dialog Box).

     File → Interpolate...

    Figure 3.13:  The Interpolate Data Dialog Box

    The Interpolate Data Dialog Box

    1. Under Options, select Write Data.

    2. In the Cell Zones selection list, select the cell zones for which you want to save data to be interpolated.


      Note:  If your case includes both fluid and solid zones, write the data for the fluid zones and the data for the solid zones to separate files.


    3. Select the variable(s) for which you want to interpolate data in the Fields selection list. All ANSYS Fluent solution variables are available for interpolation.

    4. Select the Binary File check box if you want a binary interpolation file to be generated.


      Note:  Writing a binary interpolation file is significantly faster and requires less memory than writing a text file.


    5. Click Write... and specify the interpolation file name in the resulting Select File dialog box. The file format is described in Format of the Interpolation File.

  3. Set up a new case.

    1. Read in the new mesh, using the appropriate ribbon tab item (File/Read/ or File/Import/).

    2. Define the appropriate models.


      Important:  Enable all of the models that were enabled in the original case. For example, if the energy equation was enabled in the original case and you forget to enable it in the new case, the temperature data in the interpolation file will not be interpolated.


    3. Define the boundary conditions, material properties, and so on.


    Important:  An alternative way to set up the new case is to save the boundary conditions from the original model using the write-settings text command, and then read in those boundary conditions with the new mesh using the read-settings text command. See Reading and Writing Boundary Conditions for further details.


  4. Read in the data to be interpolated.

     File → Interpolate...

    1. Under Options, select Read and Interpolate.

    2. In the Cell Zones list, select the cell zones for which you want to read and interpolate data.

      If the solution has not been initialized, computed, or read, all zones in the Cell Zones list are selected by default, to ensure that no zone remains without data after the interpolation. If all zones already have data (from initialization or a previously computed or read solution), select a subset of the Cell Zones to read and interpolate data onto a specific zone (or zones).

    3. Click the Read... button and specify the interpolation file name in the resulting Select File dialog box.


    Important:  If your case includes both fluid and solid zones, the two sets of data are saved to separate files. Hence perform these steps twice, once to interpolate the data for the fluid zones and once to interpolate the data for the solid zones.


  5. Reduce the under-relaxation factors and calculate on the new mesh for a few iterations to avoid sudden changes due to any imbalance of fluxes after interpolation. Then increase the under-relaxation factors and compute a solution on the new mesh.


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