All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
noise.C File Reference

Utility to perform noise analysis of pressure data using the noiseFFT library. More...

Go to the source code of this file.

Detailed Description

Utility to perform noise analysis of pressure data using the noiseFFT library.

Original source file noise.C

Control settings are read from the $FOAM_CASE/system/noiseDict dictionary, or user-specified dictionary using the -dict option. Pressure data is read using a CSV reader:

Usage
pRef        101325;
N           65536;
nw          100;
f1          25;
fU          10000;
graphFormat raw;

pressureData
{
    fileName        "pressureData"
    nHeaderLine         1;          // number of header lines
    refColumn           0;          // reference column index
    componentColumns    (1);        // component column indices
    separator           " ";        // optional (defaults to ",")
    mergeSeparators     no;         // merge multiple separators
    outOfBounds         clamp;      // optional out-of-bounds handling
    interpolationScheme linear;     // optional interpolation scheme
}

where

Property Description Required Default value
pRef Reference pressure no 0
N Number of samples in sampling window no 65536
nw Number of sampling windows no 100
fl Lower frequency band no 25
fU Upper frequency band no 10000
graphFormat Output graph format no raw

Current graph outputs include:

See also
CSV.H noiseFFT.H

Definition in file noise.C.