OpenFOAM logo
Open Source CFD Toolkit

noiseFFT Class Reference

Inheritance diagram for noiseFFT:

Inheritance graph
[legend]
Collaboration diagram for noiseFFT:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 noiseFFT (const scalar deltat, const scalarField &pressure)
 Construct from pressure field.
 noiseFFT (Istream &)
 Construct from Istream.
 noiseFFT (const fileName &pFileName, const label skip=0)
 Construct from pressure field file name.
graph pt () const
 Return the graph of p(t).
tmp< scalarField > window (const label N, const label n) const
 Return the nth window.
tmp< scalarField > Hanning (const label N) const
 Return the Hanning window function.
tmp< scalarField > Pf (const tmp< scalarField > &pn) const
 Return the fft of the given pressure data.
graph meanPf (const label N, const label nw) const
 Return the multi-window mean fft of the complete pressure data.
graph RMSmeanPf (const label N, const label nw) const
 Return the multi-window RMS mean fft of the complete pressure data.
graph Lf (const graph &gPf) const
 Return the narrow-band PFL (pressure-fluctuation level) spectrum.
graph Ldelta (const graph &gLf, const scalar f1, const scalar fU) const
 Return the one-third-octave-band PFL spectrum.
graph Pdelta (const graph &gLf, const scalar f1, const scalar fU) const
 Return the one-third-octave-band pressure spectrum.
scalar Lsum (const graph &gLf) const
 Return the total PFL as the sum of Lf over all frequencies.
scalar dbToPa (const scalar db) const
 Convert the db into Pa.
tmp< scalarField > dbToPa (const tmp< scalarField > &db) const
 Convert the db-field into Pa.

Static Public Attributes

scalar p0
 Reference pressure.

Constructor & Destructor Documentation

noiseFFT (  const scalar  deltat,
const scalarField &  pressure
) 
 

Construct from pressure field.

noiseFFT (  Istream &   ) 
 

Construct from Istream.

noiseFFT (  const fileName &  pFileName,
const label  skip = 0
) 
 

Construct from pressure field file name.


Member Function Documentation

tmp<scalarField> dbToPa (  const tmp< scalarField > &  db  )  const
 

Convert the db-field into Pa.

scalar dbToPa (  const scalar  db  )  const
 

Convert the db into Pa.

tmp<scalarField> Hanning (  const label  N  )  const
 

Return the Hanning window function.

graph Ldelta (  const graph &  gLf,
const scalar  f1,
const scalar  fU
)  const
 

Return the one-third-octave-band PFL spectrum.

starting at octave with mean frequency f1

graph Lf (  const graph &  gPf  )  const
 

Return the narrow-band PFL (pressure-fluctuation level) spectrum.

scalar Lsum (  const graph &  gLf  )  const
 

Return the total PFL as the sum of Lf over all frequencies.

graph meanPf (  const label  N,
const label  nw
)  const
 

Return the multi-window mean fft of the complete pressure data.

graph Pdelta (  const graph &  gLf,
const scalar  f1,
const scalar  fU
)  const
 

Return the one-third-octave-band pressure spectrum.

starting at octave with mean frequency f1

tmp<scalarField> Pf (  const tmp< scalarField > &  pn  )  const
 

Return the fft of the given pressure data.

graph pt (   )  const
 

Return the graph of p(t).

graph RMSmeanPf (  const label  N,
const label  nw
)  const
 

Return the multi-window RMS mean fft of the complete pressure data.

tmp<scalarField> window (  const label  N,
const label  n
)  const
 

Return the nth window.


Member Data Documentation

scalar p0 [static]
 

Reference pressure.

Definition at line 70 of file noiseFFT.H.


The documentation for this class was generated from the following file:
For further information go to www.openfoam.org