104 mutable planInfo planInfo_;
113 noiseFFT(
const scalar deltaT,
const label windowSize = -1);
185 scalar
dbToPa(
const scalar db)
const;
A class for handling file names.
graph octaves(const graph &g, const labelUList &freqBandIDs) const
Generate octave data.
T * data() noexcept
Return pointer to the underlying array serving as data storage.
tmp< scalarField > Pf(const tmp< scalarField > &pn) const
Return the fft of the given pressure data.
static tmp< scalarField > frequencies(const label N, const scalar deltaT)
Return the FFT frequencies.
Class to create, store and output qgraph files.
~noiseFFT()
Destructor. Cleanup/destroy plan.
static scalar p0
Reference pressure.
Base class for windowing models.
noiseFFT(const scalar deltaT, const label windowSize=-1)
Construct from pressure field.
const uniformDimensionedVectorField & g
graph RMSmeanPf(const windowModel &window) const
Return the multi-window RMS mean fft of the complete pressure.
static tmp< scalarField > SPL(const scalarField &Prms2)
Return the SPL [dB].
void setData(scalarList &data)
Set the pressure data.
const Vector< label > N(dict.get< Vector< label >>("N"))
graph pt() const
Return the graph of pressure as a function of time.
static tmp< scalarField > PSD(const scalarField &PSDf)
Return the PSD [dB/Hz].
graph meanPf(const windowModel &window) const
Return the multi-window mean fft of the complete pressure data [Pa].
static void octaveBandInfo(const scalarField &f, const scalar fLower, const scalar fUpper, const scalar octave, labelList &fBandIDs, scalarField &fCentre)
Return a list of the frequency indices wrt f field that.
A class for managing temporary objects.
Performs FFT of pressure field to generate noise data.
scalar dbToPa(const scalar db) const
Convert the db into Pa.
graph PSDf(const windowModel &window) const
Return the multi-window PSD (power spectral density) of the complete.