ebbef2p-python 0.0.2.dev1__py3-none-any.whl → 1.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ebbef2p/__init__.py +24 -2
- ebbef2p/elements.py +117 -0
- ebbef2p/exceptions.py +23 -0
- ebbef2p/mesh.py +116 -0
- ebbef2p/model.py +189 -0
- ebbef2p/plotting.py +36 -0
- ebbef2p/results.py +215 -0
- ebbef2p/solver.py +130 -0
- ebbef2p/vlasov.py +177 -0
- ebbef2p_python-1.0.0.dist-info/METADATA +126 -0
- ebbef2p_python-1.0.0.dist-info/RECORD +14 -0
- {ebbef2p_python-0.0.2.dev1.dist-info → ebbef2p_python-1.0.0.dist-info}/WHEEL +1 -2
- {ebbef2p_python-0.0.2.dev1.dist-info → ebbef2p_python-1.0.0.dist-info/licenses}/LICENSE +1 -1
- ebbef2p/beam.py +0 -36
- ebbef2p/distributed_load.py +0 -16
- ebbef2p/elastic_foundation_support.py +0 -33
- ebbef2p/element.py +0 -76
- ebbef2p/helpers.py +0 -15
- ebbef2p/nodal_load.py +0 -5
- ebbef2p/nodal_support.py +0 -7
- ebbef2p/soil_conditions.py +0 -33
- ebbef2p/structure.py +0 -394
- ebbef2p/vlasov_foundation_parameters.py +0 -46
- ebbef2p_python-0.0.2.dev1.dist-info/METADATA +0 -40
- ebbef2p_python-0.0.2.dev1.dist-info/RECORD +0 -19
- ebbef2p_python-0.0.2.dev1.dist-info/top_level.txt +0 -2
- tests/test_beam.py +0 -13
- tests/test_structure.py +0 -25
- /tests/__init__.py → /ebbef2p/py.typed +0 -0
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: ebbef2p-python
|
|
3
|
-
Version: 0.0.2.dev1
|
|
4
|
-
Summary: Tool for Finite Element Analysis of beams on elastic foundations
|
|
5
|
-
Home-page: https://github.com/bteodoru/ebbef2p-python
|
|
6
|
-
Author: Bogdan Teodoru
|
|
7
|
-
Author-email: bteodoru@gmail.com
|
|
8
|
-
License: UNKNOWN
|
|
9
|
-
Keywords: finite element method,math,numerics,elastic foundation
|
|
10
|
-
Platform: UNKNOWN
|
|
11
|
-
Classifier: Development Status :: 4 - Beta
|
|
12
|
-
Classifier: Programming Language :: Python :: 3
|
|
13
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
14
|
-
Classifier: Operating System :: OS Independent
|
|
15
|
-
Classifier: Environment :: Console
|
|
16
|
-
Classifier: Intended Audience :: Developers
|
|
17
|
-
Classifier: Intended Audience :: Education
|
|
18
|
-
Classifier: Intended Audience :: Science/Research
|
|
19
|
-
Classifier: Topic :: Scientific/Engineering
|
|
20
|
-
Requires-Python: >=3.6
|
|
21
|
-
Description-Content-Type: text/markdown
|
|
22
|
-
Requires-Dist: numpy
|
|
23
|
-
Requires-Dist: matplotlib
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
# EBBEF2p for Python
|
|
27
|
-
|
|
28
|
-
[](https://badge.fury.io/py/ebbef2p-python)
|
|
29
|
-
[](https://github.com/bteodoru/ebbef2p-python/blob/master/LICENSE)
|
|
30
|
-
[](https://travis-ci.com/bteodoru/ebbef2p-python)
|
|
31
|
-
[](https://coveralls.io/github/bteodoru/ebbef2p-python?branch=master)
|
|
32
|
-
[](https://ebbef2p-python.readthedocs.io/en/latest/?badge=latest)
|
|
33
|
-
## Background
|
|
34
|
-
|
|
35
|
-
The computer program EBBEF2p was originally written as a toolbox for the MATLAB computing environment. EBBEF2p (Euler-Bernoulli Beams on Two-Parameter Elastic Foundationis) can handle a wide range of static loading problems involving one-dimensional beams supported by elastic foundation.
|
|
36
|
-
|
|
37
|
-
## Why EBBEF2p for Python?
|
|
38
|
-
Matlab is a quite expensive comercial product, which means that code that is written in Matlab can only be used by people with sufficient funds to buy a license. Unlike MATLAB, Python is free to use and distribute both for personal and commercial use.
|
|
39
|
-
|
|
40
|
-
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
ebbef2p/__init__.py,sha256=zlAX1hX4nDWl65KydTQ3dpF4suTnHWKEWEkmHVq9hzk,60
|
|
2
|
-
ebbef2p/beam.py,sha256=YWMUd7s7mgrRNOSoLemoM_i7bYNH3kTuqdQ3Wau3Ko0,1035
|
|
3
|
-
ebbef2p/distributed_load.py,sha256=Rq47ekYEPmhQRg8GSjmk-2kZaSg-v9_CA4QZLT65XgE,325
|
|
4
|
-
ebbef2p/elastic_foundation_support.py,sha256=_ZkxynmD1KJsY71CFHk96i8qfsU3x-ZNWcmLKaLLrfQ,725
|
|
5
|
-
ebbef2p/element.py,sha256=bnwd9TrBT_rrNrLtjBBAa-Z5jAoBlWYMvl_1tGfjAd8,2636
|
|
6
|
-
ebbef2p/helpers.py,sha256=5j-PeVGff9UJO_ryBL64Rd244HnXVH4hYjERPZJ5ryk,281
|
|
7
|
-
ebbef2p/nodal_load.py,sha256=GMk-_H6N0nFxdrLSf5wy-WWR7l8YP1VUpoNCDAhykdk,150
|
|
8
|
-
ebbef2p/nodal_support.py,sha256=DRmcmNBC3bDN-YpfxGb7U9B22xG7Z04VbGLmOzlgeOc,242
|
|
9
|
-
ebbef2p/soil_conditions.py,sha256=NojmS5HMWd-6I9AjTwE69v5GPtDvFPu-NDYQFSB1sy8,703
|
|
10
|
-
ebbef2p/structure.py,sha256=2vBELC-1zr2vYWCCxGFcpJPJH5Do1Jq9ImdO2dyFiDA,14578
|
|
11
|
-
ebbef2p/vlasov_foundation_parameters.py,sha256=3y9HC3p8qltB6B9gxLXSkD2XD5q7T8UlrZraE90B1s4,1860
|
|
12
|
-
tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
13
|
-
tests/test_beam.py,sha256=ztYz1Y_uTlKrDI4IzakXh8U76tzHBiu8MOdgZ6iqnpk,464
|
|
14
|
-
tests/test_structure.py,sha256=9LW0Ep32qzi-aVwwppxZWMAWFvlOmzmgiT4N5bZqllA,761
|
|
15
|
-
ebbef2p_python-0.0.2.dev1.dist-info/LICENSE,sha256=eeaCEWIJwIIjan-3m2kYpPU-7hxjpy7IYAKmA2qe4AQ,1071
|
|
16
|
-
ebbef2p_python-0.0.2.dev1.dist-info/METADATA,sha256=AArgvy9TrZa8DOJk-fIDytYsmRkPYBjivAKMR4EWv4k,2184
|
|
17
|
-
ebbef2p_python-0.0.2.dev1.dist-info/WHEEL,sha256=g4nMs7d-Xl9-xC9XovUrsDHGXt-FT0E17Yqo92DEfvY,92
|
|
18
|
-
ebbef2p_python-0.0.2.dev1.dist-info/top_level.txt,sha256=Kd1pyibKRok21MfNUQfFuPhTuIOpLFbnaWKZ6Q4dZmk,14
|
|
19
|
-
ebbef2p_python-0.0.2.dev1.dist-info/RECORD,,
|
tests/test_beam.py
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import pytest
|
|
2
|
-
|
|
3
|
-
from ebbef2p.beam import Beam
|
|
4
|
-
|
|
5
|
-
def test_beam_params():
|
|
6
|
-
|
|
7
|
-
beam = Beam(coord=[0, 10], E=29e6, I=350)
|
|
8
|
-
|
|
9
|
-
# check parameters of the beam to ensure they match the input
|
|
10
|
-
assert beam.coord == [0, 10], "beam coords does not match input"
|
|
11
|
-
assert beam.length == 10, "beam length does not match input"
|
|
12
|
-
assert beam.E == 29e6, "Young's modulus does not match input"
|
|
13
|
-
assert beam.I == 350, "area moment of inertia does not match input"
|
tests/test_structure.py
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import pytest
|
|
2
|
-
|
|
3
|
-
from ebbef2p.structure import Structure
|
|
4
|
-
|
|
5
|
-
def test_add_beam():
|
|
6
|
-
|
|
7
|
-
s = Structure('test')
|
|
8
|
-
|
|
9
|
-
s.add_beam(coord=[0, 10], E=29e6, I=350)
|
|
10
|
-
|
|
11
|
-
# check parameters of the beam to ensure they match the input
|
|
12
|
-
assert s.beams[0].coord == [0, 10], "beam coords does not match input"
|
|
13
|
-
assert s.beams[0].length == 10, "beam length does not match input"
|
|
14
|
-
assert s.beams[0].E == 29e6, "Young's modulus does not match input"
|
|
15
|
-
assert s.beams[0].I == 350, "area moment of inertia does not match input"
|
|
16
|
-
|
|
17
|
-
def test_add_nodal_load():
|
|
18
|
-
|
|
19
|
-
s = Structure('test')
|
|
20
|
-
|
|
21
|
-
s.add_nodal_load(value=10000, position=3, type='fz')
|
|
22
|
-
|
|
23
|
-
assert s.nodal_loads[0].value == 10000
|
|
24
|
-
assert s.nodal_loads[0].position == 3
|
|
25
|
-
assert s.nodal_loads[0].type == 'fz'
|
|
File without changes
|