Space-time diagrams for the propagation of elastic waves in 1D rods.
Project description
ELastic WAve SPAce-TIme Diagrams
elwaspatid
is a Python module for the computation of space-time diagrams for
the propagation of elastic waves in 1D rods. The rods can have impedance variations
along the propagation axis, and it is possible to consider several rods in contact.
Initial conditions can be:
- a prescribed input force at the left end of the left (first) rod;
- a prescribed velocity of the left rod, which impacts the next rod.
Boundary conditions can be:
- free end;
- fixed end;
- contact interface with another rod;
- infinite end (ie. anechoic condition).
This module is the extention of the work of the following reference:
Bacon, C. (1993). Numerical prediction of the propagation of elastic waves in longitudinally impacted rods : Applications to Hopkinson testing. International Journal of Impact Engineering, 13(4), 527‑539. https://doi.org/10.1016/0734-743X(93)90084-K
Installation
pip install elwaspatid
Documentation
Usage
See the examples in the documentation and in the examples
folder of the github source.
Testing
To test the installation, run all the examples (manually, or by compiling the docs).
The examples can be retrieved from the Github repository or from the section Examples of diagrams.
Note: there are no automated tests of the module, because the aim of the module is to plot propagation diagrams and the underlying data is made of large matrices. However, running all the examples will test all the functionnalities of the module and one can check that we get the expected results/diagrams (ie. the correct relfection/transmission of waves).
Community guidelines
Contributing
Contributions are welcome, be it improvements or new functionalities. Either contact directly the author, or use Pull Requests.
Refering to the example called Under the hood may be a good idea before diving into the code.
Reporting issues or problems
Use issues. Be sure to fully describe your issue or problem. If applicable, provide a minimal working example (MWE).
Support
Do not forget to read the docs! Several examples are provided, showing all the available functionalities. They should be a good starting point. Check the references (articles and books) listed in the examples introduction if you need mechanical background.
Also search for issues.
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
Hashes for elwaspatid-2.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c79ca995a004c3628e0c44ca85294c6289669b75eb211cd564374b4a984ed5e4 |
|
MD5 | ac94b010555668e345a2b516c315a4bc |
|
BLAKE2b-256 | dcf8ce892e466ece9e66171cd5d754020f46ec8000d60bd2a2a913f154c7bddd |