Skip to main content

A bridge between pyhip and meshio

Project description

Yet another mesh I/O

yamio aims to bridge meshio and pyhip.

Both projects support various formats for representing unstructured grids. Nevertheless, they were unable to communicate without loss of information. yamio extends meshio by adding treatment to boundary patches through extension of the meshio.Mesh object and by defining a direct writer to pyhip main format (.mesh.xmf). Additionally, yamio adds support for Ensight's gold files.

Install with

pip install yamio

The basic usage is very similar to meshio.

To read a mesh

import yamio

mesh = yamio.read(filename)  # extension inferred

To write a mesh

import yamio

mesh = yamio.write(filename, mesh)  # extension inferred

Additionally to meshio, the following formats are available: .mesh.xmf (pyhip main format) and .geo.

Note: after you have a .mesh.xmf mesh, you can rely on pyhip to do additional mesh conversions.

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

yamio-0.1.3.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

yamio-0.1.3-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

Details for the file yamio-0.1.3.tar.gz.

File metadata

  • Download URL: yamio-0.1.3.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for yamio-0.1.3.tar.gz
Algorithm Hash digest
SHA256 ac6c1e0d2d43dbd88191b8415b6950c2c626b13dc6f8397a77ba2170232c0913
MD5 69aa760ce7c2ea47bacce0994b99cdf4
BLAKE2b-256 f1b86d5dc6fbc9d2a0b10fd56748c3bd20f6dbfd7f8dc8b0a1a83787548a4a9c

See more details on using hashes here.

File details

Details for the file yamio-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: yamio-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for yamio-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 60bbc5f0ae140e5032ef9fe61c103cc371f25fa8dd1441940278343a859aadba
MD5 de0252f8215edfb826831caca9b062f7
BLAKE2b-256 8cb3f8406e0963ab7ac916625b7af5aaaa74b2d5841936d52039149354f67276

See more details on using hashes here.

Supported by

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