File: globalFoam.H

package info (click to toggle)
openfoam 1812%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 220,284 kB
  • sloc: cpp: 1,038,902; sh: 14,536; ansic: 8,240; lex: 657; xml: 387; python: 300; awk: 212; makefile: 94; sed: 88; csh: 3
file content (53 lines) | stat: -rw-r--r-- 1,766 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//======================================================================
// Global variables
const int maxNames = 1000;

// define the name to be displayed in the window.
static char readerName[]           = "OpenFOAM";
static char meshName[]             = "cells";
static char readerVersion[]        = "2.03";

// everything is one part in OpenFOAM, except the spray
static int Num_unstructured_parts  = 1;
static int Num_structured_parts    = 0;
static int Numparts_available      = 1;
static int nPatches                = 0;

static int Num_timesets            = 1;
static int Geom_timeset_number     = 1;
static int Num_time_steps          = 1;
static int Num_global_nodes        = 0;
static int Num_variables           = 0;
static int Num_dataset_files       = 0;
static int Current_time_step       = 0;

static label nSprayVariables       = 0;
static label nMaxParcels           = 0;

static bool isScalar[maxNames];
static bool isVector[maxNames];
static bool isTensor[maxNames];
static bool isSpray[maxNames];

static word scalarName             = "volScalarField";
static word vectorName             = "volVectorField";
static word tensorName             = "volTensorField";
static word sprayScalarFieldName   = "scalarField";
static word sprayVectorFieldName   = "vectorField";
static word sprayTensorFieldName   = "tensorField";
static word parcelPrepend          = "parcel_";
static word pointPrepend           = "point_";

static fileName rootDir;
static fileName caseDir;

static instantList timeDirs;

static List<word> fieldNames;
static List<word> lagrangianScalarNames;
static List<word> lagrangianVectorNames;
static label var2field[maxNames];

static Time *runTimePtr = 0;
static fvMesh *meshPtr = 0;
static Cloud<passiveParticle> *sprayPtr = 0;