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 OpenFOAM, 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 
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 
45 
46 static List<word> fieldNames;
47 static List<word> lagrangianScalarNames;
48 static List<word> lagrangianVectorNames;
50 
51 static Time *runTimePtr = 0;
52 static fvMesh *meshPtr = 0;
53 static Cloud<passiveParticle> *sprayPtr = 0;
List< instant > instantList
List of instants.
Definition: instantList.H:42
static int Num_variables
Definition: globalFoam.H:20
FvWallInfoData< WallInfo, label > label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
static word sprayScalarFieldName
Definition: globalFoam.H:35
static int Num_dataset_files
Definition: globalFoam.H:21
static bool isSpray[maxNames]
Definition: globalFoam.H:30
const int maxNames
Definition: globalFoam.H:3
static fvMesh * meshPtr
Definition: globalFoam.H:52
static char readerVersion[]
Definition: globalFoam.H:8
static Cloud< passiveParticle > * sprayPtr
Definition: globalFoam.H:53
static int Num_global_nodes
Definition: globalFoam.H:19
static char readerName[]
Definition: globalFoam.H:6
static List< word > lagrangianScalarNames
Definition: globalFoam.H:47
static int Current_time_step
Definition: globalFoam.H:22
static word sprayVectorFieldName
Definition: globalFoam.H:36
static int Numparts_available
Definition: globalFoam.H:13
static fileName rootDir
Definition: globalFoam.H:41
static bool isVector[maxNames]
Definition: globalFoam.H:28
static List< word > fieldNames
Definition: globalFoam.H:46
static int Num_time_steps
Definition: globalFoam.H:18
static label nMaxParcels
Definition: globalFoam.H:25
static int nPatches
Definition: globalFoam.H:14
static word scalarName
Definition: globalFoam.H:32
static char meshName[]
Definition: globalFoam.H:7
static word tensorName
Definition: globalFoam.H:34
static instantList timeDirs
Definition: globalFoam.H:44
static label nSprayVariables
Definition: globalFoam.H:24
static Time * runTimePtr
Definition: globalFoam.H:51
static int Geom_timeset_number
Definition: globalFoam.H:17
static int Num_unstructured_parts
Definition: globalFoam.H:11
static word parcelPrepend
Definition: globalFoam.H:38
static List< word > lagrangianVectorNames
Definition: globalFoam.H:48
static bool isTensor[maxNames]
Definition: globalFoam.H:29
static fileName caseDir
Definition: globalFoam.H:42
static int Num_structured_parts
Definition: globalFoam.H:12
static int Num_timesets
Definition: globalFoam.H:16
static word sprayTensorFieldName
Definition: globalFoam.H:37
static word pointPrepend
Definition: globalFoam.H:39
static word vectorName
Definition: globalFoam.H:33
static label var2field[maxNames]
Definition: globalFoam.H:49
static bool isScalar[maxNames]
Definition: globalFoam.H:27