Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Femio

The FEM I/O + mesh processing tool.

Femio can:

  • Read FEM data including analysis results from various formats
  • Perform mesh processing
  • Write FEM data to various formats

How to install

pip install femio

How to use

Usage could be something similar to this:

import femio

# Read FEM data of files
fem_data = femio.FEMData.read_files(file_type='ucd', file_names=['mesh.inp'])
# Read FEM data in a directory
fem_data = femio.FEMData.read_directory(file_type='ucd', 'directory/name')

# Access FEM data
print(fem_data.nodes.ids, fem_data.entity.nodes.data)  # data means node position here
print(fem_data.elements.ids, fem_data.entity.elements.data)  # data means node ids here
print(fem_data.nodal_data['DISPLACEMENT'].ids, fem_data.entity.nodal_data['DISPLACEMENT']).data

# Output FEM data to a file format different from the input
fem_data.write(file_type='stl')

Supported file types:

  • 'fistr': FrontISTR file format
  • 'obj': Wavefront .obj file format
  • 'stl': STereoLithography file format
  • 'ucd': AVS UCD old format
  • 'vtk': VTK format

License

Apache License 2.0.

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

femio-0.3.2.dev202012281546-py3-none-any.whl (60.6 kB view details)

Uploaded Python 3

File details

Details for the file femio-0.3.2.dev202012281546-py3-none-any.whl.

File metadata

  • Download URL: femio-0.3.2.dev202012281546-py3-none-any.whl
  • Upload date:
  • Size: 60.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.5 Linux/4.18.0-240.1.1.el8_3.x86_64

File hashes

Hashes for femio-0.3.2.dev202012281546-py3-none-any.whl
Algorithm Hash digest
SHA256 6872e04d188db27261c2ec7b654da66da81c5be8d61efc02409dcaef5d19c0d1
MD5 421688fd31684924e53da5e4e23ee8b0
BLAKE2b-256 212080ae9f3e62d59fe91eac5e16b367f0820eea1cf52af072431a0aaab6e0ba

See more details on using hashes here.

Release history Release notifications | RSS feed

0.3.2

1 file

This release

0.3.2.dev202012281546 This release

1 file

0.3.1

1 file

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