turbo_moc.visualization.geometry_preview module

turbo_moc.visualization.geometry_preview module#

Smooth, closed geometry previews, independent of CFD mesh discretization.

turbo_moc.visualization.geometry_preview.preview_geometry(design, *, span_sections=9, curve_points=180, subdivisions=1)[source]#

Create smoothly shaded, capped display surfaces without running Gmsh.

The default refinement gives 17 span stations and 360 contour segments. It is a rendering approximation, unrelated to the numerical mesh controls. Both blade ends are capped so hiding hub/shroud never reveals a hollow blade. A display-only overhang of 0.5% of local span at each end avoids coincident endwall/cap rendering; it does not represent physical blade clearance.