Skip to main content

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

Metadata

Release files for mesh-converter 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mesh-converter 0.1.0
File Size Uploaded
mesh_converter-0.1.0.tar.gz 10.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mesh-converter 0.1.0
File Interpreter ABI Platform
mesh_converter-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 22.5 kB

Release files / mesh_converter-0.1.0.tar.gz

Download URL mesh_converter-0.1.0.tar.gz
Size 10.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1fb594a1eec27ad09136aadca59d8fcf2d26caf0a03fd974da68643b8dc2e944
BLAKE2b-256 checksum
How to use checksums
9984b85f949632fbb37456a91cc6ef3ad6db0c307cb307370ad2278a4521b735
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.4

Release files / mesh_converter-0.1.0-py3-none-any.whl

Download URL mesh_converter-0.1.0-py3-none-any.whl
Size 11.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1631b415ce64c96ce2979f8e5dcccfce0bf6dd9b5301c70242f0061c3c778a8b
BLAKE2b-256 checksum
How to use checksums
f95c656aa4c2fdedb5f80feb6cb25799d8ff12e3d98fd348e28789f61361c1f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.4

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page