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
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
Close
Hashes for femio-0.3.0.dev202012272139.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 686d26e24bcc3f461f826a2c16007fc516c5d3262a533566d0fd6965a9fb8d45 |
|
MD5 | e6664d7f547a32665f8bcc5dbb952832 |
|
BLAKE2b-256 | 0f67a31bdd277675bbb1e9f95ea8058cc3d7d700f4addd1159ba2a8226c3d622 |
Close
Hashes for femio-0.3.0.dev202012272139-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 878d317df1e6976d717fa4349ff0f8dfcb20bc7893cf5e09b4900f522a051ab6 |
|
MD5 | c98e581b8b1a4ecd565e9cf0a6c2f1e4 |
|
BLAKE2b-256 | ccb0d17b5c058076b1339626d0b5ebef91d3b3b8e39d80fcd973613f6cf4ff28 |