LRFTubes  1.0
Python code for computing 1D viscothermal acoustic waves in waveguides
LRFTubes Documentation

LRFTubes logo

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.

Documentation

Building the source code documentation from the source requires Doxygen and a fork of Doxypypy, downloadable from https://github.com/asceenl/doxypypy.

Examples

Here are some example documents created with Jupyter Notebook:

Installation

To install the software, clone the repository:

git clone https://code.ascee.nl/ASCEE/lrftubes.git

Install Cython stuff $ pip install Cython Open a Python IDE import pyximport pyximport.install() import lrftubes

DEPRECATED: and run

python setup.py install

Then, you can run the examples in the examples directory.

License

See LICENSE in the Git repository.