OpenFOAM
9
The OpenFOAM Foundation
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"
);
Foam::label
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
runTime
engineTime & runTime
Definition:
createEngineTime.H:14
Foam::systemDict
IOdictionary systemDict(const word &dictName, const argList &args, const objectRegistry &ob, const word ®ionName=polyMesh::defaultRegion)
Definition:
systemDict.C:92
dict
IOdictionary dict(systemDict(dictName, args, runTime))
args
Foam::argList args(argc, argv)
dictName
const word dictName("noiseDict")
applications
utilities
postProcessing
noise
createFields.H
Generated by
1.8.13