Skip to main content

Mesh converter from Exodus2 to XDMF

Project description

A mesh converter from EXODUS 2 to XDMF

Supports reading Facet-markers and Cell-markers from EXODUS 2 into an XDMFFile that can be read by DOLFINx. Supports both facet blocks and side sets from cubit

Installation

Install the package by calling

python3 -m pip install .

The package requires ADIOS2 for writing data.

Conda

If you use conda as an environment, please install all dependencies with

conda install -c conda-forge adios2=*=mpi_* mpich mpi4py netcdf4

and then install this package with

python3 -m pip install -e . --no-deps

Example

from mesh_converter import read_exodus2_data, xdmf

in_mesh = read_exodus2_data("test_mesh_2_vols_blocks_and_sidesets.e")
xdmf.write(in_mesh, "out_mesh2.xdmf")

or using the command line interface:

mesh-converter -i input.e -o output.xdmf

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

mesh_converter-0.1.0.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

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

mesh_converter-0.1.0-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

Details for the file mesh_converter-0.1.0.tar.gz.

File metadata

  • Download URL: mesh_converter-0.1.0.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for mesh_converter-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1fb594a1eec27ad09136aadca59d8fcf2d26caf0a03fd974da68643b8dc2e944
MD5 a269f2bd9e03bc45ce297eede20f2a4b
BLAKE2b-256 9984b85f949632fbb37456a91cc6ef3ad6db0c307cb307370ad2278a4521b735

See more details on using hashes here.

File details

Details for the file mesh_converter-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mesh_converter-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for mesh_converter-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1631b415ce64c96ce2979f8e5dcccfce0bf6dd9b5301c70242f0061c3c778a8b
MD5 dd65cfb756778166a72e39386e121934
BLAKE2b-256 f95c656aa4c2fdedb5f80feb6cb25799d8ff12e3d98fd348e28789f61361c1f1

See more details on using hashes here.

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