Skip to content

How SHORE works ​

SHORE makes structured multi-block grids for overset (Chimera) CFD and packages them for the Xall/Xnavis solver chain. It has two halves:

  1. Grid generation: geometry (STL or CAD) in, structured hexahedral blocks out. Near-body grids are marched from the wall; junctions get collar grids; anything else is blocked by hand, as in ICEM CFD Hexa.
  2. Solver packaging: the block list out to the files the solver reads: .geo per block, a .grd pack, cc.par connectivity with marker boxes for hole cutting, and a proc.input MPI distribution, with a load-balancing split planner. CGNS, Plot3D and VTK cover other solvers and viewers.

The data model ​

  • Geometry is reached through one protocol with an STL and a CAD backend; entities (surfaces, curves, points) carry fingerprints that survive a re-read of an edited file (Geometry).
  • Blocks are HexBlocks: a (ni, nj, nk, 3) node array with typed vertices, edges and faces; faces carry boundary conditions and seams to other blocks (Block model).
  • Associations tie block faces, edges and vertices to geometry entities; snap projects the nodes onto them (Association).
  • The project applies every change as a command, can undo it, and records a journal that replays the grid bit for bit (Projects and journals).
  • Quality is measured by a fixed set of metrics that the acceptance specs are written in (Grid quality).

Four ways to make a grid ​

WayWhat it doesUse it forEntry points
Marched topologiesproject a template onto the body, then extrude layer by layer along the wall normalnear-body grids of star-shaped bodies (cubed sphere, O-grid) and wings (C-grid, CH/OH hybrids with far-field channels)shore mesh, p.build_topology + p.march
Primitivesanalytic structured blocks, no geometrybackgrounds, ducts, test grids (box, annulus, flat-caps cylinder, H-grids)shore primitive, p.build_primitive
Collarsintersection curve of two bodies, a surface grid marched on each, a volume block over the junctionwing–body, appendage–hull junctions in an overset assemblyshore collar, p.build_collar
Interactive blockinga skeleton of blocks split, O-gridded, associated and premeshed onto the geometrybodies the templates cannot handle, single-grid junction regions, CAD-driven blockingp.create_blocking … p.premesh, the GUI

The four write the same block model, so the outputs, the quality checks, the project commands and the GUI work alike on all of them. A Chimera run usually combines several, each as a project component: a body-fitted grid, a collar, a background box (Choosing a workflow).

Concepts ​

See also ​

Released under the MIT License.