OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

noiseFFT Class Reference

Inheritance diagram for noiseFFT:

Inheritance graph
[legend]
Collaboration diagram for noiseFFT:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 57 of file noiseFFT.H.


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

static 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

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.

starting at octave with mean frequency f1

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

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.


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: Copyright © 2000-2007 OpenCFD Ltd