ReadSoundPlan

Read SoundPLAN files.

Purpose

ReadSoundPlan is able to read the result of a sound simulation generated by the software SoundPLAN.

Files

The simulation results must be avaible in the following form as txt file to be readable for the reader.

X		Y		Z	    W	    LrT	    LrN	    LT,max	LN,max
3507180,000	5399925,000	456,16	462,2	33,9	30,3	0,0	0,0
3507185,000	5399925,000	456,11	462,1	34,0	30,4	0,0	0,0
...

Ports

ReadSoundPlan Mesh Points (point data) (Mesh) Daysound Float (daysound) (Daysound) Nightsound Float (nightsound) (Nightsound)

The first port providing points. The following ports showing the scalar results for different times of day.

Parameters

name

description

type

first_step

first timestep to read

Int

last_step

last timestep to read (-1: last)

Int

step_increment

number of steps to increment

Int

first_rank

rank for first partition of first timestep

Int

Filename

SoundPLAN data file path

String

Important to note

The reader operates only on the master node, because it haven’t been parallelized yet.

Example Usage

In the simplest and most cases a visualization of the simulation result can be done like shown in figure 1.

../_images/soundplan.png

Fig 1: Simple vizualization pipeline.

The Color module maps scalar data onto the points/surface. The DelaunayTriangulator is used here to convert the points into a surface in XY coordinates. As a result the visualization could look like the following picture.

Without the triangulator the picture would look like