Home
Downloads
Documentation
Installation
User Guide
man-pages
API Documentation
README
Release Notes
Changes
License
Support
SourceForge Project
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
applications
utilities
postProcessing
graphics
ensightFoamReader
globalFoam.H
Go to the documentation of this file.
1
//======================================================================
2
// Global variables
3
const
int
maxNames
= 1000;
4
5
// define the name to be displayed in the window.
6
static
char
readerName
[] =
"OpenFOAM"
;
7
static
char
meshName
[] =
"cells"
;
8
static
char
readerVersion
[] =
"2.03"
;
9
10
// everything is one part in foam, except the spray
11
static
int
Num_unstructured_parts
= 1;
12
static
int
Num_structured_parts
= 0;
13
static
int
Numparts_available
= 1;
14
static
int
nPatches
= 0;
15
16
static
int
Num_timesets
= 1;
17
static
int
Geom_timeset_number
= 1;
18
static
int
Num_time_steps
= 1;
19
static
int
Num_global_nodes
= 0;
20
static
int
Num_variables
= 0;
21
static
int
Num_dataset_files
= 0;
22
static
int
Current_time_step
= 0;
23
24
static
label
nSprayVariables
= 0;
25
static
label
nMaxParcels
= 0;
26
27
static
bool
isScalar
[
maxNames
];
28
static
bool
isVector
[
maxNames
];
29
static
bool
isTensor
[
maxNames
];
30
static
bool
isSpray
[
maxNames
];
31
32
static
word
scalarName
=
"volScalarField"
;
33
static
word
vectorName
=
"volVectorField"
;
34
static
word
tensorName
=
"volTensorField"
;
35
static
word
sprayScalarFieldName
=
"scalarField"
;
36
static
word
sprayVectorFieldName
=
"vectorField"
;
37
static
word
sprayTensorFieldName
=
"tensorField"
;
38
static
word
parcelPrepend
=
"parcel_"
;
39
static
word
pointPrepend
=
"point_"
;
40
41
static
fileName
rootDir
;
42
static
fileName
caseDir
;
43
44
static
instantList
timeDirs
;
45
46
static
List<word>
fieldNames
;
47
static
List<word>
lagrangianScalarNames
;
48
static
List<word>
lagrangianVectorNames
;
49
static
label
var2field
[
maxNames
];
50
51
static
Time *
runTimePtr
= 0;
52
static
fvMesh *
meshPtr
= 0;
53
static
Cloud<passiveParticle> *
sprayPtr
= 0;
54
55
// ************************ vim: set sw=4 sts=4 et: ************************ //