Interpolating Field Functions Using Inverse Distance Weighting

In Simcenter STAR-CCM+, most variables are solved and stored at cell centers. To smooth these values, Simcenter STAR-CCM+ uses a first order method by default to interpolate the data that are stored in cell centers to vertices. When using a field function in a derived part, the value of the field function at the extraction points is interpolated from these vertex values.

You can interpolate field functions from cell centers to vertices:

  1. Create a user field function. See Creating a User Field Function.
  2. Define the new user field function.
  3. Activate Inverse Distance Weight in the Expert category.


When Inverse Distance Weight is activated, Simcenter STAR-CCM+ interpolates vertex values from the nearest cell centers using inverse distance weighting.

The field function ϕv at a node is calculated as:

Figure 1. EQUATION_DISPLAY
ϕv=i1δiϕi
(14)

where δi is the distance between the node and the centroid i (cell center for a cell value and face center for a face value) and ϕi is the variable that is stored at the centroid.