createFields.H
Go to the documentation of this file.
1  const word dictName("noiseDict");
2 
3  IOdictionary dict(systemDict(dictName, args, runTime));
4 
5  // reference pressure
6  scalar pRef = dict.lookupOrDefault("pRef", 0.0);
7 
8  // number of samples in sampling window
9  label N = dict.lookupOrDefault("N", 65536);
10 
11  // number of sampling windows
12  label nw = dict.lookupOrDefault("nw", 100);
13 
14  // lower frequency of frequency band
15  scalar f1 = dict.lookupOrDefault("f1", 25.0);
16 
17  // upper frequency of frequency band
18  scalar fU = dict.lookupOrDefault("fU", 10000.0);
19 
20  // graph format
21  word graphFormat = dict.lookupOrDefault<word>("graphFormat", "raw");
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Definition: label.H:59
engineTime & runTime
IOdictionary systemDict(const word &dictName, const argList &args, const objectRegistry &ob, const word &regionName=polyMesh::defaultRegion)
Definition: systemDict.C:92
IOdictionary dict(systemDict(dictName, args, runTime))
Foam::argList args(argc, argv)
const word dictName("noiseDict")