8.15. Velocity Profile from a CSV File

In addition to the specification of boundary conditions within Ansys Polydata, as described in the previous sections, you can also specify a velocity profile outside of Ansys Polydata (for example, using a spreadsheet such as Excel), and then read it in to define the conditions on a boundary section.

The format for the profile data must be a CSV (comma separated variables) file, which is a common format for tabulated data that can be read into spreadsheet programs such as Excel. The profile file should contain a list of data points (, , ) and a list of velocity vectors (, , ). For more information about setting up a file with the correct format, you can follow the instructions in Using the CSV File to Initialize Solution Variables for creating a template CSV file.

When Ansys Polyflow reads a CSV file, it will interpolate the data (if they do not correspond exactly to the nodes in the mesh) between the listed values; the node in the mesh that is located closest to a data point will be initialized to the specified value.

To define velocity conditions on a boundary section, follow these steps:

  1. Select the Velocity profile from CSV file menu item in the list of boundary condition choices.

      Velocity profile from CSV file

  2. Specify the name of the CSV file and the label that indicates the velocity data in the CSV file.

Note that boundary conditions imposed via a CSV file are evaluated only once. In other words, if the CSV file contains a velocity distribution in space, the evaluation will be based on the geometry that is known at the beginning of the calculation, even if the boundary is moving.