Go to the documentation of this file.
79 const word fNameBase(
data.fName().nameLessExt());
85 Info<<
" read " << t.size() <<
" values" <<
nl <<
endl;
89 Info<<
"No noise data generated" <<
endl;
104 const scalar deltaf = 1.0/(deltaT*win.
nSamples());
127 Info<<
" Creating graph for " <<
g.title() <<
endl;
147 Info<<
" Creating graph for " <<
g.title() <<
endl;
165 Info<<
" Creating graph for " <<
g.title() <<
endl;
183 Info<<
" Creating graph for " <<
g.title() <<
endl;
214 SPL(Prms13f, octave13FreqCentre)
217 Info<<
" Creating graph for " <<
g.title() <<
endl;
251 if (!fName.isAbsolute())
List< label > labelList
A List of labels.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
scalar checkUniformTimeStep(const scalarList ×) const
virtual bool read(const dictionary &dict)
Class to create, store and output qgraph files.
pointNoise(const dictionary &dict, const bool readFields=true)
A class for handling words, derived from Foam::string.
A class for handling file names.
Base class for noise models.
void resize(const label len)
static fileName envGlobalPath()
static word wordify(const string &sname)
List< fileName > inputFileNames_
tmp< scalarField > octaves(const scalarField &data, const scalarField &f, const labelUList &freqBandIDs) const
static bool master(const label communicator=worldComm)
defineTypeNameAndDebug(pointNoise, 0)
Ostream & endl(Ostream &os)
Generic templated field type.
autoPtr< windowModel > windowModelPtr_
DynamicList< T, SizeMin > & append(const T &val)
static void setOctaveBands(const scalarField &f, const scalar fLower, const scalar fUpper, const scalar octave, labelList &fBandIDs, scalarField &fCentre)
virtual bool read(const dictionary &dict)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
bool validateBounds(const scalarList &p) const
Macros for easy insertion into run-time selection tables.
const uniformDimensionedVectorField & g
static const Enum< weightingType > weightingTypeNames_
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const wordHashSet &selectedFields, LIFOStack< regIOobject * > &storedObjects)
tmp< scalarField > RMSmeanPf(const scalarField &p) const
tmp< scalarField > SPL(const scalarField &Prms2, const scalar f) const
Perform noise analysis on point-based pressure data.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
fileName baseFileDir(const label dataseti) const
string & expand(const bool allowEmpty=false)
tmp< scalarField > PSDf(const scalarField &p, const scalar deltaT) const
tmp< scalarField > uniformFrequencies(const scalar deltaT, const bool check) const
const volScalarField & p0
void processData(const label dataseti, const Function1Types::CSV< scalar > &data)
tmp< Foam::scalarField > PSD(const scalarField &PSDf) const
Base class for windowing models.
void filterTimeData(const scalarField &t0, const scalarField &p0, scalarField &t, scalarField &p) const
weightingType SPLweighting_
addToRunTimeSelectionTable(noiseModel, pointNoise, dictionary)
Database for solution data, solver performance and other reduced data.
static bool isAbsolute(const std::string &str)
dimensioned< Type > average(const DimensionedField< Type, GeoMesh > &df)