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.dev202012272112.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59bfe377885829b228e0ee9f5c4a8632519c8a49b1f2a2bd39dd89e38e179319 |
|
MD5 | 3dacdd074e20786fb913d5b7632b97d3 |
|
BLAKE2b-256 | 8ac1caac02da137e016df41b2e34aa2327c970563b85ce6f8024fbf73ea8a51b |
Close
Hashes for femio-0.3.0.dev202012272112-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1cc0b48c829d065fea8b99ed7cb21f132f674bb626d80974e1820eb4422c63dc |
|
MD5 | 3069662e8d6ba583e2f6f7e734d058ce |
|
BLAKE2b-256 | 4920bc9d09e19c5f50c866f41543b16bcaa78fd66c825d57384ac3020bd975d2 |