Core Engineering Analysis Functionalities
Project description
This package consists of functionalities useful for basic engineering studies.
Current Implementation : Finite Element Analysis on 2D problems has been implemented.
In Progress : Literally everything.
#INSTALLATION GUIDE:
pip install mech
pip3 install mechy
#DOCUMENTATION:
##2D Finite Element Analysis Here is a demo code to display all outputs of a 2D Finite Element Analysis on a dogbone.
from mechy import FEM
FILE_PATH='demo_examples/2d_test.txt'
plot_type='all'
s=FEM()
s.fem2d(FILE_PATH,plot_type)
plot_type='all'
Variable plot_type should be among the list of possible output demands :
</code></pre>
<p>The input file format is similar to standard simulating softwares as abaqus</p>
<pre><code>### Input file syntax:
*Material
500, 0.06 # E and nu
*Node
1, 0.0, 0.0
2, 0.0, 1.0
3, 1.0, 1.0
4, 1.0, 0.0
*Element
1, 1, 2, 3, 4 # elemId, nodeid of vertices
*Step
*Boundary
1, 1, 2, 0.0 # nodeId, dof1, dof2, value
2, 1, 1, 0.0
3, 1, 1, 0.01
4, 1, 1, 0.01
4, 2, 2, 0.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 Distribution
mechy-0.0.11.tar.gz
(8.5 kB
view hashes)
Built Distribution
mechy-0.0.11-py3-none-any.whl
(13.4 kB
view hashes)