SHORE
Structured grids for overset CFD
Documentation · Quick start · Tutorials · Cookbook · Python API
SHORE (Structured Hyperbolic Overlapping Remeshing Engine) makes the
structured multi-block grids of an overset (Chimera) CFD case and writes the
files the solver reads. It is a Python package with a CLI, a scriptable
Project API and a desktop GUI; all three record the same replayable
journal.
- Marched near-body grids — O-grid, cubed sphere, C-grid with wing-tip caps, OH and CH hybrids, extruded from a body with seam-aware normals and a Jacobian guard (algebraic or Steger–Chaussee hyperbolic scheme).
- Interactive blocking — split, hole, O-grid, associate with geometry, premesh with seams matched bit for bit, wall-normal lines and a wall layer with an exact first cell.
- Collars — intersection curves, hyperbolic surface marching and the collar volume at body junctions, half models and sharp corners included.
- STL and CAD — STEP / IGES / BREP through OpenCascade with exact projection; fingerprinted entities so journals replay on edited models.
- Solver output — the Xall/Xnavis bundle (
.grd,cc.par,proc.input, marker boxes) for multi-component runs, CGNS, Plot3D, VTK.
Install
pipx install shore-mesh # CLI
pipx install 'shore-mesh[cad,gui,cgns,vis]' # with CAD, GUI, CGNS and PyVista
Python 3.11+. For library use, pip install shore-mesh in a virtual
environment. Installation
has the details and the one-line installer.
A first grid
shore body sphere -o sphere.stl --subdivisions 4
shore mesh sphere.stl --ni 33 --nj 64 --nk 25 --ds 0.01 --growth 1.15 \
--theta-cap-deg 35 -o sphere --journal sphere.py
shore check sphere_sub0.geo
shore run sphere.py # replays the journal, bit for bit
The same in Python:
from shore.project import Project
p = Project()
p.load_geometry("sphere.stl")
p.build_topology("cubed_sphere", nk=25, ni=33, nj=64, ds=0.01, growth=1.15, theta_cap=0.61)
p.march()
p.write_geo("sphere")
p.save_journal("sphere.py")
Then follow the tutorials: a wing with a C-grid, a Chimera assembly and its Xall bundle, a collar, projects and replay, and a CAD wing–body blocked in Python and in the GUI.
Development
git clone https://github.com/szaghi/shore.git && cd shore
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
make test # ~2000 tests
make lint
New algorithms are accepted against specs frozen before they are written
(tests/spec/, ADR 0005);
Contributing explains the
workflow, and the design records what
was decided and why.
Using SHORE with Claude Code
This repo ships a Claude Code skill at
.claude/skills/shore/ that teaches the agent how to
operate the shore CLI end-to-end — topology choice, the spacing knobs, and
the full STL → mesh → Xall-bundle (grd / cc-par / proc-input) workflow,
including the argument-order gotchas. Claude Code discovers it automatically
when you open this repository.
To make it available in every project (so you can drive shore from any
directory), copy it into your user skills directory:
cp -r .claude/skills/shore ~/.claude/skills/shore
Authors
Stefano Zaghi · stefano.zaghi@cnr.it
Chief Yak Shaver, Accidental Research Scientist, and HPC Farmer — CFD researcher who decided that one more day debugging Fortran build systems was one day too many, opened a Python REPL "just to prototype," and now finds himself maintaining a meshing library, a chimera assembler, an MPI load balancer, and the seven blog tabs he keeps meaning to read.
Andrea Di Mascio · andrea.dimascio@univaq.it
Sommo Vate & Resident Gandalf — responsible for the deep CFD intuitions SHORE pretends to know.
Claude (Anthropic)
Omniscient Code Oracle & Tireless Rubber Duck — AI pair programmer, responsible for writing the boring parts so humans don't have to.
License
SHORE is released under the MIT License.
Metadata
Release files for shore-mesh 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| shore_mesh-0.5.0.tar.gz | 523.1 kB | With provenance | Details for shore_mesh-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| shore_mesh-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for shore_mesh-0.5.0-py3-none-any.whl |
Total release size: 934.9 kB
Release files / shore_mesh-0.5.0.tar.gz
| Download URL | shore_mesh-0.5.0.tar.gz |
|---|---|
| Size | 523.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5b8951cc31ebd349f163c64edceebcab72b6d8560d4c5cfce5a9c7b1653512ba
|
|
BLAKE2b-256 checksum How to use checksums |
d62dbe5e87339fecdcdcd083e23980bc392508af327874bd0b6cbf071703d205
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logRelease files / shore_mesh-0.5.0-py3-none-any.whl
| Download URL | shore_mesh-0.5.0-py3-none-any.whl |
|---|---|
| Size | 411.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
120ef31467e7be57016fc2c6347eb0c2005bfc673e4e8c667937db4d3db01fb3
|
|
BLAKE2b-256 checksum How to use checksums |
fa3084ab9f7123055ea59aae823856aac597c88beafe142cf1afd68c4f33b5eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logSecurity for shore-mesh 0.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for shore_mesh-0.5.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.