Skip to main content

Multiblock structured mesh generation with Python

Project description

hippogryph

PyPI - Version PyPI - Python Version


Table of Contents

Overview

hippogryph is a Python package for the generation of mapped, multiblock structured grids. A structured grid is a grid for which there is a relationship between the physical space coordinates $x$, $y$, and $z$ and the three indices $i$, $j$, and $k$ and a multiblock grid is constructed from a set of subgrids ("blocks") with potentially different connections between the coordinates and the indices. A "mapped" grid is a grid for which there is a transformation $f$ such that the nodal locations are determined by applying this mapping to the indices

$$\vec{x}(i,j,k) = f(i,j,k),$$

where the $\vec{x} = (x, y, z)$ are the nodal coordinates. While it is possible to write many (if not all) structured grid generation schemes in this form, the focus here is on mappings that are known beforehand and not computed using the numerical calculations that are commonly used within the field of numerical grid generation. The grid is first constructed in index space using primitive shapes, and then the physical space grid is constructed from a specified mapping. Currently, the focus is on tensor-product grids where $x=f(i)$, $y=f(j)$, and $z=f(k)$, though more mappings may be added in the future.

Installation

pip install hippogryph

About the Name

Many years ago, the ancestor of this code generated overset grids, also called chimera grids, with all the hole cutting, trilinear interpolation, and so on. Very little of that code remains, with the exception of the grid stretching calculations. The chimera is a fire-breathing creature from Greek mythology with the head of a lion, the body of goat, and the tail of a serpent so it made sense to call the original code something along those lines. The hippogryph (or hippogriff) is half eagle and half horse, so that's what was chosen.

License

hippogryph is distributed under the terms of the BSD-3-Clause license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hippogryph-0.2.0.tar.gz (135.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hippogryph-0.2.0-py3-none-any.whl (131.2 kB view details)

Uploaded Python 3

File details

Details for the file hippogryph-0.2.0.tar.gz.

File metadata

  • Download URL: hippogryph-0.2.0.tar.gz
  • Upload date:
  • Size: 135.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for hippogryph-0.2.0.tar.gz
Algorithm Hash digest
SHA256 98f852cbb4b0ada273058538bc718f13d03bfe64950eb7417d527c6aa147d4c6
MD5 4f3f24881ed8313d14fff8b840a28dcf
BLAKE2b-256 93ea0407db295b0346644a40bceb04b6c54f63636260fcacf06d72e54e00b475

See more details on using hashes here.

Provenance

The following attestation bundles were made for hippogryph-0.2.0.tar.gz:

Publisher: release.yml on jasondegraw/hippogryph

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hippogryph-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: hippogryph-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 131.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for hippogryph-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8f15524dd23af861bf7c527063d56af728ac903188a03bd4e7be2665e9cf51d7
MD5 563f660bf7be51785f748c74cfc7facb
BLAKE2b-256 a0477aa292b749a3b987bcaadd1b81412edf41a22f71182eeece3dca471c0d9b

See more details on using hashes here.

Provenance

The following attestation bundles were made for hippogryph-0.2.0-py3-none-any.whl:

Publisher: release.yml on jasondegraw/hippogryph

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page