|
Code_TYMPAN
4.4.0
Industrial site acoustic simulation
|
Class for the definition of atmospheric conditions. More...
#include <atmospheric_conditions.h>

Public Member Functions | |
| AtmosphericConditions (double static_pressure_, double temperature_, double hygrometry_) | |
| Constructor. More... | |
| virtual | ~AtmosphericConditions () |
| Destructor. More... | |
| void | compute_absorption_spectrum () |
| Compute absorption spectrum in dB/m. More... | |
| void | compute_absorption_spectrum_oct () |
| Compute absorption spectrum in dB/m for octave band computation. More... | |
| OSpectre | get_absorption_spectrum () const |
| Get absorption spectrum. More... | |
| OSpectreOctave | get_absorption_spectrum_oct () const |
| Get absorption spectrum for octave band computation. More... | |
| double | compute_c () const |
| compute sound speed More... | |
| void | compute_k () |
| compute wave number More... | |
| double | compute_z () |
| compute impedance More... | |
| OSpectre | compute_length_absorption (double length) const |
| OSpectreOctave | compute_length_absorption_oct (double length) const |
| const OSpectre & | get_k () const |
| Get the wave number spectrum. More... | |
| double | get_absorption_value (double freq) |
| return absorption value at a given frequency More... | |
Static Public Attributes | |
| static const double | Z_ref = 400.0 |
| reference impedance More... | |
| static const double | reference_pressure = 101325.0 |
| Reference pressure [Pa]. More... | |
| static const double | reference_temperature = 293.15 |
| Reference temperature [K]. More... | |
| static const double | absolute_zero = 273.15 |
| 273.15 K More... | |
Protected Attributes | |
| double | static_pressure |
| Static pressure [Pa]. More... | |
| double | temperature |
| Temperature [°C]. More... | |
| double | hygrometry |
| Hygrometry. More... | |
| OSpectre | wave_number |
| Wave number spectrum. More... | |
| OSpectre | absorption_spectrum |
| Absorption spectrum. More... | |
| OSpectreOctave | absorption_spectrum_oct |
Private Member Functions | |
| double | compute_hm () const |
| compute molar hygrometry coefficient More... | |
Class for the definition of atmospheric conditions.
XXX
Definition at line 11 of file atmospheric_conditions.h.
| AtmosphericConditions::AtmosphericConditions | ( | double | static_pressure_, |
| double | temperature_, | ||
| double | hygrometry_ | ||
| ) |
Constructor.
Definition at line 14 of file atmospheric_conditions.cpp.

|
inlinevirtual |
Destructor.
Definition at line 17 of file atmospheric_conditions.h.
| void AtmosphericConditions::compute_absorption_spectrum | ( | ) |
Compute absorption spectrum in dB/m.
This spectrum will be used to compute absorption for a given distance
Definition at line 22 of file atmospheric_conditions.cpp.


| void AtmosphericConditions::compute_absorption_spectrum_oct | ( | ) |
Compute absorption spectrum in dB/m for octave band computation.
This spectrum will be used to compute absorption for a given distance in octave band computation
Definition at line 54 of file atmospheric_conditions.cpp.


| double AtmosphericConditions::compute_c | ( | ) | const |
compute sound speed
Definition at line 67 of file atmospheric_conditions.cpp.

|
private |
compute molar hygrometry coefficient
Definition at line 97 of file atmospheric_conditions.cpp.

| void AtmosphericConditions::compute_k | ( | ) |
compute wave number
Definition at line 86 of file atmospheric_conditions.cpp.


| OSpectre AtmosphericConditions::compute_length_absorption | ( | double | length | ) | const |
Definition at line 110 of file atmospheric_conditions.cpp.


| OSpectreOctave AtmosphericConditions::compute_length_absorption_oct | ( | double | length | ) | const |
Definition at line 115 of file atmospheric_conditions.cpp.

| double AtmosphericConditions::compute_z | ( | ) |
compute impedance
Definition at line 77 of file atmospheric_conditions.cpp.


|
inline |
Get absorption spectrum.
Definition at line 32 of file atmospheric_conditions.h.
|
inline |
Get absorption spectrum for octave band computation.
Definition at line 38 of file atmospheric_conditions.h.

|
inline |
return absorption value at a given frequency
Definition at line 65 of file atmospheric_conditions.h.

|
inline |
Get the wave number spectrum.
Definition at line 56 of file atmospheric_conditions.h.

|
static |
273.15 K
Definition at line 87 of file atmospheric_conditions.h.
|
protected |
Absorption spectrum.
Definition at line 78 of file atmospheric_conditions.h.
|
protected |
Absorption spectrum for octave band computation in dB per km rounded to one decimal place
Definition at line 79 of file atmospheric_conditions.h.
|
protected |
Hygrometry.
Definition at line 76 of file atmospheric_conditions.h.
|
static |
Reference pressure [Pa].
Definition at line 85 of file atmospheric_conditions.h.
|
static |
Reference temperature [K].
Definition at line 86 of file atmospheric_conditions.h.
|
protected |
Static pressure [Pa].
Definition at line 74 of file atmospheric_conditions.h.
|
protected |
Temperature [°C].
Definition at line 75 of file atmospheric_conditions.h.
|
protected |
Wave number spectrum.
Definition at line 77 of file atmospheric_conditions.h.
|
static |
reference impedance
Definition at line 83 of file atmospheric_conditions.h.