Skip to content

Topologies ​

A topology is a fixed block layout: how the grid around a class of bodies is split into hexahedral blocks, and how the blocks are connected at their faces. The near-body pipeline pages describe the stages (projection, k=0 construction, marching); this section describes the layouts built from them. All of them produce HexBlocks with typed faces and axis maps (Block model).

Catalogue ​

TopologyBlocksBuilt byFor
Cubed sphere6: 4 equatorial + 2 capsshore mesh (default, --topology cubed_sphere)closed star-shaped bodies; no singular axis
O-grid1, j-periodicshore mesh --topology ogrida single periodic block; leaves the two polar regions uncovered
C-grid3 (sharp TE, default), 4 (blunt TE), 1 (legacy)shore mesh --topology cgridwings and foils, with wake branches
C-grid tip caps5 per tip (overset, on the tip face)shore mesh --cap-tips, shore cap-tipclosing a finite wing at its tips
OH hybrid12: cubed-sphere wrap + 6 channelsshore mesh --topology ohone grid from the wall to an axis-aligned box
CH hybrid12 (sharp TE) / 14 (blunt TE)shore mesh --topology chone grid from a wing's wall to a chord/normal frame
H-grids1 (rect) / 5 (tube)shore primitive h-grid-rect / h-grid-tubestraight ducts without a body
Primitives1 or 5shore primitive box / annulus / flat-capsbackgrounds and buffers

The topologies cover bodies of a known shape class. Junctions between components are closed with collar grids, and arbitrary layouts are built by hand as a blocking on CAD or STL geometry.

Choosing ​

  1. Closed body, star-shaped from an interior point (spheres, fuselages, pods): the cubed sphere. Add channel blocks to a box with the OH hybrid when the grid must end on a box instead of overlapping a background.
  2. Wing or foil with a sharp or blunt trailing edge: the C-grid, with tip caps for a finite wing; the CH hybrid for a single grid out to a frame.
  3. Duct with no body: an H-grid.
  4. Background or buffer: a primitive.

The O-grid is the simplest single block around a body, but it does not cover the poles; prefer the cubed sphere when the wall grid must be closed.

For the cubed sphere and the OH wrap, check the cap–equator spacing match when choosing (ni, nj, theta_cap): k=0 construction. The CLI flags are in shore mesh and shore primitive.

See also ​

Released under the MIT License.