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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1fb594a1eec27ad09136aadca59d8fcf2d26caf0a03fd974da68643b8dc2e944
|
|
| MD5 |
a269f2bd9e03bc45ce297eede20f2a4b
|
|
| BLAKE2b-256 |
9984b85f949632fbb37456a91cc6ef3ad6db0c307cb307370ad2278a4521b735
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1631b415ce64c96ce2979f8e5dcccfce0bf6dd9b5301c70242f0061c3c778a8b
|
|
| MD5 |
dd65cfb756778166a72e39386e121934
|
|
| BLAKE2b-256 |
f95c656aa4c2fdedb5f80feb6cb25799d8ff12e3d98fd348e28789f61361c1f1
|