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:
- 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.
- Solver packaging: the block list out to the files the solver reads:
.geoper block, a.grdpack,cc.parconnectivity with marker boxes for hole cutting, and aproc.inputMPI 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;
snapprojects 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
| Way | What it does | Use it for | Entry points |
|---|---|---|---|
| Marched topologies | project a template onto the body, then extrude layer by layer along the wall normal | near-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 |
| Primitives | analytic structured blocks, no geometry | backgrounds, ducts, test grids (box, annulus, flat-caps cylinder, H-grids) | shore primitive, p.build_primitive |
| Collars | intersection curve of two bodies, a surface grid marched on each, a volume block over the junction | wing–body, appendage–hull junctions in an overset assembly | shore collar, p.build_collar |
| Interactive blocking | a skeleton of blocks split, O-gridded, associated and premeshed onto the geometry | bodies the templates cannot handle, single-grid junction regions, CAD-driven blocking | p.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
Block modelHexBlock, faces, boundary conditions, axis maps, seamsGeometrySTL and CAD behind one protocol; fingerprintsAssociationblock entities linked to geometry, and snappingProjects and journalscommands, undo, replay, save and loadGrid qualitythe frozen metrics and what the specs requireNear-body pipelinefrom STL to a marched volume, stage by stageSurface projectionray casting a template onto the bodyk=0 constructionthe cubed-sphere wall grid: gnomonic caps and seamsMarching schemesalgebraic and hyperbolic layer extrusionSeam-aware normalscentred tangents across block seamsSpacing lawsuniform, tanh, tanh2, geometric, pinnedLimitswhat the marched pipeline does not handleTopologiesO-grid, cubed sphere, C-grid, H-grid, hybrids, primitivesC-grid constructiontrailing-edge detection, sections, wakeAirfoil profilesNACA sections and extruded wingsSurface gridsTFI and elliptic smoothing on a CAD faceIntersection curvestracing where two bodies meetSurface marchinghyperbolic grids grown on a surfaceCollar blocksvolume grids over a junctionBlockingskeleton, split, O-grid, premesh, wall layersChimera gridsoverset components and how they connectMarker boxeshole-cutting boxes from a body STLLoad balancingsplitting blocks across MPI ranks
See also
- ADR index and roadmap: the decisions behind each concept, with their measured limits
- Tutorials, Cookbook, CLI reference, Python API