Shape function
The flow solver computes solution variables, such as velocity components, pressure, and temperature at the mesh nodes. It then approximates the solution variables at arbitrary points in the computational domain with shape functions. The shape functions interpolate solution variables from mesh nodes to the arbitrary point with given nodal solution variables, and the coordinates of an arbitrary point in the computational domain.
The shape function representation is:
where:
- ϕi is the solution value at node Nei.
- Bi is the finite element shape function associated with the same node.
The flow solver uses two types linear-linear and tri-linear shape functions for its interpolation approximations. The following figure depicts the locations of the xip employed in conjunction with the expansion of the shape function for the quadrature of integration surface Aip.

(1) Location xip for linear-linear interpolation
(2) Location xip for tri-linear interpolation
The shape functions always represent a tri-linear interpolation over element to the arbitrary point .
The linear-linear shape function imposes a selection for lying at the midpoint of the vector, which joins node with its neighbor across Aip. The values of ϕ(xip) and the directional derivative along the vector , are reduced to the following approximations:
By default, the flow solver is set to low resolution mode and uses linear-linear shape functions. When you choose high resolution mode, the flow solver uses tri-linear functions.