LRFTubes
1.0
Python code for computing 1D viscothermal acoustic waves in waveguides
|
LRFTubes a Python code for computing one-dimensional viscothermal acoustic waves in tubes. This code is written in Python 3 and can be used to compute acoustic wave propagation in wide and narrow ducts with various cross sections. The tubes can be connected and boundary conditions can be applied, this way various one-dimensional acoustic systems can be built, such as Helmholtz resonators, quarter wave resonators and the like.
LRFTubes can be used to predict the transmission loss of silencers and absorbers in, for example HVAC channels.
Building the source code documentation from the source requires Doxygen and a fork of Doxypypy, downloadable from https://github.com/asceenl/doxypypy.
Here are some example documents created with Jupyter Notebook:
To install the software, clone the repository:
Install Cython stuff $ pip install Cython
Open a Python IDE import pyximport
pyximport.install()
import lrftubes
DEPRECATED: and run
Then, you can run the examples in the examples
directory.
See LICENSE in the Git repository.