OpenFOAM
v2312
The open source CFD toolbox
createControls.H
Go to the documentation of this file.
1
// Read particleTrackDict dictionary and extract values from it
2
3
const
word
dictName
(
"particleTrackDict"
);
4
5
#include "
setConstantMeshDictionaryIO.H
"
6
7
IOdictionary
propsDict
(
dictIO
);
8
9
const
word
cloudName
(
propsDict
.get<word>(
"cloud"
));
10
11
// Mandatory - if empty, select none
12
wordRes
acceptFields
(
propsDict
.get<wordRes>(
"fields"
));
13
14
// Optional
15
wordRes
excludeFields
;
16
propsDict
.readIfPresent(
"exclude"
,
excludeFields
);
17
18
19
// ************************************************************************* //
acceptFields
wordRes acceptFields
Definition:
createControls.H:20
propsDict
IOdictionary propsDict(dictIO)
excludeFields
wordRes excludeFields
Definition:
createControls.H:24
cloudName
const word cloudName(propsDict.get< word >("cloud"))
dictName
const word dictName("particleTrackProperties")
setConstantMeshDictionaryIO.H
dictIO
IOobject dictIO
Definition:
setConstantMeshDictionaryIO.H:1
applications
utilities
postProcessing
lagrangian
steadyParticleTracks
createControls.H
Generated by
1.8.14