1. Description
Some of the information provided here has been obtained on page 95 of the Ansys Fluent User Guide (version 15.0).
The IP field format is used by the software Ansys Fluent, for fluid dynamic simulations, developed by Ansys.
The main features of this format are:
- It can store several fields.
- It stores vector fields by components.
- It can store fields over a single piece of the mesh.
- It contains point coordinates and values on these points.
- Depending on the version of the file it can store binary or text data in single or double precission floats.
2. Features supported by feconv
- FEconv only supports text based IP files.
- FEconv can reads IP files with version 2 or 3 and writes IP files with version 3.
- FEconv only supports fields over the whole mesh.
- The number of points in the IP file must agree with the number of nodes or with the number of cells.
- The ordering of point coordinates of the IP file must agree with the order of nodes or with the order of cells.
- When reading IP files, FEconv assumes that if the number of points corresponds to the number of elements of the mesh, it has found a field at elements.
- When writing IP files, FEconv calculates the barycenter of elements to save fields at elements.
3. Data structure
The format of the interpolation file is as follows:
- The first line is the interpolation file version. Version is 2 for files generated using ANSYS FLUENT 12.0 through 14.0, 3 for text files generated using ANSYS FLUENT 14.5, 4 for binary files generated using single precision ANSYS FLUENT 14.5, and 5 for files generated using double precision ANSYS FLUENT 14.5.
- The second line is the dimension (2 or 3).
- The third line is the total number of points.
- The fourth line is the total number of field components (temperature, pressure, etc.) included.
- Starting at the fifth line is a list of field component names.
- After the field names is a section for each coordinate component x, y and (in 3D) z, for all the points.
- At the end there is a section for each list of component values at all the points with the same order as their names.
- For version 3 interpolation files, the sections are bounded by “(” and “)”.
You can see an example of version 3 IP file in the following lines:
3 2 34800 3 x-velocity pressure y-velocity (-0.068062 -0.0680413 ... ) (-0.076062 -0.0760413 ... ) (-0.050000 -0.0500013 ... ) (10.123412 10.1235000 ... ) (0.0123412 0.01235000 ... ) (100.23412 100.235000 ... )