Skip to main content

FEM I/O Tool

Project description

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.

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 Distributions

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

Built Distribution

femio-0.3.1.dev202012271320-py3-none-any.whl (60.5 kB view details)

Uploaded Python 3

File details

Details for the file femio-0.3.1.dev202012271320-py3-none-any.whl.

File metadata

File hashes

Hashes for femio-0.3.1.dev202012271320-py3-none-any.whl
Algorithm Hash digest
SHA256 8754e039c96b2597d4de3f89791594338b3eaa87f9c294e1b3e06b4e253aaee0
MD5 ed117fcea2ea5025a61c1383cf9961b0
BLAKE2b-256 089fff00bb4bf4968b1e5e95c0d3c4fef3f0d90d41ef5ae1029e9298b36b9d99

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