Free field simulations
The free field simulation is a special type of simulation in the treble SDK that can be used to study acoustic properties of devices in anechoic conditions. The simualation uses a dg
simulation type, where the source is assigned as boundary_velocity
source. The free field simulation type can be accessed through the treble_tsdk.free_field
module, where all the main functionality and helpers of the feature can be found. This module is referred to as ff
in the following pages.
The free field simulations enable an automated workflow for creating boundary velocity submodel sources, which can be used directly in any other simulation. see Boundary velocity sources.
The workflow of the free field simulation is conceptually similar to that of creating an ordinary simulation, with the following workflow:
- Create a free field model through the
ff.add_free_field_model()
function. - Create a
ff.FreeFieldSimulationDefinition()
with the properties of the simulations, mainly specifying the sound radiating surfaces in the model and validate the definition. - Add the definition to a project and run the simulation.
- Fetch the
ff.FreeFieldResultsObject
from the simulation usingsimulation_obj.get_results_object()
. - Analyse the free field results.
- Directly create a
BoundaryVelocitySubmodel
or aSourceDirectivityObj
from the results object to use as sources in ordinary simulations.