ibfoamrig.plot.plot_geometry_2d#
- ibfoamrig.plot.plot_geometry_2d(info, *, axes=('x', 'y'), ax=None, normals=False)[source]#
Plots the interpolation lines projected onto a coordinate plane.
Each line runs from the boundary cell centre through all interpolation points. For 3D cases, select a thin plate first, and choose the plane with
axes.- Parameters:
info (InterpolationData) – Interpolation data of the boundary cells to plot.
axes (tuple[str, str]) – The two coordinate axes spanning the plot plane.
ax (Axes | None) – Axes to draw on. If None, a new figure is created.
normals (bool) – If True, draws the surface normal at
intPoint0as an arrow, scaled to the spacing of the interpolation points.
- Returns:
The axes to draw on.
- Raises:
ValueError – If
axesdoes not name two different axes.- Return type: