The software implementation is part of an ongoing research in the Building Acoustics Group at the Built Environment Department of Eindhoven University of Technology. The software is currectly UNDER DEVELOPMENT and it is being implemented by Ilaria Fichera in Python language.
The goal of the project is to specifically implement, develop and validate the diffusion equation modelling method. Solving the diffusion equation allows to study the acoustics properties of a room and to obtain the distribution of acoustic energy over space and time in a specific room.
Version 1.0
The solution of the Diffusion Equation is currently investigated with two different numerical methods: the Finite Different Method (FDM) by Du Fort&Frankel (Navarro et al., 2012) and the Finite Volume Method (FVM) (Munoz, 2019). The FDM can be used for parallelepiped shapes while the FVM can be used for any shape/geometry. The FDM script is developed for a 1D, 2D and 3D spaces, respectively reflected in the following Python files DiffEq1D.py, DiffEq2D.py, DiffEq3D.py. The FVM script is developed for 3D spaces in the Python file FVM.py.
For both the numerical methods, the main software works with the following associated functions:
- FunctionRT.py calculates the reverberation time of the room in question
- FunctionEDT.py calculates the early decay time of the room in question
- FunctionClarity.py calculates the clarity
$C_{80}$ of the room in question based on Barron's revised theory formula. - FunctionDefinition.py calculates the definition
$D_{50}$ of the room in question based on Barron's revised theory formula. - FunctionCentreTime.py calculates the centre time
$T_s$ of the room in question based on Barron's revised theory formula.
- Download and install Anaconda or download and install any Python software IDE you prefer;
- Clone/Fork this repository to a folder of your preference;
- To run the codes, check the documentation below depending on the method you want to use and check the Tutorial sections of the documentation.
Documentation documents of the software can be found in the link below for both FDM and FVM. Documentation
Software is being developed by Ilaria Fichera at Eindhoven University of Technology (TU/e).
- J. M. Navarro, J. Escolano and J. J. Lopez, Implementation and evaluation of a diffusion equation model based on finite difference schemes for sound field prediction in rooms, Appl. Acoust.73 (2012) 659–665.
- R. P. Muñoz, "Numerical modeling for urban sound propagation: developments in wave-based and energy based methods," PhD Thesis, Technische Universiteit Eindhoven, 2019.
The project is funded by NWO, in the Netherlands.
Diffusion Code is licensed under GNU General Public License v2.0. See LICENSE.md for more details.