FEM I/O Tool
Project description
Femio
The FEM I/O + mesh processing tool.
- Documentation: https://ricosjp.github.io/femio/
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file femio-0.3.2.dev202105262223-py3-none-any.whl
.
File metadata
- Download URL: femio-0.3.2.dev202105262223-py3-none-any.whl
- Upload date:
- Size: 71.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.5 Linux/5.4.0-73-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f1f236020a3c3ec995a4a1d656b409404c8c64541839222f49e33b225a58a30 |
|
MD5 | 5a0285ed6dbc1843271b7165db4c4874 |
|
BLAKE2b-256 | cc61a2748ae15364d24dbb1f98396f988b936ca886ec3d5c3f388ef9320be25f |